Zerodha
- Deep dive
- Databases & storage
- Performance
- Scaling databases & storage
Scaling with common sense
Answers Do you really need a distributed database?
Zerodha’s CTO argues that scaling is a set of practices unique to each organisation, not a recipe. He explains why a well-partitioned Postgres node can hold hundreds of billions of records, how Kite serves every screen…
- The problem
- Zerodha had to serve millions of traders through market hours without overbuilding.
- What they did
- Partitioned Postgres with replicas, a hot Redis cache filled by separate services, and HTTP caching with E-Tags.
- The result
- Kite serves every screen from memory, with a few hundred GB of data for millions of users.
Why read it A stockbroker serving millions with plain Postgres and Redis, and a strong case for boring technology.