Kafka: Replications and ISRIn Apache Kafka, the replication factor refers to the number of copies (replicas) of a topic partition that are maintained across the Kafka cluster. ISR stands for In-Sync Replicas. It is the set of all replicas (including the leader replica) that ar...Dec 4, 2024·2 min read
Event Bubbling in JavaScriptEvent Bubbling is a concept of event propagation in the DOM. when an event occurs inside an HTML element. it gets propagated or bubbles up to its parent and ancestor element in the DOM tree until it gets to the root element. Now let's see this behav...Jul 31, 2023·2 min read
Distributed Lock in MicroServicesDistributed locking is a technique to manage many applications or instances of applications that try to access the same resource. The primary purpose is to allow only one of many applications to access the same resource simultaneously. The Problem In...Jul 29, 2023·3 min read
Named Parameters in JavaScriptWhat is Named Parameters Named means that when you call a function, you attach the argument to a label. Named arguments enable you to specify an argument for a parameter by matching the argument with its name rather than with its position in the para...Jul 23, 2023·2 min read
MineSweeper in React.js using BFSIntroduction Have you ever heard of minesweeper? It is a little classic game that debuted back in 1990 as part of Windows Entertainment. The rules are simple. There is an N X N board in which some of the squares have bombs you have to find all Square...Mar 4, 2023·3 min read