Database Sharding in System Design Interviews: Choosing a Shard Key, Avoiding Hotspots, and the Follow-ups Interviewers AskWhen to shard (and when not to), hash vs range vs directory sharding, celebrity hotspots, cross-shard queries, resharding without downtime, plus five follow-up questions with crisp answers8 min read·devinterviewmasterhq.hashnode.devNov 4
Message Queues in System Design Interviews: Kafka vs RabbitMQ vs SQS, Delivery Guarantees, and the Follow-ups Interviewers AskWhen to add a queue, at-least-once with idempotent consumers, ordering and partitions, backpressure and DLQs, plus five follow-up questions with crisp answers12 min read·devinterviewmasterhq.hashnode.devNov 4
Caching in System Design Interviews: Cache-Aside vs Write-Through vs Write-Back, and the Invalidation Questions Interviewers AskWhen to cache, three write strategies compared, eviction, stampedes and stale data, plus five follow-up questions with crisp answers9 min read·devinterviewmasterhq.hashnode.dev2BNov 3
Designing a Rate Limiter for SDE-2 Interviews: Token Bucket vs Sliding Window, With the Trade-offs Spelled OutFour algorithms, where the counter lives, what happens when Redis is slow, and how to talk through it all in 35 minutes10 min read·devinterviewmasterhq.hashnode.devOct 31
How to Estimate in a System Design Interview: Back-of-the-Envelope Math That Actually HelpsFive numbers to memorise, a four-step method and a worked example, so estimation drives your design instead of eating your time8 min read·devinterviewmasterhq.hashnode.devOct 29