Threads and Connections - The Backend Engineering Show
Offered By: Hussein Nasser via YouTube
Course Description
Overview
Explore the evolution of multi-threading applications and their impact on backend connection management in this comprehensive 50-minute episode of The Backend Engineering Show. Dive into five threading models, examining their pros and cons, and learn how they interleave with request handling. Begin with an introduction to single threading, then progress through multi-threading concepts, connection listeners, and the establishment of connections. Analyze various threading architectures, including single listener/worker thread, multiple worker threads, load balancing implementations, and the use of SO_REUSEPORT for multiple listeners on the same port. Conclude with insights on multiple single-threaded backend systems, gaining a thorough understanding of threads and connections in backend engineering.
Syllabus
Intro
Single Threading
Multi-Threading
Connection Listener
How Connections are Established
Single Listener/Worker thread
Single Listener, Multiple Worker threads
Single Listener, Multiple Workers with load balancing
Multiple Listeners on the same port SO_REUSEPORT
Multiple Single Threaded Backend
Taught by
Hussein Nasser
Related Courses
Backend Engineering - BeginnerHussein Nasser via YouTube Backend Engineering - Intermediate
Hussein Nasser via YouTube HTTP - Live Stream
Hussein Nasser via YouTube Mutual TLS - The Backend Engineering Show
Hussein Nasser via YouTube DNS Is Beautiful
Hussein Nasser via YouTube