gaurav.ece.nitw@gmail.com

What Is Throughput?

A plain-language, complete guide to throughput: what it really is, a short history of the idea from factories to fibre-optic cables to Kanban boards, how throughput is measured in networking, how it differs from bandwidth and from latency, what affects it, how it shows up in project management, how it compares to velocity, where it appears across everyday systems, real-world examples from streaming, payments and Kanban, why measuring it matters, honest trade-offs and risks, throughput in the cloud, the cost-and-performance picture, the bottleneck problem and the theory of constraints, choosing the right metric, a worked Harborline example, common pitfalls, best practices, an FAQ, and key takeaways.

Read More

What Is Latency?

A plain-language, complete guide to latency: what it really means, a short history of the idea, how latency is measured (with percentiles), how it differs from throughput and bandwidth, the four causes (propagation, transmission, processing, queuing), latency across connection types (fibre, Wi-Fi, mobile, copper, satellite), the different kinds of latency inside a system, why it matters, how human perception shapes what “fast” feels like, warning signs, real-world examples in gaming, video, trading, and browsing, engineering techniques to reduce it, honest trade-offs, best practices, common myths, an FAQ, a glossary, a “day in the life of a single tap” walkthrough, and key takeaways.

Read More

Latency vs. Throughput: What’s the Difference?

A plain-language, complete guide to the difference between latency and throughput: what each one really is, a short history of the distinction, how each is measured, what shapes them, how they interact, the surprising math of utilization and the cliff edge queueing theory predicts, the TCP vs UDP trade-off, where the trade-off shows up in real applications and real companies, why chasing only one is risky, latency and throughput in the cloud, the reliability connection, how to choose what to optimize for, a worked Chatterbox example, common pitfalls, best practices, an FAQ, and key takeaways.

Read More

The Interviewer Just Said “Now Make It Handle 100x More” — Now What?

A plain-language walkthrough of the classic system-design interview moment. Covers: the big idea, why interviewers love the 100x question, what 100x really means in numbers, the four flavours of growth (more users, more requests, more data, wider geography), the mindset shift from correctness to survival, a reusable five-move loop, and eight concrete steps — getting real numbers, finding the weakest link, scaling servers, scaling the database, adding queues and async work, using CDNs, designing for failure, and observability — plus SQL vs NoSQL, cost, a worked photo-sharing example, real company stories, common candidate mistakes, a ready-to-use checklist, a glossary, and takeaways.

Read More

What Is Capacity Planning in System Design?

A plain-language guide to capacity planning in system design: what it really is, why it matters, the different flavours of growth, the core ingredients (traffic, data, bandwidth), how to estimate traffic and peak load, storage and bandwidth, how to turn numbers into a server count, planning component by component, planning by system type, the three strategies (lag / match / lead), strategic / tactical / operational levels, elasticity and the cloud, the capacity planning cycle, metrics that matter, tools of the trade, a worked big-sale example, common pitfalls, capacity planning vs related ideas, the human side, a best-practices checklist, and a glossary.

Read More

What Is a Load Balancer?

A plain-language guide to load balancers: what they really are, why they matter, how they work step by step, the two families of algorithms (static and dynamic) with every common variant, different kinds of traffic to balance, Layer 4 vs Layer 7, types by scope, hardware vs software, health checks and failover, sticky sessions, where load balancers live in a real system, a worked online-store example, real-world use cases, load balancing in modern microservices, a short history, cost considerations with honest pros and cons, common pitfalls, load balancer vs related ideas (reverse proxy, API gateway, CDN), how to choose the right approach, a best-practices checklist, and a glossary.

Read More

What Are the Two Common Types of Load Balancing?

A plain-language guide to the two most fundamental types of load balancing: static (round robin, weighted round robin, random, source IP hash, URL hash) and dynamic (least connections, weighted least connections, least response time, resource-based). Covers each algorithm in turn, a side-by-side comparison, real performance impact, how to choose between them, hybrid approaches, a worked example, historical context from task scheduling, other useful classifications (Layer 4 vs Layer 7, hardware vs software), real-world uses, testing habits, common mistakes, a best-practices checklist, and a glossary.

Read More

What Is Horizontal Partitioning?

A plain-language, complete guide to horizontal partitioning: what it really is, how it differs from vertical partitioning, a short history, why it matters, the building blocks (parent table, partitions, partition key, routing logic), common strategies (range, hash, list, round-robin, composite, consistent hashing), how it relates to sharding, real-world uses, partition pruning, native SQL setup, a worked photo-sharing example, honest advantages and disadvantages, how to choose a partition key, how to keep partitions healthy, common pitfalls, and an FAQ.

Read More

What Is Back-of-the-Envelope Estimation?

A plain-language, complete guide to back-of-the-envelope estimation: what it really is, where the name comes from, why interviewers care, the foundational numbers to keep in your back pocket, the common types of estimation, a repeatable six-step process, two fully worked examples (a photo-sharing app and a URL shortener), handy rules of thumb, how different industries lean on the skill, sanity-check anchors, honest advantages and limitations, common pitfalls, communication tips, a quick-reference cheat sheet, and an FAQ.

Read More

Why Does Idempotency Matter in Distributed Systems?

A plain-language, complete guide to idempotency in distributed systems: what it really is, where the idea comes from, why retries happen at all, how it maps onto HTTP methods and delivery guarantees, how idempotency keys work step by step, other complementary techniques, two fully worked examples (a coffee-shop payment and a message queue), real-world uses, honest advantages and limitations, common pitfalls, best practices, and an FAQ.

Read More