|
|
|
|
|
by blantonl
1439 days ago
|
|
I'll give you two use cases that I use for DynamoDB, where otherwise I'm primarily a MySQL shop 1) Simple: I have a system that constantly records and stores 30 minute MP3 files of audio streams (1000's of them) in S3. We write the referencing metadata to a table in DynamoDB where users can query by date/time. Given the sheer amount of items (hundreds of millions), we saw far worse performance vs. cost on MySQL vs Dynamo. 2) Complex: I have a system that ingests thousands of tiny MP3 files a minute into S3 and writes the associated metadata to DynamoDB. DynamoDB then has a stream associated with it that runs a lambda to consolidate statistics to another table and stream that metadata to clients via other lambdas or data streams. Those are two great use cases where we saw better usage patterns with Dynamo vs MySQL. |
|