Blogs
(7 articles)Thoughts on software development, technology, and building things that matter.
Distributed Systems3System Design3Backend2PostgreSQL2Apache Pinot1AWS Architecture1CDN1Fault Isolation1FinTech1Kubernetes1MLOps1Netflix1Networking1Platform1Real-Time Analytics1Reliability1
- 4 min read
Your '100 requests per second' rate limiter probably allows 200
Fixed-window counters are the default rate limiter in most codebases, and they let through double the configured rate at every window boundary. Here is why, and what to use instead.
System DesignBackendReliabilityRead Article - 5 min read
SELECT FOR UPDATE SKIP LOCKED is a queue, until it isn't
Postgres makes a decent job queue for longer than most people expect. Here is what actually breaks first, and the specific throughput at which it stops being the right answer.
PostgreSQLBackendSystem DesignRead Article