문제

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.

도움이 되었습니까?

해결책 2

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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top