Designing WhatsApp - Low Level Design
Learn how to build a WhatsApp in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Find low-level design case studies, design patterns, and tech blogs across the site.
Learn how to build a WhatsApp in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
A clear explanation of how Apache Kafka works under the hood - topics, partitions, consumer groups, offsets - and an honest take on when Kafka is overkill.
How rate limiting works under the hood: fixed window, sliding window, token bucket, and leaky bucket. Includes a working Redis implementation and an LLD breakdown.
Redis is fast until it isn't. Here's how Redis actually works as a cache - including eviction policies, cache stampede, and the failure modes most engineers miss.
The actual tradeoffs between SQL and NoSQL databases - not the surface-level answer. When each breaks, why PostgreSQL is almost always the right start, and when NoSQL genuinely earns its place.
Regular hashing breaks every time you add or remove a server. Consistent hashing fixes that. Here is how the hash ring works and where you will actually run into it.
Indexes are the difference between a query taking 50ms and 12 seconds. Here is how B-trees actually work, why composite index column order matters, and what silently breaks your indexes.
Most developers use Docker without knowing what is actually happening when they run docker run. Here is what namespaces, cgroups, and image layers actually do.
Most developers use JWTs every day without knowing what's actually inside them. Here's how the signing, verification, and stateless auth actually works, and where it breaks.
OAuth 2.0 confuses most developers because it is poorly explained everywhere. Here is how it actually works, what the flows are for, and where people get it wrong.
WebSockets, SSE, and long polling all get data from server to client, but picking the wrong one costs you in complexity and infrastructure. Here is how to choose.
Learn how to build an AI Agent Tool Execution Coordinator in Java using the Mediator and Command patterns with agentic loop execution and context window pruning.
Learn how to build an API Gateway/Reverse Proxy in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a collaborative real-time rich-text editor in Java. Covers CRDT/OT eventual consistency conflict resolution algorithms.
Learn how to build a Coupon/Promo Code Validator Service in Java using the Strategy pattern and Chain of Responsibility. Includes complete Java code.
Learn how to build a multi-stage task scheduler with Directed Acyclic Graph (DAG) validation, cycle detection, and parallel thread-pool execution in Java.
Learn how to build a Database Connection Pool in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to design a Dependency Injection (DI) container in Java with bean lifecycle management, recursive reflection resolution, and circular dependency detection.
Learn how to build a Circuit Breaker in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Learn how to build a Load Balancer in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Learn how to build a Payment Gateway/Aggregator in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build an extensible rules and decision engine in Java using Composite and Builder patterns to evaluate hierarchical rules dynamically.
A complete guide to software design patterns for LLD interviews — covers Singleton, Observer, Strategy, Builder, Decorator, and more with Java code.
Learn how to build a Distributed/Concurrent Job Scheduler in Java using scheduled job execution and recurrence rules. Includes complete Java code.
Learn how to design an Event Sourcing and CQRS framework in Java, featuring aggregate state reconstruction, real-time query projections, and an append-only event store.
Learn how to build an Excel Workbook in Java featuring thread-safe concurrency. Covers object-oriented design patterns and complete Java implementation.
Learn how to design a double-entry bookkeeping financial ledger engine in Java, validating balance constraints, resolving concurrency, and avoiding float errors.
Learn how to build a Mini-Git version control system in Java, covering file staging (add), snapshots (commit), branching, switching, and log history.
Learn how to design a Google Calendar meeting scheduler in Java, covering dynamic conflict detection and complex recurrence rules expansion.
Learn how to build an In-Memory Cache in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Learn how to build an In-Memory File System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build an In-Memory Key-Value DB in Java. This walkthrough covers object-oriented design patterns, and complete Java implementation.
Learn how to build a client-side local-first synchronization engine in Java with offline command queueing and Last-Write-Wins conflict resolution.
Learn how to design a log analyzer and search engine in Java using inverted index mapping and boolean search query evaluation.
Learn how to build a Logging Library/Framework in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Model Context Protocol (MCP) tool router in Java to parse and route JSON-RPC 2.0 requests from AI clients.
Learn how to build an Order Matching Engine in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to design a package manager in Java with topological sorting for dependency installation and cycle detection.
Learn how to build a Prompt Management and Template Engine in Java using the Strategy, Factory, and Builder patterns. Includes complete Java code.
Learn how to build a Quick Commerce Delivery System in Java. This walkthrough covers object-oriented design patterns, and complete Java implementation.
Learn how to build a Saga Orchestrator in Java featuring thread-safe concurrency. Covers object-oriented design patterns and complete Java implementation.
Learn how to build an in-memory Trello/Jira-lite task planning board in Java, covering workspaces, custom list state management, and audit trails.
Learn how to design an in-memory high-dimensional vector search engine in Java with cosine similarity and K-Nearest Neighbors (K-NN) search.
Learn how to build a Customer Issue Resolution System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build an Airline Reservation System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build an ATM System in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Learn how to build a Chess Game in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Learn how to build a Food Delivery/Ordering System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Hotel Management/Booking System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Library Management System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Meeting Scheduler System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Notification System in Java supporting multi-channel notifications via email, SMS, and push. Includes complete Java code.
Learn how to build an Online Bookstore System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Rate Limiter System in Java covering sliding window and fixed window rate limiting algorithms. Includes complete Java implementation.
Learn how to build a Ride-Sharing/Booking System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Shopping Cart System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Splitwise System in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Learn how to build an Elevator/Lift System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build an E-Commerce/Online Shopping System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a File Storage System in Java covering file permissions and storage, object-oriented design patterns, and complete Java code.
A curated list of the most commonly asked LLD interview problems, each with complete Java code, class diagrams, and design pattern explanations.
Learn how to build a Movie Ticket Booking System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build an Order Inventory Management System in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Real-Time Chat Application in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Snake and Ladder Game in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Social Media Platform in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
Learn how to build a Text Editor/Word Processor in Java. Covers a class diagram, object-oriented design patterns and complete Java implementation.
The top 10 low-level design interview questions with complete Java solutions, class diagrams, and thorough explanations of object-oriented design.
Learn how to build a Parking Lot in Java. This walkthrough covers a class diagram, object-oriented design patterns, and complete Java implementation.
Top software engineer resume templates (ATS-friendly) for FAANG/MAANG roles. Curated Word & LaTeX layouts for Google, Amazon, Microsoft, and Meta.
We couldn't find anything matching "".
Try different keywords, check your spelling, or browse the guides below.