high-level-design

    High-Level Design Course

    Master High-Level Design — scalable architecture, databases, caching, messaging, and system design interviews.

    42
    Lessons
    8
    Modules
    0/42
    Completed
    Curriculum

    Enterprise learning path

    8 modules · 42 lessons

    Module 1 · HLD Fundamentals

    0/4 complete
    1. 1
      Introduction to High-Level Design
      Next 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…

    2. 2
      HLD vs LLD

      High-Level Design (HLD) and Low-Level Design (LLD) are complementary lenses on the same product.

    3. 3
      Functional vs Non-Functional Requirements

      Every successful HLD starts with requirements — not with Redis or Kubernetes.

    4. 4
      Capacity Estimation

      Capacity estimation (back-of-the-envelope math) turns vague scale statements into concrete resource needs.

    Module 2 · System Architecture

    0/5 complete
    1. 5
      Monolithic 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…

    2. 6
      Microservices Architecture

      Microservices decompose an application into independently deployable services, each owning a bounded context, data store, and release cadence.

    3. 7
      Service-Oriented Architecture (SOA)

      Service-Oriented Architecture (SOA) organizes enterprise systems as coarse-grained, reusable services exposed through standardized interfaces — historically SOAP over an Enterpr…

    4. 8
      Event-Driven Architecture

      Event-driven architecture (EDA) centers on producing, routing, and consuming events — immutable records that something happened (OrderPlaced, PaymentCaptured, DriverLocationUpda…

    5. 9
      Layered 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

    0/5 complete
    1. 10
      Horizontal vs Vertical Scaling

      Scaling increases system capacity to meet load.

    2. 11
      Load Balancers

      A load balancer (LB) distributes incoming traffic across multiple backend servers to improve capacity, fault tolerance, and maintenance flexibility.

    3. 12
      Reverse Proxy

      A reverse proxy sits in front of backend servers and acts on their behalf — clients don't know the origin servers exist.

    4. 13
      API Gateway

      An API Gateway is the single entry point for client applications (mobile, web, partners) into your microservice ecosystem.

    5. 14
      CDN

      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

    0/5 complete
    1. 15
      SQL vs NoSQL

      Choosing between SQL (relational) and NoSQL databases is one of the highest-impact HLD decisions.

    2. 16
      Database Sharding

      Sharding (horizontal partitioning) splits data across multiple database instances so no single node holds the entire dataset or write load.

    3. 17
      Database Replication

      Database replication copies data from a primary (leader) to one or more replicas (followers) for read scaling, high availability, and geographic proximity.

    4. 18
      Partitioning

      Partitioning divides one logical table into smaller physical pieces (partitions) within a single database instance — by range (date), list (region), or hash.

    5. 19
      CAP 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

    0/5 complete
    1. 20
      Redis Fundamentals

      Redis is an in-memory data structure store used as cache, session store, rate limiter, pub/sub bus, and lightweight queue.

    2. 21
      Cache Strategies

      Caching stores copies of expensive computation or data closer to consumers — in-process, Redis, or CDN.

    3. 22
      Message Queues

      Message queues decouple producers and consumers — producers publish messages; consumers process asynchronously at their pace.

    4. 23
      Kafka Basics

      Apache Kafka is a distributed commit log for high-throughput event streaming.

    5. 24
      Event Streaming

      Event streaming treats data as continuous flows of events processed in near real-time — beyond simple queue consumption.

    Module 6 · Distributed Systems

    0/5 complete
    1. 25
      Consistency Models

      Consistency models define what readers observe after writes in distributed systems — from strong linearizability to eventual consistency.

    2. 26
      Distributed Transactions

      A distributed transaction spans multiple services or databases with atomicity guarantees — all succeed or all roll back.

    3. 27
      Circuit 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.

    4. 28
      Retry Pattern

      The retry pattern re-executes failed operations when errors are likely transient — network blips, 503 from overloaded servers, deadlock timeouts.

    5. 29
      Idempotency

      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

    0/5 complete
    1. 30
      Authentication

      Authentication (AuthN) verifies identity — who is calling.

    2. 31
      Authorization

      Authorization (AuthZ) determines what an authenticated identity may do — read orders, approve refunds, access tenant data.

    3. 32
      Rate Limiting

      Rate limiting caps requests per client, user, IP, or API key within a time window — protecting services from abuse, accidental loops, and DDoS.

    4. 33
      Monitoring & Logging

      Observability — metrics, logs, traces — makes distributed HLD operable.

    5. 34
      Disaster Recovery

      Disaster recovery (DR) restores systems after region-wide failures, data corruption, or ransomware.

    Module 8 · Real-world System Design

    0/8 complete
    1. 35
      URL Shortener

      Design a URL shortener like bit.ly — map long URLs to short slugs, redirect with low latency at global scale.

    2. 36
      Chat Application

      Design a chat application like WhatsApp or Slack — 1:1 and group messaging, online presence, delivery receipts, and message history.

    3. 37
      Food Delivery System

      Design food delivery like DoorDash or Swiggy — customers browse restaurants, place orders, restaurants prepare, drivers deliver.

    4. 38
      Video Streaming Platform

      Design a video streaming platform like YouTube or Netflix — upload, transcode, store, and deliver video globally with adaptive bitrate playback.

    5. 39
      Ride Booking System

      Design ride booking like Uber — riders request trips, drivers accept, real-time tracking, fare calculation, and payment settlement.

    6. 40
      Online 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…

    7. 41
      Notification System

      Design a notification system delivering email, SMS, push, and in-app alerts at scale — order shipped, OTP login, marketing campaigns.

    8. 42
      Final 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.