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

YouTube

HTTP Graceful Shutdown - The Backend Engineering Show

Hussein Nasser via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to implement graceful connection shutdowns in backend systems to properly close connections while allowing clients and servers to clean up resources and complete pending requests. Explore the fundamental reasons why backends need to terminate connections, including preventing unexpected situations, blocking bad actors, and freeing up system resources. Master HTTP/1.1 graceful shutdown techniques using connection headers to signal connection closure intentions to clients. Understand the costs and complexities associated with HTTP/2 multiplexing and connection management. Discover how HTTP/2's GOAWAY frame provides a mechanism for servers to gracefully signal connection termination while allowing existing streams to complete. Examine real-world examples and implementation details for both HTTP versions, including browser behavior and connection pooling strategies. Gain practical insights into when and how to apply graceful shutdown patterns in production backend systems to maintain service reliability and user experience.

Syllabus

- 0:00 Intro
- 4:58 Why shutdown connection?
- 6:46 HTTP/1.1 Graceful shutdown
- 12:26 Cost of HTTP/2
- 17:40 HTTP/2 GoAWAY frame
- 23:40 Summary

Taught by

Hussein Nasser

Reviews

Start your review of HTTP Graceful Shutdown - 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.