Live architecture
How PulseRooms Scales
Pulled live from Amazon DynamoDB. Write sharding prevents hot partitions; Global Tables push data closer to every player on earth.
us-east-1
Region
Global Tables enabled
On-Demand
Billing Mode
No capacity planning
Enabled
DynamoDB Streams
NEW_AND_OLD_IMAGES
3 replicas
Global Tables
us-east-1, eu-west-1, ap-northeast-1
Global Secondary Indexes
Season-level aggregated rankings sorted by cumulative score
Write-sharded room leaderboard — fan-out writes across shards, scatter-gather for reads
Write-Shard Distribution
LIVE · 157 playersWrites distributed across 10 shards via SHARD#live-1#hash(playerId) % 10. A scatter-gather query reads all 10 shards and merges the top-K.
Load-Test Proof — in-region Lambda fleet
Retries off so throttles surface. Single partition vs 10 shards, measured on real DynamoDB.
1,262 ms
Single-partition p99
Hot partition, matched load
154 ms
Sharded p99
10-shard scatter-gather
47,115
Throttles (single, sustained)
Sharded: 0