Home icon

Megabytes in milliseconds: How FireTV uses parallel queries and vertical partitioning to serve millions of customers in Amazon DynamoDB

Database Blog



This article describes how FireTV redesigned their DynamoDB data model for Continue Watching using vertical partitioning and hash-prefixed sort keys to overcome item size constraints and improve performance.

  • Original single-item design approached 400 KB limit; doubling data would exceed it for many customers
  • Large items caused throttling and high write costs (50 WCUs per update)
  • Vertical partitioning breaks large items into smaller items, reducing write costs to 1 WCU per update
  • Hash-prefixed sort keys enable parallel segmented queries to avoid 1 MB page limit pagination
  • Parallel queries return in single round trip per segment, totaling 8 ms average read latency
  • Segment count tunable via client-side configuration without schema migration
  • Tradeoff: loses efficient fine-grained access patterns; requires GSI for per-provider queries
  • Validation used parallel table writes, backfill, shadow reads, and EMR comparison of billions of records

The design eliminates size constraints, scales to tens of thousands of entries per profile, and maintains consistent low-latency reads regardless of profile size.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Sep 10
2026
Building resilient real-time streaming workers with Amazon DynamoDB leases
Sep 10
2026
Accelerating Spark queries with Iceberg materialized views
Aug 24
2026
Amazon Redshift now supports concurrency scaling of streaming ingestion workloads from Amazon Kinesis data streams
Aug 5
2026
Amazon DynamoDB now supports real-time vector search at any scale

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.