5 Replies Latest reply on Nov 2, 2017 12:57 PM by ryanemerson

    New DynamoDB cache store for Infinspan

    vdzhuvinov

      We would like to contribute a new cache store implementation for persisting Infinispan data to AWS DynamoDB.

       

      The project repo:

       

      DynamoDB Cache Store — Bitbucket

       

      Complete JavaDocs:

       

      http://www.javadoc.io/doc/com.nimbusds/infinispan-cachestore-dynamodb/

       

      An interface is provided for storing the entries in structured form, so they can be queried by other AWS services, such as Lambda.

       

      For now the DynamoDB cache store is based on Infinispan 8.2. Later on we'll add support for the batch operations made possible in Infinispan 9.1.

        • 1. Re: New DynamoDB cache store for Infinspan
          ryanemerson

          Hi Vladimir, thank you for your contribution. Would you be willing to migrate the store's source to github.com/infinispan/infinispan-cachestore-dynamodb ?

          • 2. Re: New DynamoDB cache store for Infinspan
            vdzhuvinov

            Sure. How are we going to do that?

            • 3. Re: New DynamoDB cache store for Infinspan
              ryanemerson

              I can clone the git repository on my local machine and push to a newly create github repo. Before pushing I will make changes to the groupId and the package structure so that it is "org.infinispan", as well as resetting the version number so that it's inline with the rest of Infinispan development (e.g 9.2.0-SNAPSHOT). Once we've tested these changes and made sure that the store is compatible with the latest Infinispan changes, we can perform the first release under "org.infinispan".

               

              When we have the repo in place I will grant you the appropriate permissions so that you have the ability to review/merge PRs etc. Assuming the above is acceptable to you, I will aim to create the repo etc in the next few weeks and we can aim for the first release to be 9.2.0.Final along with the main Infinispan release.

              • 4. Re: New DynamoDB cache store for Infinspan
                vdzhuvinov

                Hi Ryan,


                This plan looks good.

                 

                One question: the DynamoDB store has a dependency on io.dropwizard.metrics:metrics-core:3.1.2 to report metrics. Is this acceptable if the cache store is to become an org.infinispan project? Any other requirements?

                 

                PS: I'm going on a holiday for 2 weeks.

                • 5. Re: New DynamoDB cache store for Infinspan
                  ryanemerson

                  That dependency should be fine as it's released under the Apache Software License 2.0, but when I start migrating the code I will double check all of the dependencies. Enjoy your holiday