Why Netflix uses TCP but PUBG uses UDP? (System Design)

Why Netflix uses TCP but PUBG uses UDP? (System Design)

​🎁 Download the 2026 Architect’s System Design Checklist (FREE PDF): 👉 https://designwealth.gumroad.com/l/acyrh (Enter '0' in the price box to get it for free!) ​Why does a 200ms lag kill a PUBG game, but a Netflix movie plays perfectly even with a 5-second delay? The answer isn't "Internet Speed". It is the Network Protocol. ​In this System Design episode, we break down the engineering difference between Real-time Gaming (UDP) vs Video Streaming (TCP). We explain why "Reliability" is sometimes the enemy of "Speed" and how Packet Loss actually works. ​We go beyond basic definitions to explain real-world backend engineering concepts like Connection Pooling, Socket Exhaustion, and the difference between HTTP/3 (QUIC) and TCP. ​🔥 What you will learn in this video: ✅ The "Gaming Lag" Explained: Why "Packet B" causes you to die behind walls. ✅ TCP vs UDP: The "Courier Service vs FM Radio" Analogy. ✅ Head of Line Blocking: Why one lost packet can freeze a website. ✅ Connection Pooling: Handling 50,000 req/min using the "Taxi Stand" logic. ✅ Socket Exhaustion: A critical production mistake with HttpClient in Java/.NET. ✅ Cost Optimization: How choosing the wrong protocol can double your cloud bill. ​⏳ Timestamps: 0:00 - Why you die behind cover (The Hook) 1:00 - What you'll learn (The Menu) 1:30 - How UDP Packets work (The Envelope Logic) 3:00 - TCP vs UDP: Courier vs Radio Analogy 5:00 - Head of Line Blocking & QUIC 6:15 - The Money Game: Reducing Cloud Costs 7:45 - Connection Pooling (The Airport Taxi Logic) 9:30 - Common Production Mistake: Socket Exhaustion & DNS 10:15 - Security: TLS vs DTLS 11:00 - Conclusion (The R.F.C. Rule) 12:00 - Netflix Interview Question (Homework) ​🔗 Keywords & Topics Covered: System Design Basics for Beginners Why Netflix uses TCP vs UDP UDP in Online Gaming vs Streaming Connection Pooling (HikariCP / ADO.NET) Socket Exhaustion and IHttpClientFactory ​👨‍💻 About Me: I am a Software Architect aiming to turn Coders into Architects. We talk about System Design, Scalability, and Real world Engineering problems. ​#SystemDesign #TCPvsUDP #SoftwareArchitecture #NetflixEngineering #BackendDevelopment #Networking #ZeroToArchitect