Posts about architecture
2 posts
-
Circuit breakers: failing fast when a dependency is down
When a downstream service is struggling, waiting on it makes things worse. A circuit breaker stops calling it for a while so both sides can recover.
-
Rate limiting APIs with the token bucket algorithm
How the token bucket works, why it handles bursts better than a fixed window, and what to think about when you run it across several servers.