The author delves into the nuances of HTTP/2, addressing common complaints about the lack of support in Ruby HTTP servers like Puma. While HTTP/2 aims to reduce page load latency through multiplexing requests and compressing headers, its benefits are more pronounced over the Internet than within a data center. The removal of server push capability and the similarity between HTTP/1.1 and HTTP/2 further diminish the significance of supporting HTTP/2 in Ruby servers. The author advocates for leaving HTTP/2 implementation to load balancers or reverse proxies, emphasizing simplicity and efficiency in infrastructure setup. Overall, HTTP/2 support in Ruby servers is considered non-essential by the author.
https://byroot.github.io/ruby/performance/2025/02/24/http2-past-the-load-balancer.html