Distributed transactions at Scale in Amazon DynamoDB

Click for: original source

It is great to see DynamoDB, and AWS in general, is publishing/sharing more widely than before. A killer feature of DynamoDB is predictability at any scale. Aligned with this predictability tenet, when adding transactions to DynamoDB, the first and primary constraint was to preserve the predictable high performance of single-key reads/writes at any scale. By Murat Demirbas.

A uniform key distribution and an item size of 900 bytes were used in these tests. Workloads were scaled from 100 thousand to 1 million operations per second. The experiments don’t have y-axis measurements to not divulge too much information …

Comparison of TransactWriteITems latencies for varying throughput, Source: http://muratbuffalo.blogspot.com/2023/08/distributed-transactions-at-scale-in.html")

Source: http://muratbuffalo.blogspot.com/2023/08/distributed-transactions-at-scale-in.html

The article then explains and review the API and then learn about how the transactions are implemented in DynamoDB. Finally we will discuss some experiment results:

  • Architecture and API
  • Write transaction execution
  • Read-only transaction execution
  • Experiments

DynamoDB is ticking along (pun!) as always with predictable and high-performance at any scale. Recent prime day stats shows that DynamoDB served at peak 126 million requests per second with single digit millisecond latency and high availability. Excellent read!

[Read More]

Tags aws distributed apis app-development cloud nodejs