Lépjen offline állapotba az Player FM alkalmazással!
Graceful shutdown in HTTP
Manage episode 514199093 series 1954062
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&t=1s
533 epizódok
Manage episode 514199093 series 1954062
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&t=1s
533 epizódok
Minden epizód
×Üdvözlünk a Player FM-nél!
A Player FM lejátszó az internetet böngészi a kiváló minőségű podcastok után, hogy ön élvezhesse azokat. Ez a legjobb podcast-alkalmazás, Androidon, iPhone-on és a weben is működik. Jelentkezzen be az feliratkozások szinkronizálásához az eszközök között.