forked from deepjavalibrary/djl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creates S3 Cache Engine (deepjavalibrary#719)
* S3 Cache Engine This creates the S3 Cache engine. It is put into the same cache plugin by expanding the DDB plugin to handle it as well. Alongside this, there is some work done to synchronize the efforts on cache engines. A new BaseCacheEngine class is created to contain some common logic between the cache engines. The former tests for the DDB cache engine were generalized a bit and turned into a suite that can be and is run for all of the three supported cache engines. This ensures (and fixes) some inconsistencies in behavior among the cache engines. Also important is that it adds a new test dependency on localstack (https://localstack.cloud/). This runs a local AWS clone inside a docker container and is used to verify the running of the S3 cache. * Fix typo and add skip for failure to start localstack
- Loading branch information
Showing
15 changed files
with
771 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# DJL Serving - DynamoDB Paginator Plugin | ||
# DJL Serving - Cache Paginator Plugin | ||
|
||
Allows the model server to use DynamoDB Cache engine. | ||
Allows the model server to use additional cache engine types: | ||
|
||
- DynamoDB Cache | ||
- S3 Cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.