architecture Designing a Rate Limiter That Survives a Flash Sale: Token Bucket vs Sliding Window josedacruz, August 13, 2026August 13, 2026 TL;DR: A simple “count requests per minute” rate limiter looks fine in testing but can let through double the traffic right at the boundary between two time windows — exactly when a flash sale or a bot swarm is most likely to hit you. Token bucket and sliding window algorithms… Continue Reading