Year: 2025
-
Consistent Hashing in Load Balancer
The standard hashing algorithm is inefficient while processing network queries. This traditional technique presupposes that we have a set number of servers and that all mapping locations are known in advance. This scenario is particularly troublesome in distributed systems when several users request multiple servers. If some servers fail, then mapping the work to new…
-
Python Generators – The Lazy Workers of Python
When you first learn Python, you’re introduced to functions and loops. As you go deeper, you meet one of Python’s coolest features, Generators. But what is a generator? Why do developers say it’s memory efficient or lazy? In this blog, we are going to see where and how these generators are going to help us.…
-
Git Reset – A tool to correct your (commited) mistakes.
Terminologies The index is not the working directory, you can type a command such as git status, and git will tell you what files in your working directory have been added to the git index (for example, by using the git add filename command). In simple words, git reset is to correct your mistakes. Consider…
-
Let’s Build a Bank Account Simulation
Problem Statement 🧩 Overview Build a bank system to create and manage user accounts, simulate deposits, withdrawals, interest accrual, and overdraft penalties. 🎯 Goals 🏗️ Suggested Classes 📦 Features 🔧 OOP Concepts 🔌 Optional Extensions
-
Let’s Build a Library Management System With OOPS
Problem Statement 🧩 Overview Design a command-line-based Library Management System that simulates the basic operations of a library for both users and administrators. It should manage books, user accounts, borrowing/returning of books, and enforce library rules like book limits per member. 🎯 Goals 👤 Actors 🏗️ Suggested Classes 📦 Features 🔧 OOP Concepts 🔌 Optional…