New content added weeklyLive
Master HLD with Adaptive AI.
Master HLD across 186 patterns - HLD - guided by Leyaa's adaptive intelligence.
32Topics
186Patterns
45hEst. duration
HLD Course
32 topics
Databases - SQL and Transactions
7 patterns
Monitoring and Observability
5 patterns
Microservices Infrastructure
5 patterns
API Design and Gateway
6 patterns
Non-Functional Requirements Framework
7 patterns
System Design Interview Approach
8 patterns
System Failures and Post-Mortems
5 patterns
Storage Systems
5 patterns
Bloom Filters and Probabilistic Data Structures
5 patterns
Caching
6 patterns
Content Delivery Network
5 patterns
Core Distributed Systems Concepts
8 patterns
Distributed Coordination
4 patterns
Consistent Hashing
5 patterns
Message Queues and Event Streaming
7 patterns
AI and ML System Design
8 patterns
Modern Infrastructure Design
6 patterns
Storage and Collaboration
5 patterns
Financial and Real-Time Systems
4 patterns
Infrastructure and Platform Systems
7 patterns
E-Commerce and Payments
5 patterns
Location and Mapping Systems
5 patterns
Social Media and Feed Systems
6 patterns
Search and Discovery
7 patterns
Video and Media Streaming
5 patterns
Communication and Messaging Systems
5 patterns
Rate Limiting
6 patterns
Networking and Protocols
7 patterns
Databases - NoSQL
6 patterns
Search and Indexing
5 patterns
Load Balancers
6 patterns
Unique ID Generation
5 patterns
Curriculum
Everything You'll Learn
Explore every pattern in the course.

