HTTP/2: Why It Doesn't Matter in Ruby HTTP Servers
This post discusses the relevance of HTTP/2 support in Ruby HTTP servers like Puma. The author argues that while HTTP/2's main advantage – multiplexing for faster page load times – is significant over the internet, it offers little benefit on a LAN. Low latency and long-lived connections within a LAN minimize the impact of TCP slow start. Furthermore, HTTP/2's server push feature proved detrimental and has been superseded by the more elegant 103 Early Hints. The author advocates leaving HTTP/2 handling to load balancers or reverse proxies, simplifying deployment and maintenance for the application server.
Read more