DynamoDB + Elasticsearch: is that a good architecture pattern?

While playing with AWS Amplify, I was looking for the most appropriate architecture pattern, which would allow me to have the following:

  1. scalable and reliable DB to handle CRUD operations (DynamoDB rocks here)
  2. complex querying and filtering, where data access patterns are not strictly defined or unknown (Elasticsearch wins here)

So obviously I am hooked by the idea of streaming DynamoDB data to Elasticsearch for ALL queries and keeping DynamoDB with read/write operations only.

What are the pros and cons of this architecture?

(posted on Reddit: www.reddit.com/r/aws/comments/cq48vb/data_querying_searching_and_filtering_dynamodb/
stackoverflow: stackoverflow.com/questions/57493773/data-querying-searching-and-filtering-dynamodb-elasticsearch)

Read more here: Source link