Live data from Hacker News

HTTP/1 should die; HTTP/2 can do everything HTTP/1 could, only faster

medium.com

1–10 of 62 posts

Re: HTTP/1 should die; HTTP/2 can do everything HTTP/1 could, only faster

#5
One important difference: HTTP/2 requires* encryption. This makes getting up and running for local development and small deployments more difficult.

* https://http2.github.io/faq/#does-http2-require-encryption "[...] currently no browser supports HTTP/2 unencrypted."

Re: HTTP/1 should die; HTTP/2 can do everything HTTP/1 could, only faster

#7
Aha, this article is by the creator of Quart[0]! I'm a big fan - one of my favorite new python packages. It's essentially a super zippy, flask-compatible asyncio python server. I switched a flask app over recently and saw an immediate 10-20x throughput gain (the app is entirely io-bound). pgjones was a pleasure to work with when I had a few issues and had to contribute a few compat fixes as well. Thanks for the awesome package!

[0]: https://gitlab.com/pgjones/quart/

Re: HTTP/1 should die; HTTP/2 can do everything HTTP/1 could, only faster

#8
post #7

Aha, this article is by the creator of Quart[0]! I'm a big fan - one of my favorite new python packages. It's essentially a super zippy, flask-compatible asyncio python server. I switched a flask app over recently and saw an immediate 10-20x throughput gain (the app is entirely io-bound). pgjones was a pleasure to work with when I had a few issues and had to contribute a few compat fixes as well. Thanks for the aweso…

Wow, any chance you could write up the throughput gain? It would be great to see some real production numbers.

Thanks for the comments.

Re: HTTP/1 should die; HTTP/2 can do everything HTTP/1 could, only faster

#10

pathetic that you only make people pay attention using clickbaity and angry titles

I think my articles in the past have been too dull; I think people would like to read something interesting and entertaining so I'm trying to improve in this regard. Was the article a good read or did the title put you off?
Post reply on HN