Question

ReactiveMongo exists to allow us to be 'reactive' with Mongo. Does such a library exist for connecting to AWS DynamoDB in a reactive, non-blocking fashion. Thanks in advance.

Was it helpful?

Solution 2

You can use AmazonDynamoDBAsyncClient from the AWS Java SDK as a non-blocking client.

OTHER TIPS

As per AWS docs, there is no fully non-blocking, reactive SDK for Dynamo. The mentioned "AmazonDynamoDBAsyncClient" doesn't block the caller thread(The thread which has triggered as dynamodb request) but there is still a thread internally being used and blocked. It is just a helper utility for developers but it would not save from thread hell.

Ref: AWS blog

But do check "https://github.com/piotrga/async-dynamo" which is built on Akka framework which has asyncIO support from groundup. But I didnt personally try this

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top