Uploaded January 2026 | Updated November 2026, 2 hours ago
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.
My Book
paperback
amzn.to/4cKfZhe
ebook
amzn.to/4cfQjJj
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
courses.husseinnasser.com
NodeJS Internals and Architecture
https://node.win
Backend Troubleshooting Course
performance.husseinnasser.com
Fundamentals of Backend Engineering
https://backend.win
Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
network.husseinnasser.com
Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
database.husseinnasser.com
Follow me on Medium
medium.com/@hnasr/membership
Introduction to NGINX (link redirects to udemy with coupon)
nginx.husseinnasser.com
Python on the Backend (link redirects to udemy with coupon)
python.husseinnasser.com
Become a Member on YouTube
youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join
Buy me a coffee if you liked this
buymeacoffee.com/hnasr
Arabic Software Engineering Channel
youtube.com/channel/UChWZsjdoRvZ0T9QWZOD6UpA
🔥 Members Only Content
youtube.com/playlist?list=UUMO_ML5xP23TOWKUcc-oAE_Eg
🏭 Backend Engineering Videos in Order
backend.husseinnasser.com
💾 Database Engineering Videos
youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2
🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast
Gears and tools used on the Channel (affiliates)
🖼️ Slides and Thumbnail Design
Canva
partner.canva.com/c/2766475/647168/10068
Stay Awesome,
Hussein
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.
My Book
paperback
amzn.to/4cKfZhe
ebook
amzn.to/4cfQjJj
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
courses.husseinnasser.com
NodeJS Internals and Architecture
https://node.win
Backend Troubleshooting Course
performance.husseinnasser.com
Fundamentals of Backend Engineering
https://backend.win
Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
network.husseinnasser.com
Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
database.husseinnasser.com
Follow me on Medium
medium.com/@hnasr/membership
Introduction to NGINX (link redirects to udemy with coupon)
nginx.husseinnasser.com
Python on the Backend (link redirects to udemy with coupon)
python.husseinnasser.com
Become a Member on YouTube
youtube.com/channel/UC_ML5xP23TOWKUcc-oAE_Eg/join
Buy me a coffee if you liked this
buymeacoffee.com/hnasr
Arabic Software Engineering Channel
youtube.com/channel/UChWZsjdoRvZ0T9QWZOD6UpA
🔥 Members Only Content
youtube.com/playlist?list=UUMO_ML5xP23TOWKUcc-oAE_Eg
🏭 Backend Engineering Videos in Order
backend.husseinnasser.com
💾 Database Engineering Videos
youtube.com/playlist?list=PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2
🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast
Gears and tools used on the Channel (affiliates)
🖼️ Slides and Thumbnail Design
Canva
partner.canva.com/c/2766475/647168/10068
Stay Awesome,
Hussein









