5 Backend Design Patterns for Managing Threads and Sockets
In this video I introduce 5 different design patterns for building backend applications. Each mode explains how a socket listener is established, a connections are established and how threads and connections are managed to read, write and process requests. 0:00 Intro 2:00 Single Thread 6:00 Multiple Threads 8:00 The problem with multi threading 12:16 Socket Listener 19:30 connection establishment 26:30 Single Listener Single Thread Mode 30:30 Single Listener Multiple Threads Mode 35:00 Single Listener Load Balanced Threads Mode 38:12 Multiple Listeners SO_REUSEPORT 41:25 Multiple Single Threaded Backend Fundamentals of Operating Systems Course https://courses.husseinnasser.com NodeJS Internals and Architecture https://node.win Backend Troubleshooting Course https://performance.husseinnasser.com Fundamentals of Backend Engineering https://backend.win Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon) https://network.husseinnasser.com Fun
Watch on Hussein Nasser
Opens in a new tab




