Distributed Rate Limiting: Algorithms, Topologies & Redis Lua Scripts
A deep dive into rate limiting in distributed architectures: Token Bucket, Leaky Bucket, Sliding Window Counter, and atomic Redis Lua scripts to eliminate race conditions.
Practical, in-depth breakdowns of distributed systems, database internals, low-level design patterns, operating systems, and high-performance algorithms.
A deep dive into rate limiting in distributed architectures: Token Bucket, Leaky Bucket, Sliding Window Counter, and atomic Redis Lua scripts to eliminate race conditions.
Solving Constructor Hell
This is probably the first pattern you'll encounter in real-world systems without realizing it. Before learning the observer pattern, let's first…
While learning strategy pattern one question should have come to your mind: Who is responsible for creating this strategy object? Because if there are a…
Replacing If-Else with better design
Till now we have learned the following principles that need to be followed to make code flexible and maintainable: Low Coupling (less dependent) and High…
This naturally follows Composition Over Inheritance because composition becomes truly powerful when we depend on interfaces instead of concrete classes…
Building flexible. maintainable and reusable systems
A good design generally aims for low coupling and high cohesion.
How i started learning low level design and gradually i became a better engineer
Understanding Different Levels of Caching in System Architecture
The story of migrating my blog to Next.js App Router, adding full MDX support, and combining Hashnode articles into a single unified platform.
How to systematically decompose, design, and defend complex distributed system architectures from functional requirements to capacity planning, partitioning, and fault tolerance.
A deep dive into transaction isolation levels, concurrency anomalies (dirty reads, non-repeatable reads, phantom reads, write skew), and how PostgreSQL and MySQL implement them.
I encountered the next challenge in the CSES problem set: Salary Queries, a problem rich with concepts and learning opportunities.
When moving from a normal segment tree to a lazy segment tree, the main goal is to support efficient range updates. In a standard segment tree, updating a…
This article covers about the basics of segment tree
Comprehensive analysis of caching strategies (Cache-Aside, Write-Through, Write-Behind), eviction policies, multi-tier architectures, and mitigating cache stampede with probabilistic early expiration.
Mastering interval queries and range modifications in O(log N) using delayed push-down evaluation in Segment Trees for competitive programming.
Caching is a process of storing frequently accessed data in temporary storage for faster retrieval of data. You might have faced a website taking a longer…
An architectural exploration of React Fiber, hook linked lists, closure traps, and why order matters in React's internal reconciler.
Navigating the Database Maze: Choosing Between Relational and NoSQL Databases
Mastering Database Scaling: A Practical Guide to Partitioning and Sharding
Scaling Databases: Mastering Vertical and Horizontal Techniques for Growth
This article explains the isolation property of ACID properties by demonstrating each isolation level practically.
Mastering Databases: The Backbone of System Design
In this article, we will learn about the steps to approach a system design problem, and how to understand if the system is designed well or not.
Crafting the Blueprint: An Introduction to System Design
Mastering MySQL: A Step-by-Step Installation and Operations Guide
Before the introduction of promises in JavaScript, handling asynchronous operations was a cumbersome and error-prone process. Developers relied heavily on…
A deep dive into the basics of blockchain, covering all the doubts that come to mind
Learn how to create beautiful, interactive blog posts using MDX with our custom component library.
This article covers types of computer networks based on the geographical scale and explains the network nodes and network topologies
This article gives an introduction to computer networks and explains why it was developed and the basic concepts of computer networks
In this article we will learn about basic concepts of distributed system
In this article we will get to know about the goals and evolution of operating systems and how they emphasized the goals.
In this article we will learn about importance of operating sytem and it's definition.
In this blog, you will learn about custom hooks in best and easiest way.
This article explains useCallback, useMemo, useRef and useLayoutEffect hooks in detail.
This article explains why hooks are used, what are react hooks and how to use them to make life better?
This article explains why hooks are used, what are react hooks and how to use them to make life better?
A Step-by-Step Guide to Setting Up and Using SSH Keys
Why React is very fast and efficient instead to other frameworks or vanilla javascript?
Learn how to use ternary operator, logical and operator, map in react
Javascript Important concepts needed for react.
This blog gives you basic knowledge about JSX, Components and props.
This blog teaches you how to start creating react apps.