HLD
32 topics · 186 patterns100% freeEvery pattern is free. Create a free account to start, and Leyaa tracks what you actually know.
01
Databases - SQL and Transactions
7 patterns
Free
ACID Properties - Atomicity, Consistency, Isolation, Durability Deep DiveStart free Database Indexing - B-Tree, Hash Index, Composite Index DesignStart free Database Replication - Primary-Replica, Multi-Primary PatternsStart free Database Sharding Strategies - Range, Hash, Directory-BasedStart free How to Choose a Database - Decision Framework for InterviewsStart free Read Replicas and CQRS Pattern for Read-Heavy SystemsStart free Why Relational Databases Dominate Transactional SystemsStart free
02
Monitoring and Observability
5 patterns
Free
Alerting System Design - Threshold, Anomaly, Composite Alert PatternsStart free Distributed Logging Architecture - Log Aggregation Pipeline DesignStart free Distributed Tracing System - Trace Context Propagation Across ServicesStart free Metrics Collection System Design - Push vs Pull Model Trade-offsStart free SLO Error Budget Tracking - How Production Systems Measure ReliabilityStart free
03
Microservices Infrastructure
5 patterns
Free
API Gateway as Microservices Entry Point - BFF PatternStart free Bulkhead Pattern - Isolating Failures to Contain Blast RadiusStart free Circuit Breaker Pattern - Preventing Cascade Failures Across ServicesStart free Microservices vs Monolith - When to Split and the Hidden CostsStart free Service Discovery - Client-Side vs Server-Side PatternsStart free
04
API Design and Gateway
6 patterns
Free
API Gateway Pattern - Auth, Rate Limiting, Routing, TransformationStart free API Versioning Strategies - URL, Header, Content NegotiationStart free GraphQL vs REST - Trade-offs for Different Query PatternsStart free gRPC for Internal Service Communication - Protocol Buffers, StreamingStart free Idempotency in APIs - Why It Is Critical for Payment and Retry SystemsStart free REST API Design Principles - Resources, Methods, Status Codes, PaginationStart free
05
Non-Functional Requirements Framework
7 patterns
Free
Availability - Active-Active vs Active-Passive Failover PatternsStart free Durability - How Systems Guarantee Data is Never LostStart free Observability - Metrics, Logging, Tracing - The Three PillarsStart free Performance - P50 P95 P99 Latency and Why Averages LieStart free Reliability and Fault Tolerance - Designing for Failure Not IfStart free Scalability - Designing for 10x, 100x, 1000x Traffic Growth from Day OneStart free Security Fundamentals - AuthN, AuthZ, Encryption at Rest and in TransitStart free
06
System Design Interview Approach
8 patterns
Free
Availability Numbers - What 99.9 vs 99.99 vs 99.999 Percent Means in PracticeStart free Back-of-the-Envelope Estimation with Real Numbers - Servers, Storage, BandwidthStart free Clarifying Requirements - Functional vs Non-Functional Questions to AskStart free Common Mistakes Candidates Make in System Design InterviewsStart free How to Estimate QPS, DAU, Storage, and Bandwidth for Any SystemStart free How to Present Trade-offs and Justify Design Decisions to InterviewersStart free How to Structure Any System Design Answer in 45 MinutesStart free Why System Design Exists and What Single Machines Cannot DoStart free
07
System Failures and Post-Mortems
5 patterns
Free
AWS US-EAST-1 Outage - Cascading Failures and Blast Radius LessonsStart free Cloudflare Route Leak - How One Config Took Down the InternetStart free Facebook October 2021 Outage - BGP Misconfiguration and Global RecoveryStart free GitHub Database Failover Incident - What Went Wrong and PreventionStart free How to Write a Post-Mortem - Blameless Culture, Root Cause Analysis, Action ItemsStart free
08
Storage Systems
5 patterns
Free
Blob Store Design - S3-Like Object Storage Architecture End to EndStart free Block Storage vs Object Storage vs File Storage - When to Use WhichStart free Data Replication Strategies - Synchronous vs Asynchronous, Quorum WritesStart free Distributed File System Design - Metadata Servers and Data NodesStart free Storage Tiering - Hot, Warm, Cold, Archive and Cost OptimizationStart free
09
Bloom Filters and Probabilistic Data Structures
5 patterns
Free
Bloom Filter Design - Bit Array, Hash Functions, False Positive RateStart free Bloom Filters in Real Systems - Cassandra, Redis, BigTable, ChromeStart free Count-Min Sketch for Frequency Estimation at ScaleStart free HyperLogLog for Cardinality Estimation - Counting Unique Users CheaplyStart free Why Bloom Filters and What Exact Lookup Cannot Afford at ScaleStart free
10
Caching
6 patterns
Free
Cache Aside vs Read-Through vs Write-Through vs Write-BehindStart free Cache Eviction Policies - LRU, LFU, TTL, ARC and When to Use EachStart free Cache Stampede - Thundering Herd Problem and Prevention StrategiesStart free Cache Warming Strategies for High-Traffic System LaunchesStart free Distributed Cache Design - Consistent Hashing for Cache Node AssignmentStart free Why Caching Exists and the Real Cost of Not CachingStart free
11
Content Delivery Network
5 patterns
Free
Cache Invalidation Strategies - TTL, Purge, Surrogate KeysStart free CDN Architecture - Edge Nodes, Points of Presence, Origin Pull vs PushStart free CDN for Video Streaming - Adaptive Bitrate and HLS Segment DeliveryStart free Multi-CDN Strategy for Maximum Availability and Geo CoverageStart free Why CDN Exists and What Origin Servers Cannot Do AloneStart free
12
Core Distributed Systems Concepts
8 patterns
Free
CAP Theorem - Consistency, Availability, Partition Tolerance in Real SystemsStart free Client-Server Architecture and Why It Is the Foundation of Every SystemStart free Consistency Models - Strong, Eventual, Causal, Read-Your-Writes ExplainedStart free Latency vs Throughput - The Core Trade-off Every Design Must BalanceStart free PACELC Theorem - Beyond CAP for Systems That Must Choose Under LatencyStart free Stateless vs Stateful Services - Design Implications at ScaleStart free Synchronous vs Asynchronous Communication - When Each WinsStart free Vertical Scaling vs Horizontal Scaling - When Each Breaks and What to DoStart free
13
Distributed Coordination
4 patterns
Free
14
Consistent Hashing
5 patterns
Free
Consistent Hashing for Database Sharding at ScaleStart free Consistent Hashing in Distributed Caches - Redis Cluster, MemcachedStart free Hash Ring - Virtual Nodes, Token Assignment, Node Addition and RemovalStart free Rendezvous Hashing - Alternative Approach and Trade-offsStart free Why Consistent Hashing and What Modular Hashing Cannot HandleStart free
15
Message Queues and Event Streaming
7 patterns
Free
Dead Letter Queues and Retry Strategies for Failure HandlingStart free Event Sourcing and CQRS with Message QueuesStart free Kafka Architecture - Partitions, Consumer Groups, Offsets, Retention PolicyStart free Message Delivery Guarantees - At Most Once, At Least Once, Exactly OnceStart free Message Queue Design - Producers, Consumers, Brokers, PartitionsStart free Pub-Sub Pattern - Topics, Subscriptions, Fan-Out DesignStart free Why Async Messaging and What Synchronous Calls Cannot HandleStart free
16
AI and ML System Design
8 patterns
Free
Design a ChatGPT-Like System - LLM Serving, Context Window, Token StreamingStart free Design a Data Infrastructure for ML - Feature Store, Training Pipeline, RegistryStart free Design a Real-Time ML Inference System - Model Serving, Shadow Mode, RollbackStart free Design a Recommendation System - Collaborative Filtering, Embedding StorageStart free Design a Search Ranking System - Feature Store, Model Serving, A/B TestingStart free Design a Vector Database - Embedding Storage, ANN Search, HNSW IndexStart free Design an AI Code Assistant - RAG Architecture, Code Indexing, Latency BudgetStart free Design an LLM-Powered Customer Support Bot - Intent Classification, FallbackStart free
17
Modern Infrastructure Design
6 patterns
Free
Design a CI/CD Pipeline System - Build, Test, Deploy, Rollback, Artifact RegistryStart free Design a Code Deployment System - Blue-Green, Canary, Feature Flags, Rollback StrategyStart free Design a Multi-Tenant SaaS Platform - Isolation, Billing, Feature FlagsStart free Design a Real-Time Analytics Pipeline - Kafka, Flink, OLAP, DashboardStart free Webhook Delivery System - Reliability, Retry, Ordering GuaranteesStart free Design an Event-Driven Architecture - Saga Pattern, Outbox Pattern, IdempotencyStart free
18
Storage and Collaboration
5 patterns
Free
Design a Code Repository System - Diff, Branch, Merge, Pull RequestStart free Design a Web Crawler - Scheduler, Politeness Policy, Duplicate DetectionStart free Design Dropbox or Google Drive - File Sync, Chunking, Delta UploadStart free Design Google Docs - Collaborative Editing, Conflict Resolution, OT vs CRDTStart free Design Pastebin - Text Storage, Expiration, AnalyticsStart free
19
Financial and Real-Time Systems
4 patterns
Free
Design a Digital Wallet System - Double-Entry Ledger, Consistency, ReconciliationStart free Design a Fraud Detection System - Real-Time Scoring, Rule Engine, Feature StoreStart free Design a Real-Time Leaderboard - Sorted Sets, Redis, Ranking at ScaleStart free Design a Stock Exchange - Order Book, Matching Engine, Market Data FeedStart free
20
Infrastructure and Platform Systems
7 patterns
Free
Design a Distributed Cache - Consistent Hashing, Eviction, ReplicationStart free Design a Distributed Counter - Sharded Counters, CRDT for Eventual ConsistencyStart free Design a Distributed Message Queue - Kafka-Like Architecture End to EndStart free Design a Key-Value Store - Consistent Hashing, Vector Clocks, Gossip ProtocolStart free Design a Task Scheduler - Priority Queue, Cron, Distributed ExecutionStart free Design a URL Shortener - Encoding, Redirect, Analytics, Custom AliasStart free Design an API Rate Limiter - Algorithms, Distributed Counter, Edge EnforcementStart free
21
E-Commerce and Payments
5 patterns
Free
Design a Flash Sale System - Handling 10x Traffic Spike in 60 SecondsStart free Design a Payment Gateway like Razorpay or Stripe - Architecture, Webhook, RetryStart free Design a Payment System - Transaction Processing, Idempotency, SettlementStart free Design a Ticketing System like BookMyShow - Seat Locking, Concurrency, PaymentStart free Amazon - Product Catalog, Search, Cart, Order Management PipelineStart free
22
Location and Mapping Systems
5 patterns
Free
Design a Food Delivery System - Restaurant Discovery, Order Tracking, Driver AssignmentStart free Design a Real-Time Location Tracking System - GPS, WebSocket, Geo-indexingStart free Design Google Maps - Road Graph, Routing Algorithm, ETA ComputationStart free Uber - Driver Matching, Surge Pricing, Real-Time Location TrackingStart free Yelp / Proximity Service - Geohash, Quadtree, Nearby SearchStart free
23
Social Media and Feed Systems
6 patterns
Free
Design a Generic Newsfeed System - Pull vs Push vs Hybrid Fan-Out at Any ScaleStart free Design Facebook News Feed - EdgeRank, Fan-Out on Write vs ReadStart free Instagram - Photo Upload, Feed, Stories, ExploreStart free Design LinkedIn - Professional Graph, Feed, Job RecommendationsStart free Design Reddit - Voting, Ranking, Community Architecture at ScaleStart free Design Twitter - Tweets, Follow Graph, Timeline Generation at ScaleStart free
24
Search and Discovery
7 patterns
Free
Design a Hotel Booking System - Inventory, Reservation, Double Booking PreventionStart free Design a Job Portal - Search, Candidate Matching, Application TrackingStart free Design a Typeahead Suggestion System - Trie at Scale, Ranking, Personalization, CacheStart free Design Airbnb - Search, Booking, Calendar Availability, Review SystemStart free Design an E-Learning Platform - Course, Video, Progress, Certificate at ScaleStart free Design Google Search - Crawling, Indexing, PageRank, Query ProcessingStart free Design Quora - Q&A Feed, Search, Ranking, Spam Detection, Follow TopicsStart free
25
Video and Media Streaming
5 patterns
Free
Design a Live Streaming Platform - Low-Latency RTMP to HLS PipelineStart free Netflix - Personalization, Adaptive Streaming, Global CDN ArchitectureStart free Spotify - Audio Streaming, Playlist, Offline Download ArchitectureStart free Design TikTok - Short Video Upload, For-You Feed Algorithm, Creator StackStart free Design YouTube - Upload, Transcoding Pipeline, CDN Delivery, View CountStart free
26
Communication and Messaging Systems
5 patterns
Free
Design a Notification System - Push, SMS, Email Fan-Out at 10M+ ScaleStart free Design a Video Calling System - WebRTC, Signaling Server, Media ServerStart free Design Facebook Messenger - Group Chat, Presence, Message SyncStart free Design Slack - Workspaces, Channels, Real-Time Delivery at Scale, SearchStart free Design WhatsApp - Real-Time Chat, Delivery Receipts, End-to-End EncryptionStart free
27
Rate Limiting
6 patterns
Free
Distributed Rate Limiting - Redis-Based Centralized Counter ApproachStart free Fixed Window vs Sliding Window Counter - Trade-offsStart free Leaky Bucket Algorithm - Smoothing Traffic Bursts to Steady RateStart free Rate Limiting at Different Layers - API Gateway, Service, DatabaseStart free Token Bucket Algorithm - Design, Implementation, and Burst HandlingStart free Why Rate Limiting Exists and What Happens to Systems Without ItStart free
28
Networking and Protocols
7 patterns
Free
DNS Load Balancing and GeoDNS for Global Traffic DistributionStart free Forward Proxy vs Reverse Proxy - What Each Hides and Why It MattersStart free How DNS Works - Resolution Chain from Browser to IP AddressStart free HTTP 1.1 vs HTTP 2 vs HTTP 3 - What Changed and Why It MattersStart free HTTP vs HTTPS - TLS Handshake, Certificate Chain, and the CostStart free TCP vs UDP - When Reliability Matters and When Speed WinsStart free WebSockets vs Long Polling vs Server-Sent Events - When to Use EachStart free
29
Databases - NoSQL
6 patterns
Free
Document Databases - MongoDB Data Modeling Patterns at ScaleStart free Graph Databases - When Relationships Are the Primary DataStart free Key-Value Stores - Redis vs DynamoDB, Use Cases, Trade-offsStart free Time-Series Databases - Metrics, Events, and IoT PatternsStart free Why NoSQL Exists and When SQL is the Wrong ToolStart free Wide-Column Stores - Cassandra Partitioning and Data ModelingStart free
30
Search and Indexing
5 patterns
Free
Elasticsearch Architecture - Shards, Replicas, Query RoutingStart free Faceted Search and Filtering at ScaleStart free Full-Text Search Architecture - Inverted Index Design from ScratchStart free Search Ranking and Relevance - TF-IDF, BM25 IntuitionStart free Typeahead Autocomplete - Trie vs Prefix Hash vs ElasticsearchStart free
31
Load Balancers
6 patterns
Free
Global Server Load Balancing - Routing Traffic Across Data CentersStart free Health Checks and Automatic Failover in Load BalancersStart free Layer 4 vs Layer 7 Load Balancing - Transport vs Application LevelStart free Load Balancer vs API Gateway vs Reverse Proxy - Key DifferencesStart free Load Balancing Algorithms - Round Robin, Least Connections, IP Hash, WeightedStart free Why Load Balancers Exist and What Problems They SolveStart free
32
Unique ID Generation
5 patterns
Free
Ticket Server Pattern for Centralized ID GenerationStart free Twitter Snowflake - Timestamp + Machine ID + Sequence DesignStart free ULID and KSUID - Sortable Distributed IDs for Modern SystemsStart free UUID vs Auto-Increment vs Custom ID - Trade-offs at ScaleStart free Why Unique ID Generation Is a Non-Trivial System Design ProblemStart free
Not just a course. A learning intelligence.
Leyaa doesn't just deliver content - it understands where you are, what you need, and how to get you there fastest.
Adaptive Diagnostics
Leyaa identifies which of the 186 patterns you've mastered and which need work - before you waste time on what you already know.
Pattern-Level Precision
Every pattern gets a verdict - Learn, Practice, or Skip - so your study time goes exactly where it counts.
Intelligent Pacing
Leyaa reads your velocity across the whole course and adapts your focus list dynamically, keeping you in the optimal learning zone.
Before & After Visibility
Every assessment creates a snapshot. Retake anytime to see exactly how much you've grown - pattern by pattern.
Learner Autonomy
Leyaa recommends, never restricts. Override any suggestion and explore at your own pace - the system tracks everything regardless.
Clear Learning Path
A structured journey through 32 topics, where each one sets you up perfectly for the next.
HLD
Ready to master HLD?
Start your journey today
Start your diagnostic now. Build mastery across all 186 patterns in under 15 minutes.
186 Patterns
Personalized roadmap






































