System design01
Designing a system for one million requests per second
A practical guide to 1 million requests per second: capacity math, caching, load balancing, database sharding, backpressure, and realistic load testing.
9 min readRead article
THE ENGINEERING NOTEBOOK
Practical notes on the decisions behind reliable software. From database boundaries to the browser.
A practical guide to 1 million requests per second: capacity math, caching, load balancing, database sharding, backpressure, and realistic load testing.
Design reliable Node.js and Redis jobs with explicit states, idempotent side effects, bounded retries, and a transactional outbox.
A practical approach to tenant-safe PostgreSQL: scoped keys, row-level security, transaction-local context, and cross-tenant tests.
Keep content in Server Components, isolate interactive code, and give every Next.js page consistent metadata, canonical URLs, and crawlable HTML.