High-Level Design Course
Master High-Level Design — scalable architecture, databases, caching, messaging, and system design interviews.
Enterprise learning path
Module 1 · HLD Fundamentals
- 1Introduction to High-Level DesignNext up
Welcome to High-Level Design (HLD) on TechLearningPRO — a structured course for backend engineers, architects, and interview candidates who need to design systems that survive r…
- 2HLD vs LLD
High-Level Design (HLD) and Low-Level Design (LLD) are complementary lenses on the same product.
- 3Functional vs Non-Functional Requirements
Every successful HLD starts with requirements — not with Redis or Kubernetes.
- 4Capacity Estimation
Capacity estimation (back-of-the-envelope math) turns vague scale statements into concrete resource needs.
Module 2 · System Architecture
- 5Monolithic Architecture
A monolith is a single deployable application containing all business modules — user management, catalog, checkout, notifications — sharing one process space and typically one p…
- 6Microservices Architecture
Microservices decompose an application into independently deployable services, each owning a bounded context, data store, and release cadence.
- 7Service-Oriented Architecture (SOA)
Service-Oriented Architecture (SOA) organizes enterprise systems as coarse-grained, reusable services exposed through standardized interfaces — historically SOAP over an Enterpr…
- 8Event-Driven Architecture
Event-driven architecture (EDA) centers on producing, routing, and consuming events — immutable records that something happened (OrderPlaced, PaymentCaptured, DriverLocationUpda…
- 9Layered Architecture
Layered architecture organizes code into horizontal tiers — typically presentation, business logic, persistence — where each layer depends only on the layer directly below.
Module 3 · Scalability
- 10Horizontal vs Vertical Scaling
Scaling increases system capacity to meet load.
- 11Load Balancers
A load balancer (LB) distributes incoming traffic across multiple backend servers to improve capacity, fault tolerance, and maintenance flexibility.
- 12Reverse Proxy
A reverse proxy sits in front of backend servers and acts on their behalf — clients don't know the origin servers exist.
- 13API Gateway
An API Gateway is the single entry point for client applications (mobile, web, partners) into your microservice ecosystem.
- 14CDN
A Content Delivery Network (CDN) caches static and cacheable dynamic content at edge PoPs (points of presence) close to users, reducing latency and origin load.
Module 4 · Databases
- 15SQL vs NoSQL
Choosing between SQL (relational) and NoSQL databases is one of the highest-impact HLD decisions.
- 16Database Sharding
Sharding (horizontal partitioning) splits data across multiple database instances so no single node holds the entire dataset or write load.
- 17Database Replication
Database replication copies data from a primary (leader) to one or more replicas (followers) for read scaling, high availability, and geographic proximity.
- 18Partitioning
Partitioning divides one logical table into smaller physical pieces (partitions) within a single database instance — by range (date), list (region), or hash.
- 19CAP Theorem
The CAP theorem states that a distributed data store cannot simultaneously provide all three: Consistency (every read sees latest write), Availability (every request gets a resp…
Module 5 · Caching & Messaging
- 20Redis Fundamentals
Redis is an in-memory data structure store used as cache, session store, rate limiter, pub/sub bus, and lightweight queue.
- 21Cache Strategies
Caching stores copies of expensive computation or data closer to consumers — in-process, Redis, or CDN.
- 22Message Queues
Message queues decouple producers and consumers — producers publish messages; consumers process asynchronously at their pace.
- 23Kafka Basics
Apache Kafka is a distributed commit log for high-throughput event streaming.
- 24Event Streaming
Event streaming treats data as continuous flows of events processed in near real-time — beyond simple queue consumption.
Module 6 · Distributed Systems
- 25Consistency Models
Consistency models define what readers observe after writes in distributed systems — from strong linearizability to eventual consistency.
- 26Distributed Transactions
A distributed transaction spans multiple services or databases with atomicity guarantees — all succeed or all roll back.
- 27Circuit Breaker
The circuit breaker pattern stops calling a failing downstream service after errors exceed a threshold — failing fast instead of hanging threads and cascading outages.
- 28Retry Pattern
The retry pattern re-executes failed operations when errors are likely transient — network blips, 503 from overloaded servers, deadlock timeouts.
- 29Idempotency
An operation is idempotent if performing it multiple times has the same effect as once — critical for retries, webhooks, and distributed sagas.
Module 7 · Security & Reliability
- 30Authentication
Authentication (AuthN) verifies identity — who is calling.
- 31Authorization
Authorization (AuthZ) determines what an authenticated identity may do — read orders, approve refunds, access tenant data.
- 32Rate Limiting
Rate limiting caps requests per client, user, IP, or API key within a time window — protecting services from abuse, accidental loops, and DDoS.
- 33Monitoring & Logging
Observability — metrics, logs, traces — makes distributed HLD operable.
- 34Disaster Recovery
Disaster recovery (DR) restores systems after region-wide failures, data corruption, or ransomware.
Module 8 · Real-world System Design
- 35URL Shortener
Design a URL shortener like bit.ly — map long URLs to short slugs, redirect with low latency at global scale.
- 36Chat Application
Design a chat application like WhatsApp or Slack — 1:1 and group messaging, online presence, delivery receipts, and message history.
- 37Food Delivery System
Design food delivery like DoorDash or Swiggy — customers browse restaurants, place orders, restaurants prepare, drivers deliver.
- 38Video Streaming Platform
Design a video streaming platform like YouTube or Netflix — upload, transcode, store, and deliver video globally with adaptive bitrate playback.
- 39Ride Booking System
Design ride booking like Uber — riders request trips, drivers accept, real-time tracking, fare calculation, and payment settlement.
- 40Online Payment System
Design an online payment system like Stripe or PayPal — merchants accept payments, funds settle to bank accounts, with PCI compliance, idempotency, fraud detection, and ledger a…
- 41Notification System
Design a notification system delivering email, SMS, push, and in-app alerts at scale — order shipped, OTP login, marketing campaigns.
- 42Final HLD Interview Case Study
This capstone lesson walks a complete HLD interview for a fictional TechLearningPRO Learning Platform — courses, video lessons, payments, notifications, search, and analytics. Includes interactive HLD interview question bank.