#system-design
in blog posts
7 Caching Patterns Every Backend Engineer Should Know (and Where They Break in Production)
Caching is one of the fastest ways to cut latency and take pressure off a database, yet it is also one of the easiest places to introduce subtle production bugs. Choosing how data enters, updates, and leaves your cache matters just as much as choosing Redis or an in-memory store.
5 Rate Limiting Algorithms Explained: From Fixed Window to Sliding Window Counter
Rate limiting is one of those backend building blocks that looks trivial on a whiteboard—until traffic spikes, clients retry in lockstep, or a distributed cluster starts double-counting. Every algorithm trades off accuracy, memory, burst handling, and implementation complexity.