Partition
One slice of a stream or table. Data is split across partitions by a key, and each partition has its own limit.
See it in action
These lessons put partition to work. Read one, then play it and watch what happens without it.
- Stop managing shards: A flash sale: 30,000 req/s, and 60% are cart updates. That's 18,000 writes/s. Every cart belongs to one user and is…
- One event, many readers: 10,000 req/s and 25% are new orders. Each order must be saved, emailed to the customer and added to analytics. Three…
- Chat app: 6 million online: Your chat app has 6 million people online at the peak, sending 6,000 req/s. 12% are new messages, 720 a second, and a…
- Game leaderboard: 2 million players: A mobile game has 2 million players online. They send 20,000 req/s, and half are score updates. A famous streamer just…
- Pick the right key: Orders are stored in a NoSQL DB split by country, and 30% of orders come from one country. 12,000 req/s arrive, and…