Library / YouTube / Asli Engineering
Databases, caching and consistency, explained precisely.
Recommended in published system design guides
Start with step 1See all 5 steps Learn system design with Asli Engineering, step by step 140 videos in 5 steps, about 47 h 40 min of watching. Start at step 1 and move down.
All levels Beginner Intermediate Advanced
Concurrency and storage 26 Databases 24 Consistency 20 Services and APIs 18 Scaling and speed 13 Traffic and limits 10 Messaging and events 7 Networking 6 Caching 4 Running in production 1
1 Start here: the basics No background needed. What the main ideas are and why they exist. 5 videos · 1 h 48 min 0/51.1 What are L4 Load Balancers and how do they work? Beginner · 18 min · 34K views · 2025 How traffic is spread across servers so no single one is overloaded. 1.2 What are Reactive Databases and why DiceDB exists? Beginner · 10 min · 15.5K views · 2025 How databases store and find data, and what guarantees they give. 1.3 What are Embedded Databases and why do they exist? Beginner · 16 min · 14.3K views · 2022 How databases store and find data, and what guarantees they give. 1.4 What are Microservices? Beginner · 28 min · 9.7K views · 2022 When to split an application into services, and what it costs. 1.5 Serverless Computing Explained - Introduction and Architecture Beginner · 36 min · 10.5K views · 2022 How applications are packaged and run across many machines. 2 The building blocks Caches, queues, databases, load balancers: the parts every design is made of. 93 videos · 30 h 47 min 0/932.1 What exactly is the HTTP protocol and how to write a new one from scratch? Intermediate · 15 min · 46.2K views · 2024 How web requests and responses travel between a browser and a server. 2.2 Everything about HTTP Streaming and how Airbnb leverages it in production Intermediate · 22 min · 39.6K views · 2024 How web requests and responses travel between a browser and a server. 2.3 Yes! You can send a payload in your HTTP GET requests Intermediate · 12 min · 22.6K views · 2022 How web requests and responses travel between a browser and a server. 2.4 Why most TCP servers are multi threaded and how to build one from scratch Intermediate · 28 min · 50.7K views · 2023 How data moves reliably (or quickly) across a network. 2.5 Exploiting and stealing from the BitTorrent network Intermediate · 19 min · 3K views · 2022 How data moves reliably (or quickly) across a network. 2.6 How Atlassian reduced latency by 70% by using Sidecar pattern and when should you use it Intermediate · 13 min · 65.9K views · 2025 The numbers behind speed: what is fast, what is slow, and how to reason about it. 2.7 How LinkedIn improved their latency by 60% Intermediate · 10 min · 56.8K views · 2024 The numbers behind speed: what is fast, what is slow, and how to reason about it. 2.8 How Booking com designed and scaled their highly available and performant User Review System Intermediate · 22 min · 36.5K views · 2022 How a system grows from one server to many without falling over. 2.9 How Razorpay Designed and Scaled their Notification System Intermediate · 18 min · 36.3K views · 2022 How a system grows from one server to many without falling over. 2.10 How Airbnb designed and scaled its central authorization system - Himeji Intermediate · 30 min · 26.1K views · 2022 How a system grows from one server to many without falling over. Show all 93 3 Design whole systems (HLD) Put the blocks together for a real product, step by step. 10 videos · 3 h 5 min 0/103.1 How to approach System Design? Intermediate · 14 min · 139.1K views · 2022 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 3.2 Designing Notifications Service for Instagram Intermediate · 37 min · 111.2K views · 2021 (older) A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 3.3 How OpenAI Handles 800 Million ChatGPT Users on a Single PostgreSQL Primary Intermediate · 14 min · 92.3K views · 2026 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 3.4 How PayPal Beat the Thundering Herd Problem and Fixed Their Architecture Intermediate · 13 min · 57.1K views · 2025 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 3.5 How DNS really works and how it scales infinitely? Intermediate · 17 min · 57K views · 2024 How a system grows from one server to many without falling over. 3.6 Inside Stripe's Rate Limiter Architecture Intermediate · 16 min · 23.6K views · 2025 Protecting a service from overload and making retries safe. 3.7 How Stripe Scales MongoDB to 5 million Queries Per Second Intermediate · 19 min · 18.8K views · 2026 How a system grows from one server to many without falling over. 3.8 Overview of the BitTorrent architecture Intermediate · 21 min · 16.2K views · 2022 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 3.9 Designing Uber's highly available Emergency SOS Service Intermediate · 20 min · 11K views · 2022 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 3.10 High level architecture and System Design of JunoDB Intermediate · 14 min · 8.1K views · 2023 Designing of JunoDB: what it must do, the main parts, and the trade-offs. 4 Low-level design (LLD) Classes, patterns and clean code inside one service. 1 videos · 21 min 0/14.1 Low Level Design and Data Schema Modeling of API Clients Like Requestly Intermediate · 21 min · 18.5K views · 2026 Designing the classes and patterns inside one service, so the code stays easy to change. 5 Go deeper Internals, trade-offs and how large systems really behave. 31 videos · 11 h 39 min 0/315.1 Writing a Simple TCP Echo Server - Step 0 to Build Your Own Redis | Redis Internals Advanced · 16 min · 23.8K views · 2022 How data moves reliably (or quickly) across a network. 5.2 How Twitter keeps its Search systems up and stable at scale Advanced · 15 min · 23.1K views · 2022 How a system grows from one server to many without falling over. 5.3 How Rockset achieves zero data latency and workload isolation at scale Advanced · 13 min · 10.5K views · 2024 How a system grows from one server to many without falling over. 5.4 How Gojek masks and keeps users' phone numbers secure at scale? Advanced · 16 min · 8.7K views · 2022 How a system grows from one server to many without falling over. 5.5 How Rockset executes query and scales the query compute horizontally on demand | Rockset Internals Advanced · 10 min · 8.7K views · 2024 How a system grows from one server to many without falling over. 5.6 How Giphy uses CDN to serve 10 billion GIFs every day Advanced · 17 min · 18.5K views · 2022 Serving files from servers near the user to cut delay. 5.7 The Architecture of Pinterest's Time Series Database - Goku Advanced · 18 min · 11.5K views · 2022 How databases store and find data, and what guarantees they give. 5.8 How Converged Indexes makes Rockset super-efficient in all kinds of queries | Rockset Internals Advanced · 11 min · 8.9K views · 2024 How databases store and find data, and what guarantees they give. 5.9 How Redis Implements Transactions and How We Implement It | Redis Internals Advanced · 22 min · 4K views · 2026 How databases store and find data, and what guarantees they give. 5.10 How Databases Implement Graceful Shutdown using Signal Handling | Redis Internals Advanced · 37 min · 3.1K views · 2026 How databases store and find data, and what guarantees they give. Show all 31 Order and levels are picked by us from titles and lengths. The one-line notes are ours. Every video plays from YouTube and belongs to Asli Engineering.
Asli Engineering’s own courses and series Playlists the creator put together, in the order they made them.
System Design A series from the creator, in the order they made it. 76 videos · 22 h 55 min 0/761 How Kafka Actually Achieves Exactly-Once Semantics Advanced · 18 min · 60.7K views · 2026 Passing work and events between services without waiting for each other. 2 Consistent Hashing and Its Implementation From the First Principles Intermediate · 14 min · 26K views · 2026 Clever data structures that make big lookups cheap. 3 How Redis Implements Transactions and How We Implement It | Redis Internals Advanced · 22 min · 4K views · 2026 How databases store and find data, and what guarantees they give. 4 How Databases Implement Graceful Shutdown using Signal Handling | Redis Internals Advanced · 37 min · 3.1K views · 2026 How databases store and find data, and what guarantees they give. 5 Implementing Event Loops | Redis Internals Advanced · 26 min · 8.3K views · 2026 Passing work and events between services without waiting for each other. 6 Event Loops Internals And How Redis Handles Multiple Connects on a Single Thread | Redis Internals Advanced · 21 min · 15.1K views · 2026 Doing many things at once without breaking shared data. 7 Low Level Design and Data Schema Modeling of API Clients Like Requestly Intermediate · 21 min · 18.5K views · 2026 Designing the classes and patterns inside one service, so the code stays easy to change. 8 How Stripe Migrates Millions of Records and Schema with Zero Downtime and No Data Inconsistency Intermediate · 13 min · 20.9K views · 2026 What you give up to stay available or correct when machines fail. 9 How Stripe Scales MongoDB to 5 million Queries Per Second Intermediate · 19 min · 18.8K views · 2026 How a system grows from one server to many without falling over. 10 How MySQL's Midpoint Insertion Strategy Prevents Cache Pollution Intermediate · 11 min · 10K views · 2026 Keeping hot data close so reads are fast, and the cost of stale data. Show all 76 Engineering Blogs Dissections A series from the creator, in the order they made it. 49 videos · 12 h 59 min 0/491 How Kafka Actually Achieves Exactly-Once Semantics Advanced · 18 min · 60.7K views · 2026 Passing work and events between services without waiting for each other. 2 Consistent Hashing and Its Implementation From the First Principles Intermediate · 14 min · 26K views · 2026 Clever data structures that make big lookups cheap. 3 Low Level Design and Data Schema Modeling of API Clients Like Requestly Intermediate · 21 min · 18.5K views · 2026 Designing the classes and patterns inside one service, so the code stays easy to change. 4 How Stripe Migrates Millions of Records and Schema with Zero Downtime and No Data Inconsistency Intermediate · 13 min · 20.9K views · 2026 What you give up to stay available or correct when machines fail. 5 How Stripe Scales MongoDB to 5 million Queries Per Second Intermediate · 19 min · 18.8K views · 2026 How a system grows from one server to many without falling over. 6 How OpenAI Handles 800 Million ChatGPT Users on a Single PostgreSQL Primary Intermediate · 14 min · 92.3K views · 2026 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 7 How MySQL's Midpoint Insertion Strategy Prevents Cache Pollution Intermediate · 11 min · 10K views · 2026 Keeping hot data close so reads are fast, and the cost of stale data. 8 How PayPal Beat the Thundering Herd Problem and Fixed Their Architecture Intermediate · 13 min · 57.1K views · 2025 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 9 How GitHub Sharded Their Databases Without Downtime and Broke Their Monolith Intermediate · 20 min · 36.1K views · 2025 When to split an application into services, and what it costs. 10 Inside Stripe's Rate Limiter Architecture Intermediate · 16 min · 23.6K views · 2025 Protecting a service from overload and making retries safe. Show all 49 Arpit's System Design Masterclass - Pre-requisites A series from the creator, in the order they made it. 16 videos · 5 h 49 min 0/161 How to approach System Design? Intermediate · 14 min · 139.1K views · 2022 A walk through how a real product is put together: what it must do, the parts, and the trade-offs. 2 Everything you need to know about REST Intermediate · 24 min · 79.5K views · 2022 How services expose and call each other's features. 3 Sharing Databases in Microservices: Anti-Pattern or Practical? Intermediate · 21 min · 38.6K views · 2022 When to split an application into services, and what it costs. 4 Database per Service Pattern in Microservices Intermediate · 20 min · 25.5K views · 2022 When to split an application into services, and what it costs. 5 Why do databases store data in B+ trees? Intermediate · 30 min · 111.3K views · 2023 How databases store and find data, and what guarantees they give. 6 How Swiggy designed and scaled its chatbot Intermediate · 15 min · 22.4K views · 2022 How a system grows from one server to many without falling over. 7 GitHub Outage - How databases are managed in production Intermediate · 24 min · 13.3K views · 2022 How databases store and find data, and what guarantees they give. 8 Best practices that make microservices integration easy Intermediate · 14 min · 10.3K views · 2022 When to split an application into services, and what it costs. 9 10 Challenges in Adopting and Implementing Microservices Intermediate · 27 min · 11.1K views · 2022 When to split an application into services, and what it costs. 10 Designing Workflows in Microservices - Orchestration vs Choreography Intermediate · 17 min · 58.7K views · 2022 When to split an application into services, and what it costs. Show all 16 Designing Microservices A series from the creator, in the order they made it. 15 videos · 5 h 51 min 0/151 Should You Adopt Microservices? Here’s What You Need to Know Intermediate · 14 min · 56.3K views · 2022 When to split an application into services, and what it costs. 2 How to Scope Microservices Right with Loose Coupling & High Cohesion Intermediate · 19 min · 15.6K views · 2022 When to split an application into services, and what it costs. 3 How to safely and gracefully handle timeouts in a microservices Intermediate · 24 min · 39.5K views · 2022 When to split an application into services, and what it costs. 4 Sharing Databases in Microservices: Anti-Pattern or Practical? Intermediate · 21 min · 38.6K views · 2022 When to split an application into services, and what it costs. 5 Synchronous and Asynchronous Communication between Microservices Intermediate · 40 min · 41.4K views · 2022 Doing many things at once without breaking shared data. 6 Designing Workflows in Microservices - Orchestration vs Choreography Intermediate · 17 min · 58.7K views · 2022 When to split an application into services, and what it costs. 7 Everything you need to know about REST Intermediate · 24 min · 79.5K views · 2022 How services expose and call each other's features. 8 Database per Service Pattern in Microservices Intermediate · 20 min · 25.5K views · 2022 When to split an application into services, and what it costs. 9 API Composition Pattern in Microservices Intermediate · 26 min · 11.5K views · 2022 How services expose and call each other's features. 10 What are Microservices? Beginner · 28 min · 9.7K views · 2022 When to split an application into services, and what it costs. Show all 15 Algorithms in Distributed Systems A series from the creator, in the order they made it. 13 videos · 4 h 22 min 0/131 Distributed Transactions: Two-Phase Commit Protocol Advanced · 21 min · 70.5K views · 2022 How many machines agree on one answer, even when some fail. 2 Implementing Distributed Transactions using Two Phase Commit Protocol Advanced · 39 min · 38.1K views · 2022 How many machines agree on one answer, even when some fail. 3 LCR algorithm for Leader Election in Distributed Systems Intermediate · 14 min · 17K views · 2022 How many machines agree on one answer, even when some fail. 4 HS algorithm for Leader Election in Distributed Systems Intermediate · 19 min · 12.2K views · 2022 How many machines agree on one answer, even when some fail. 5 TimeSlice algorithm for Leader Election in Distributed Systems Intermediate · 14 min · 3.2K views · 2022 How many machines agree on one answer, even when some fail. 6 FloodMax algorithm for Leader Election in Distributed Systems Intermediate · 13 min · 5.4K views · 2022 How many machines agree on one answer, even when some fail. 7 Synchronous Breadth First Search Algorithm to power broadcast in Distributed Systems Intermediate · 22 min · 6.4K views · 2022 How many machines agree on one answer, even when some fail. 8 Distributed Shortest-Path Bellman Ford Algorithm in Distributed Systems Intermediate · 17 min · 3.3K views · 2022 How many machines agree on one answer, even when some fail. 9 Minimum Spanning Tree in Distributed Systems - GHS Algorithm - and its Applications Intermediate · 33 min · 9K views · 2022 How many machines agree on one answer, even when some fail. 10 Unsolvable Distributed Consensus and The Two Generals' Problem Advanced · 15 min · 3.7K views · 2022 How many machines agree on one answer, even when some fail. Show all 13 Hash Table Internals A series from the creator, in the order they made it. 11 videos · 3 h 37 min 0/111 Internal Structure of a Hash Table Advanced · 23 min · 38.8K views · 2022 Clever data structures that make big lookups cheap. 2 Conflict Resolution in Hash Tables with Chaining Intermediate · 21 min · 7.1K views · 2022 Clever data structures that make big lookups cheap. 3 Conflict Resolution in Hash Tables with Open Addressing Intermediate · 18 min · 4.6K views · 2022 Clever data structures that make big lookups cheap. 4 Linear Probing for Conflict Resolution in Hash Tables Intermediate · 19 min · 4.3K views · 2022 Clever data structures that make big lookups cheap. 5 Quadratic Probing for Conflict Resolution in Hash Tables Intermediate · 15 min · 3K views · 2022 Clever data structures that make big lookups cheap. 6 Double Hashing for Conflict Resolution in Hash Tables Intermediate · 17 min · 3.6K views · 2022 Clever data structures that make big lookups cheap. 7 Understanding the performance of a Hash Table Advanced · 25 min · 2.8K views · 2022 Clever data structures that make big lookups cheap. 8 When full, why are Hash tables, ArrayList, and Vectors always doubled? ⚡ Intermediate · 30 min · 5.5K views · 2022 Clever data structures that make big lookups cheap. 9 Implementing Resize of a Hash Table Intermediate · 17 min · 3.8K views · 2022 Clever data structures that make big lookups cheap. 10 Implementing Hash Sets with Hash Tables Intermediate · 15 min · 2K views · 2022 Clever data structures that make big lookups cheap. Show all 11 Rockset Internals A series from the creator, in the order they made it. 5 videos · 53 min 0/51 Architecture deep-dive of a Real-time Analytics Database | Rockset Internals Advanced · 9 min · 21.4K views · 2024 Pushing updates to users instantly instead of making them ask. 2 How Converged Indexes makes Rockset super-efficient in all kinds of queries | Rockset Internals Advanced · 11 min · 8.9K views · 2024 How databases store and find data, and what guarantees they give. 3 How Rockset executes query and scales the query compute horizontally on demand | Rockset Internals Advanced · 10 min · 8.7K views · 2024 How a system grows from one server to many without falling over. 4 How Rockset achieves zero data latency and workload isolation at scale Advanced · 13 min · 10.5K views · 2024 How a system grows from one server to many without falling over. 5 Designing a Realtime Gaming Leaderboard - Horizontally Scalable and Highly Available Intermediate · 11 min · 31.3K views · 2024 Pushing updates to users instantly instead of making them ask. Dissecting Juno DB A series from the creator, in the order they made it. 4 videos · 56 min 0/41 High level architecture and System Design of JunoDB Intermediate · 14 min · 8.1K views · 2023 Designing of JunoDB: what it must do, the main parts, and the trade-offs. 2 How JunoDB is designed to scale horizontally Intermediate · 16 min · 4.2K views · 2023 How a system grows from one server to many without falling over. 3 How JunoDB is designed to achieve six 9's of availability Intermediate · 14 min · 4.7K views · 2023 What you give up to stay available or correct when machines fail. 4 How JunoDB is designed to be a highly secure database Intermediate · 12 min · 9.3K views · 2023 How databases store and find data, and what guarantees they give. Latest uploads Quantization Fundamentals - How LLMs are Served Efficiently with Low Memory - Inference Engineering 28.2K views · 2 months ago How Google Manages 2 Billion Lines of Code in a Single Repository 117.4K views · 2 months ago Bitcask Explained - A Log-Structured fast KV Store Used By Uber 22.4K views · 2 months ago Deckrun - Presentation Utility for Markdown and Self-contained HTML 42K views · 2 months ago Hyperloglog and Cardinality Estimation 11.4K views · 4 months ago How Redis Implements Strings | Redis Internals 3.7K views · 4 months ago
What viewers say (12) Show all 12 Public comments on this channel's recent videos. They are not reviews of this site.
One of the simplest way to understand consistent hashing is to just watch this video! Great video, finally understood clearly.... Thanks
@divytripathy378 · 6 likes
on Consistent Hashing and Its Implementation From the First Principles
I’ve just started learning about EOS, and here’s a video by my favorite teacher.
@virajhinge2735 · 4 likes
on How Kafka Actually Achieves Exactly-Once Semantics
Just yesterday I was reading about the consistent hashing and here is your video on it, cool co-incident!
@dhruvsolanki.v · 1 likes
on Consistent Hashing and Its Implementation From the First Principles
Crystal-clear breakdown of why LLM token generation is fundamentally memory-bandwidth bound rather than compute bound during the autoregressive decode phase. In production vLLM / TensorRT-LLM serving clusters, the real win from FP8 or AWQ/GPTQ INT4 weight quantization isn't just fitting larger models onto fewer GPUs—it's freeing up HBM capacity for the PagedAttention KV cache so you can increase concurrent batch size without hitting HBM swap or recomputation stalls on long-context requests.
@TechVizArchitecture
on Quantization Fundamentals - How LLMs are Served Efficiently with Low Memory - Inference Engineering
Waiting for retrieval system and RAG. This also says that I watched the whole video and was hooked. Thank you and keep them coming :)
@kritibindra4232
on How Kafka Actually Achieves Exactly-Once Semantics
Thanks, Arpit! This video really helped connect quite a few dots for me.
@tejpunjraju9718
on Quantization Fundamentals - How LLMs are Served Efficiently with Low Memory - Inference Engineering
Your path · 0/140 watched Start with What are L4 Load Balancers and how do they work? 1. The basics0/5 2. The building blocks0/93 3. Design whole systems (HLD)0/10 4. Low-level design (LLD)0/1 5. Go deeper0/31 Add all to watch later Copy as checklistAll videos, channel names, pictures and comments belong to Asli Engineering and the people who wrote them. Videos play in YouTube’s own player and link back to the channel; nothing is copied. Numbers and comments come from YouTube and are refreshed regularly. By using them you also agree to the YouTube Terms of Service ; Google’s Privacy Policy applies. To have this page changed or removed, tell us here .