{"podcast":{"title":"The Backend Engineering Show with Hussein Nasser","slug":"the-backend-engineering-show-with-hussein-nasser-847440","podcast_index_feed_id":847440,"rss_url":"https://anchor.fm/s/1eb6d14/podcast/rss","website_url":"https://database.husseinnasser.com","image_url":"https://d3t3ozftmdmh3i.cloudfront.net/production/podcast_uploaded_nologo/222061/222061-1626111277047-d82a050054721.jpg","author":"Hussein Nasser","episode_count":541,"summary":"Welcome to the Backend Engineering Show podcast with your host Hussein Nasser. If you like software engineering you’ve come to the right place. I discuss all sorts of software engineering technologies and news with specific focus on the backend. All opinions are my own. Most of my content in the podcast is an audio version of videos I post on my youtube channel here http://www.youtube.com/c/HusseinNasser-software-engineering Buy me a coffee https://www.buymeacoffee.com/hnasr 🧑‍🏫 Courses I Teach https://husseinnasser.com/courses","last_synced_at":"2026-07-11T00:20:07.790472+00:00","page_url":"https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440"},"episode":{"title":"Graceful shutdown in HTTP","slug":"graceful-shutdown-in-http","published_at":"2025-10-17T14:00:00+00:00","page_url":"https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/graceful-shutdown-in-http","show_page_url":"https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440","url":"https://podcasters.spotify.com/pod/show/hnasr/episodes/Graceful-shutdown-in-HTTP-e38c5sc","audio_url":"https://anchor.fm/s/1eb6d14/podcast/play/108451148/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2025-8-17%2Fbb4629d3-d6a7-5ef6-9cf7-a6b9f4aaca71.m4a","summary":"There are cases where the backend may need to close the connection to prevent unexpected situations, prevent bad actors or simply just free up resources. Closing a connection gracefully allows clients and backends to clean up and finish any pending requests. In this episode of the backend engineering show I discuss graceful connections in both HTTP/1.1 via the connection header and HTTP/2 via the GOAWAY frame. 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 Links https://www.youtube.com/watch?v=fVKPrDrEwTI&amp;t=1s https://chromium.googlesource.com/chromium/src/net/%2B/master/socket/client_socket_pool_manager.cc#76 https://issues.chromium.org/issues/40555364 https://issues.chromium.org/issues/40501721","meta_description":"There are cases where the backend may need to close the connection to prevent unexpected situations, prevent bad actors or simply just free up resources.…","key_points":[],"chapters":[],"topics":[],"duration_seconds":1549,"processing_state":"not_requested","actions":[{"name":"request_transcript","method":"POST","url":"https://stenobird.com/v1/public/podcasts/the-backend-engineering-show-with-hussein-nasser-847440/episodes/graceful-shutdown-in-http/transcription-requests","description":"Idempotently request low-priority transcript generation for this episode."},{"name":"read_markdown","method":"GET","url":"https://stenobird.com/podcast/the-backend-engineering-show-with-hussein-nasser-847440/graceful-shutdown-in-http.md","description":"Read the agent-friendly Markdown representation of this episode resource."}]}}