Search code examples
node.jsamazon-web-servicessails.jsamazon-dynamodbamazon-dynamodb-dax

How can I use AWS DAX in my node.js app


I've a sails.js app where I've used mongodb as persistent layer and redis as cache.

However I want to move to AWS DAX so that I can hold large dataset in cache and also I want to use dynamodb as mongodb replacement.

sails.js has a waterline adapter for dynamodb But I am not sure how I can use AWS DAX on my app.

I've found one example with java in aws dynamodb docs But not sure how can I use on my node.js app.

Thanks in adavance for any kind of help.


Solution

  • DAX has just released a Node.js client. Check the documentation for how to get started.