For my App which is a best DB choice ? Aurora or RDS or Dynamo DB ?

0

Hi Friends,

I have a stock broking customer. He has a database. I need to pull data out of that and put in my solution and build reports.

The design I am thinking is :

  1. The customer posts the data to SQS.
  2. I deploy a Lambda which process the SQS and stores the data in AWS database.

Why I need SQS is reduce the post call latency. He will post some 10K records one after the other and it should not be blocking for him.

Now which DB is best for my use case ? Is it Aurora or RDS or Dynamo DB ? What are the differences ? Kindly share your insights.

Thanks, Sooraj Sairam Aanand

  • Wise decision to use SQS to alleviate write pressure regardless of the data store. However, we need to determine how the data store, you're writing to, is being read or used. That might better factor into your decision on what data store to use.

2 Answers
1

Expanding the answer a little bit more:

It could be also depending on what is the data and how it could be used / retrieved. For example:

  • AuroraDB: Using relational Databases, could be a great option if your access pattern involve more than 1 table, also can be serverless
  • DynamoDB: accessing data by Key-Value, not enforcing schema, and using DAX (DynamoDB Accelerator) could be a very fast solution for microsecond latency, also in a serverless fashion for scalable needs.
  • DocumentDB: Its MongoDB compatible and could have a lot of functionality from that, also schemaless but needs to be provisioned, Single digit millisecond latency.

Both Purpose Built Databases, in a fully managed perspective, has their own advantages, managing a variety of use cases normally from system of interactions (User profiles, Sessions, Sensors etc. etc.) to system of records

Being a Stock Broker application and knowing more on the data that is inside maybe we can choose from other few options:

  • Timestream: Collect data with in a time series for example for stock prices comparison over the time, when more Analytics could be needed, this could be also more easy to create reports on AWS Quicksight

Maybe knowing more about the use case and the type of data could help to choose the right tool for the right job.

Best regards!

AWS
answered a year ago
profile picture
EXPERT
reviewed 3 months ago
0
  1. Aurora is serverless database which supports relational db schemas. It is 3 times faster than Postgrel sql and 5 times faster than Mysql.
  2. RDS also supports relational db schemas but here we need to scales our db in our own way.
  3. Dynamodb will be good for a large dataset which supports no sql data structure. But in dynamodb we have to keep in mind that, if we have any feature that need more searchable thing then it is not easy in dynamodb. And also in case of sorting data in a particular way, we have to make our access pattern.
profile picture
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions