SHSaumil Hukerikarinbit-by-bit.hashnode.dev·Feb 17, 2025 · 4 min readHow to Design a Rate Limiter: Token Bucket vs. Leaky Bucket ExplainedIntroduction A rate limiter is a mechanism that is used to control the number of requests an entity (user, API client, service) can make within a specific timeframe. Rate limiters have two primary responsibilities: Protect servers against excessive ...00
SHSaumil Hukerikarinbit-by-bit.hashnode.dev·Feb 16, 2025 · 4 min readCaching Basics: Discover Redis, Memcached, and Alternative SolutionsWhat is Caching? In simple terms, Caching is a technique used to store frequently accessed data in a temporary storage location for quick retrieval. By reducing the time needed to fetch data from the original source (e.g., databases, APIs), caching i...00
SHSaumil Hukerikarinbit-by-bit.hashnode.dev·Feb 8, 2025 · 6 min readHow to use Design Patterns in PythonIn this article, we will deep dive into the most common design patterns used in software development with appropriate code skeletons using Python. Introduction Design patterns are reusable solutions to common challenges in software design. They serve...00
SHSaumil Hukerikarinbit-by-bit.hashnode.dev·Feb 1, 2025 · 6 min readHow to architect Distributed SystemsIntroduction Distributed systems are the foundation of most modern applications, powering everything from cloud computing platforms to global-scale web services. Designing an efficient distributed system requires thoughtful planning, adherence to bes...00