Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Threads and Connections - The Backend Engineering Show

Hussein Nasser via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Threads and Connections - The Backend Engineering Show

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.