TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Hello HTTP/2, Goodbye SPDY

426 pointsby Nimiover 10 years ago

19 comments

drderidderover 10 years ago
I got a copy of Paul-Henning Kamp&#x27;s critique &quot;HTTP&#x2F;2.0 - The IETF is Phoning It In&quot; off the ACM website before the link went dead. Here&#x27;s a bit of what he said about it:<p>&quot;Some will expect a major update to the world’s most popular protocol to be a technical masterpiece and textbook example for future students of protocol design. Some will expect that a protocol designed during the Snowden revelations will improve their privacy. Others will more cynically suspect the opposite. There may be a general assumption of &quot;faster.&quot; Many will probably also assume it is &quot;greener.&quot; And some of us are jaded enough to see the &quot;2.0&quot; and mutter &quot;Uh-oh, Second Systems Syndrome.&quot;<p>The cheat sheet answers are: no, no, probably not, maybe, no and yes.<p>If that sounds underwhelming, it’s because it is.<p>HTTP&#x2F;2.0 is not a technical masterpiece. It has layering violations, inconsistencies, needless complexity, bad compromises, misses a lot of ripe opportunities, etc. I would flunk students in my (hypothetical) protocol design class if they submitted it. HTTP&#x2F;2.0 also does not improve your privacy. Wrapping HTTP&#x2F;2.0 in SSL&#x2F;TLS may or may not improve your privacy, as would wrapping HTTP&#x2F;1.1 or any other protocol in SSL&#x2F;TLS. But HTTP&#x2F;2.0 itself does nothing to improve your privacy. This is almost triply ironic, because the major drags on HTTP are the cookies, which are such a major privacy problem, that the EU has legislated a notice requirement for them. HTTP&#x2F;2.0 could have done away with cookies, replacing them instead with a client controlled session identifier. That would put users squarely in charge of when they want to be tracked and when they don&#x27;t want to—a major improvement in privacy. It would also save bandwidth and packets. But the proposed protocol does not do this.<p>[He goes on to tear a strip off the IETF and the politics behind HTTP&#x2F;2.0 ...]
评论 #9024000 未加载
评论 #9026051 未加载
评论 #9023931 未加载
评论 #9024130 未加载
评论 #9025828 未加载
评论 #9023971 未加载
anderspeterssonover 10 years ago
Looking forward to when HAProxy support for HTTP&#x2F;2 lands since they refused to implement SPDY support.<p>Here&#x27;s a list of common servers support for SPDY&#x2F;HTTP2: <a href="https://istlsfastyet.com/#server-performance" rel="nofollow">https:&#x2F;&#x2F;istlsfastyet.com&#x2F;#server-performance</a>
评论 #9023183 未加载
drawkboxover 10 years ago
HTTP&#x2F;2 might have version 2 syndrome.<p>Another better way would have been keep SPDY, as there is usefulness there, separate and then on HTTP&#x2F;2, to incrementally get there, and use an iteration of something like AS2&#x2F;EDIINT (<a href="https://tools.ietf.org/html/rfc4130" rel="nofollow">https:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc4130</a>) which does encryption, compression and digital signatures on top of existing HTTP (HTTPS is usable as current but not required as it uses best compression&#x2F;encryption currently available that the server supports). This standard still adheres to everything HTTP and hypertext transfer based and does not become a binary file format but relies on baked in MIME.<p>An iteration of that would have been better for interoperability, secure and fast. I have implemented it directly previously from RFC for an EDI product and it is used for sending all financial EDI&#x2F;documents for all of the largest companies in the world Wal-mart, Target, DoD as well as most small and medium businesses with inventory. There are even existing interoperability testing centers setup for testing out and certifying products that do this so that the standard works for all vendors and customers. An iteration of this would have fit in as easily and been more flexible on the secure, compression and encryption side, and all over HTTP if you want as it encrypts the body.
评论 #9025216 未加载
klapinat0rover 10 years ago
SPDY came and went before I had to implement it. Phew.<p>On a serious note: it&#x27;s nice to see ALNP being used in HTTP&#x2F;2
评论 #9023120 未加载
jjcmover 10 years ago
Are there any good reverse proxies out there that support HTTP&#x2F;2? Right now I&#x27;m using varnish, but I&#x27;d love to switch over to something supporting this.
donatjover 10 years ago
Can someone explain to me the actual upside of header compression? I work on a fairly major educational site and calculating now our request + response headers comes out to 1,399 bytes. Gzipping them they come out to 1,421 bytes. A small net increase.<p>Am I missing something? Do some people have so many cookies that this makes a difference or something?
评论 #9024545 未加载
评论 #9026498 未加载
评论 #9024535 未加载
hannobover 10 years ago
Unfortunately right now apache doesn&#x27;t support HTTP&#x2F;2 at all. There was a mod_spdy, but it&#x27;s pretty much dead. Apache took it over from google some time ago, but since then nothing happened.
评论 #9026041 未加载
xpose2000over 10 years ago
Does anyone know if Cloudflare has plans to implement HTTP&#x2F;2? RIght now they support SPDY.<p>I found the answer from their blog:<p>&quot;Part of the service CloudFlare provides is being on top of the latest advances in Internet and web technologies. We&#x27;ve stayed on top of SPDY and will continue to roll out updates as the protocol evolves (and we&#x27;ll support HTTP&#x2F;2 just as soon as it is practical).&quot;
评论 #9024539 未加载
评论 #9024177 未加载
评论 #9027339 未加载
fletchownsover 10 years ago
Anybody know when nginx will support it?
评论 #9023766 未加载
mahouseover 10 years ago
Is HTTPS mandatory on HTTP&#x2F;2 like it was on SPDY?
评论 #9023186 未加载
fdsaryover 10 years ago
What happens if someone built a service based on it? Should they never trust browsers keeping alive even the shitty (in comparison to free and standardised HTTP&#x2F;2) features? What&#x27;s great about the web is that now 20 year old services still are working in the latest runtimes (browsers).
评论 #9022885 未加载
评论 #9022965 未加载
评论 #9022834 未加载
estover 10 years ago
Well how about the fate of the cute little protocol called QUIC?
评论 #9024944 未加载
ameliusover 10 years ago
Anybody aware of a good C++ server framework supporting most of HTTP&#x2F;2, including websockets?
评论 #9024271 未加载
评论 #9023488 未加载
评论 #9023586 未加载
therealmarvover 10 years ago
Does somebody has good nginx configurations for HTTP&#x2F;2? Good that browser go this directions but at the moment I have no clue on how to implement HTTP&#x2F;2 (is there a SPDY fallback?) on my nginx server :(
drawkboxover 10 years ago
HTTP&#x2F;2 is an ugly mess of taking something simple and making it more complex for minimal benefit. It could have been so much better than a binary mess.<p>As engineers, the ones that take simple concepts and add complexity, those are not engineers, those are meddlers.<p>It could be as long lived as XHTML.<p>I was hoping for more SCTP rather than a bunch of cludge on top of what is a pretty beautiful protocol in HTTP 1.1. Protocol designers of the past seemed to have a better long view mixed with simplicity focused on interoperability that you like to see from engineers.
评论 #9025214 未加载
评论 #9025219 未加载
评论 #9024328 未加载
评论 #9024320 未加载
jcofflandover 10 years ago
Google just loves exerting their power. It will take more than Chrome devs declaring it a done deal to make this happen. The browser is only half the issue. Web servers must get on board for this to matter. Obviously Safari, FireFox and IE have some say in this too.
评论 #9024137 未加载
itsbitsover 10 years ago
Hardly a surprise..
ommunistover 10 years ago
@klapinat0r - welcome to the club. I was just about to say the same.
strikingover 10 years ago
I&#x27;m not ever supporting HTTP&#x2F;2. For something &quot;monumental&quot; enough to be called the whole second revision of HTTP, what have we really gained? A Google-backed &quot;server push&quot; mechanism and some minor efficiency additions? Add to that the fact that SPDY was pushed through as HTTP&#x2F;2 because nothing else was ready.<p>Please.<p>Downvoters: although I don&#x27;t usually do this, I&#x27;d ask you to enter into a discussion with me instead of just hitting the down arrow. Do you honestly think my discussion is worth being silenced?
评论 #9023598 未加载
评论 #9023431 未加载
评论 #9023469 未加载