Scale Forem

Scale YouTube
Scale YouTube

Posted on

Hussein Nasser: HTTP Graceful shutdown | The Backend Engineering Show

HTTP Graceful Shutdown TL;DR

Ever wondered how your backend can politely hang up on clients without dropping half-finished requests? In this episode Hussein walks you through why you’d ever want to shut down HTTP connections (spoiler: free resources, fend off bad actors) and shows the nuts and bolts of doing it in HTTP/1.1 with the Connection: close header versus HTTP/2’s slick GOAWAY frame.

He breaks it down with real-world Chromium code references, chats about the performance trade-offs of HTTP/2, and leaves you with a neat summary of best practices so your next shutdown will be as smooth as possible.

Watch on YouTube

Top comments (0)