Get the latest tech news

There isn't much point to HTTP/2 past the load balancer


I want to write a post about Pitchfork, explaining where it comes from, why it is like it is, and how I see its future. But before I can get to that, I think I need to share my mental model on a few things, in this case, HTTP/2.

Personally, this lack of support doesn’t bother me much, because the only use case I can see for it, is wanting to expose your Ruby HTTP directly to the internet without any sort of load balancer or reverse proxy, which I understand may seem tempting, as it’s “one less moving piece”, but not really worth the trouble in my opinion. And even if you are on a single machine, it’s probably to leave that concern to a reverse proxy, which will also take care of serving static assets, normalize inbound requests, and also probably fend off at least some malicious actors. There are numerous battle-tested reverse proxies such as Nginx, Caddy, etc, and they’re pretty simple to setup, might as well use these common middlewares rather than to try to do everything in a single Ruby application.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of point

point

Photo of HTTP/2

HTTP/2

Photo of load balancer

load balancer

Related news:

News photo

Marvel Rivals was reportedly almost cancelled at one point, because NetEase objected to paying Disney

News photo

Handful of users claim new Nvidia GPUs are melting power cables again | At this point, it's unclear whether the issues are one-offs or systemic.

News photo

Elementary Functions and Not Following IEEE754 Floating-Point Standard (2020)