Rate Limiting Algorithms, Ranked
Token bucket vs leaky bucket vs sliding window — when each wins.
Amit Kumar Singh1 min read
~/trending
The most popular reads right now.
Token bucket vs leaky bucket vs sliding window — when each wins.
Measuring caching effectiveness past the vanity number.
B-tree, GIN, BRIN, partial — picking the right index for the query.
Timeouts, jitter, and budgets that keep retries from making things worse.
Liveness vs readiness vs startup — and the outages from getting them wrong.
Getting useful semantic search without a dedicated vector DB.
Reliably publishing events alongside your database writes.
The pool-sizing math everyone gets wrong the first time.
Cache-Control, ETag, and stale-while-revalidate in plain terms.
Blue-green and rolling deploys without a platform team.
A working mental model for what embeddings actually encode.