System Design : Consistent Hashing
Why do we need Consistent Hashing ? Imagine you are building a bookMyShow system which is used to book tickets. Initially what would be your system? All user requests (search, booking, payments) go

Search for a command to run...
Articles tagged with #chaicode
Why do we need Consistent Hashing ? Imagine you are building a bookMyShow system which is used to book tickets. Initially what would be your system? All user requests (search, booking, payments) go

Suppose you are watching a cricket match IND vs AUS, World Cup Final 2023 :( . While checking the live score, you expect updates to appear in the correct sequence. For example: After 2 overs → IND 10

What is a Queue? A queue is a fundamental concept in software engineering used to manage tasks or messages that need to be processed in a specific order (FIFO). It provides a mechanism for decoupling

For any fast-growing system, one of the major problems it needs to solve is scaling. The system must be capable of handling lots of concurrent users. A crash is not an option. That can lead to major e

Why traffic spikes crash systems and how modern architectures prevent it

In this article, I will share my learnings from completing DOM challenges. This will help you understand how the DOM works and introduce you to commonly used methods and event listeners for DOM manipulation. Let’s get started! What is DOM ? The DOM (...
