DynamoDB
DynamoDB is a fully managed NoSQL database service created and maintained by Amazon Web Services. It distinguishes itself from alternatives like MongoDB or Cassandra by offering serverless operation with automatic scaling, single-digit millisecond latency at any scale, and a pay-per-request pricing model. Real use cases include high-traffic workloads at companies like Netflix for session storage, Airbnb for booking data, and Snapchat for message metadata, often following the single-table design pattern. A concrete technical detail is its use of partition keys and sort keys for data organization, with a maximum item size of 400 KB and support for ACID transactions via the TransactWriteItems API.
Use DynamoDB when you need predictable low-latency performance for high-throughput applications, such as real-time gaming leaderboards or IoT sensor data ingestion, where its seamless scaling and managed infrastructure reduce operational overhead. It is not the right pick for complex relational queries, ad-hoc analytics, or applications requiring frequent schema changes, as its query patterns are limited to primary and secondary indexes. The vendor acknowledges a weakness in its lack of native aggregation functions, requiring additional processing layers for analytics, and its eventual consistency model can complicate strong consistency needs without careful design.