News for hackers. Stuff that matters.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by RyanZAG on Monday January 27, 2014 @12:45AM (#7129008)
The complexity difference between HTTP1 and HTTP2 is pretty huge. Not sure if they're even remotely the same protocol anymore.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by meowface on Monday January 27, 2014 @01:11AM (#7129066)
Agreed. This spec reads more like a brand new and complex transport protocol than an application one.

Is it HTTP 2.0's plan to completely replace "middleware" like SPDY with a full featured protocol?

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by thristian on Monday January 27, 2014 @08:06AM (#7130086)
HTTP 2.0 started with the SPDY spec and has been smoothed and refined during the IETF process, so yeah, it is planned to completely replace SPDY.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by mcguire on Monday January 27, 2014 @03:26PM (#7132964)
"Smoothed and refined" by the IETF?
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by alanh on Monday January 27, 2014 @07:05PM (#7134300)
What are you seeking to clarify? Hard to tell if you are inquiring as to how that happened, quibbling with the word choices, or disagreeing completely.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by techdragon on Monday January 27, 2014 @11:39PM (#7135352)
Looks to me that it was an expression of 'quizzical sarcasm' in the form of a question.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by mcguire on Thursday January 30, 2014 @03:38PM (#7153211)
I should probably have explained further, but there is a certain amount of irony in that statement.

See [email protected] for more details: http://www.ietf.org/mail-archive/web/ietf/current/maillist.h...

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by rakoo on Monday January 27, 2014 @01:32PM (#7132120)
The actual current of things is that HTTP 2.0 is what we want in the end, and SPDY is a toy to see what could be cool to add. When something that was tested with SPDY looks right, it is moved to the HTTP2 spec. I think the long-term goal is to deprecate SPDY in favor of HTTP2.

This way of development is very interesting because it enables not only to change rapidly, but also to try completely new things on a different "namespace" (ie without polluting the whole HTTP stacke already deployed)

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by rrmm on Monday January 27, 2014 @07:11AM (#7129922)
The complexity is not horrible as far as communications protocols go.

Anyone know what working implementations exist currently?

Ideally, it'd be nice to see actual real world data showing the benefits over http 1.1.

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by stephen_g on Monday January 27, 2014 @09:12AM (#7130330)
There's a C++ implementation here, but I'm not sure how complete it is: https://github.com/http2d/core

I think nginx and Chrome support SPDY which HTTP 2.0 was based on, so that performance should be able to be tested and be fairly representative of what we can expect.

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by jimktrains2 on Monday January 27, 2014 @11:13AM (#7131062)
But that's the thing...it's _not_ a communication's protocol. It's a transfer protocol...
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by ll_cool_james on Tuesday January 28, 2014 @01:44AM (#7135724)
To-may-to, to-mah-to..
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by jimktrains2 on Tuesday January 28, 2014 @12:47PM (#7138487)
No, because a communication protocol has to handle all the types of problems HTTP and TCP solve. A transfer protocol is concerned with moving data and meta data, not the problems TCP solves.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by wmf on Monday January 27, 2014 @02:35PM (#7132581)
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by blueskin_ on Monday January 27, 2014 @04:42AM (#7129553)
Yes, and about time too.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by bitwize on Monday January 27, 2014 @01:03AM (#7129050)
The old Unix model (simple, do one thing, text formats, etc.) is dead. The world has come to prefer code and protocols which perform well at scale.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by wmf on Monday January 27, 2014 @01:11AM (#7129068)
Since the semantics of 1.1 and 2.0 are the same (besides push) you can choose which encoding you prefer based on your requirements and constraints. In fact, maybe we should rename HTTP/1.1 to "HTTP/2.0 Textual Encoding" or something so that people can feel like they're not missing out on anything. It worked for USB 2.0.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by josteink on Monday January 27, 2014 @03:24AM (#7129371)
Or we can call SPDY^WHTTP 2.0 "binary barf kitchensink internet multiplex protocol" instead.

Let's not taint good, old HTTP in the process please.

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by salgernon on Monday January 27, 2014 @11:18AM (#7131102)
I've never understood this sentiment. Its not like we can know what is passing through the boxes by watching the blinkenlights - this isn't paper tape anymore.

You have to use tcpdump to break up the binary bits - and since its likely encrypted, set up the appropriate certificates if you want to decipher arbitrary traffic anyway.

If its your own app, you know what requests are going where and can hex dump them any way you choose.

The whole "its binary so its bad" thing is a complete non-issue. I've heard people complaining "netcat doesn't work anymore" but there's no reason why netcat2 can't be used to talk to arbitrary HTTP/2.0 endpoints.

Sorry, I lost some mates in the SOAP wars of the late 90s and I'm still bitter.

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by ubernostrum on Monday January 27, 2014 @01:05PM (#7131916)
Personally, my issue with HTTP 2 is that it seems to be designed from the assumption that Google-scale is the common or even only use case, and that optimizing Google's bandwidth use is the sole purpose of HTTP.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by salgernon on Monday January 27, 2014 @02:19PM (#7132465)
To me, the real reason is that we want to get to the point where all traffic is secure, and since the cost of establishing that secure connection is high we should do more with the secure connections we've got before letting it drop!
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by ynik on Monday January 27, 2014 @11:00AM (#7130975)
Let's not pretend that HTTP 1.1 was simple. Text formats break down whenever they need to contain arbitrary (possible non-text) data.

You get one of:

* complex escaping rules (and assorted inefficiencies)

* non-text portions embedded within the text protocol (ever tried to parse HTTP with a Java InputStreamReader? you can't properly switch back to binary mode at the end of the headers...)

* variable end-of-content markers that cannot occur in the content

Of course, HTTP 1.x uses ALL of the above (see possible values for Transfer-Encoding). It's a horribly complicated mess that is only surpassed by MIME email.

Binary protocols usually just specify the length of the data, followed by a binary blob with the data. MUCH simpler!

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by pwg on Monday January 27, 2014 @11:59AM (#7131424)
> Binary protocols usually just specify the length of the data, followed by a binary blob with the data. MUCH simpler!

It is possible to have the same simplicity with a textual protocol, it is just that most text protocol designers don't bother with explicit prefixed lengths:

For example, see: http://cr.yp.to/proto/netstrings.txt

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by wmf on Monday January 27, 2014 @02:38PM (#7132606)
When people say "text protocol" I think they really mean "something I can type into telnet"; stuff like netstrings and BEEP don't really count.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by thirsteh on Monday January 27, 2014 @02:34AM (#7129244)
I'm sorry, but are you really implying that HTTP doesn't scale?
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by alanh on Monday January 27, 2014 @07:13PM (#7134328)
Are you really implying it doesn’t? So many Web “best practices” are working around the limitations of HTTP and the web 1.0 legacy we still carry around. See:

1. Concatenating resources (1 CSS file is worlds better than 50. Need it be?)

2. Inlining resources (see above)

3. Scaling, yes, is very hard! Look at all the techniques for deploying updates to web apps without breaking users' experiences.

I’m not saying HTTP2.0 will or won't solve all these problems, but clearly there is much room for improvement over HTTP 1

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by thirsteh on Tuesday January 28, 2014 @10:41AM (#7137673)
Am I implying that it does? Yes.

1. We do that for other reasons too, anyway, like minifying and optimization. For other things, keepalive has worked fairly well.

2. Sure.

3. This has nothing to do with the protocol.

I don't really disagree vehemently with your points--I'm just pointing out that claiming HTTP doesn't scale is completely ludicrous, given that it literally powers nearly everything of scale.

Re:HTTP 2.0: GTFO (General Termination of Future Operations) by bitwize on Friday January 31, 2014 @09:48AM (#7156865)
SPDY wouldn't be a thing if HTTP were sufficient at the massive scales we're talking here.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by gaius on Monday January 27, 2014 @02:46AM (#7129277)
Nonsense. This is the same mentality that prefers EJBs and other complexity for its own sake.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by troels on Monday January 27, 2014 @05:40AM (#7129671)
At scale .. Wait - You're trolling, right? Nice try - Almost fell for it.
Re:HTTP 2.0: GTFO (General Termination of Future Operations) by polarix on Monday January 27, 2014 @02:34AM (#7129240)
Pulling up the drawbridge.