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.

HTTP/2.0 Initial Draft Released

89 pointsby bpedroalmost 12 years ago

7 comments

inopinatusalmost 12 years ago
Why didn&#x27;t they use SRV[1] records in DNS to resolve http2 requests? It has so many advantages:<p><pre><code> * Permitted at the domain apex (yes really! unlike CNAMEs!) * Allow weighted round-robin * Allows lower-priority fallback services * Unusual port numbers no longer required in URIs * Doesn&#x27;t get confused with non-HTTP services located at the same FQDN. </code></pre> It&#x27;s the modern way to federate services! And there&#x27;s very wide DNS server support - everything from BIND to Active Directory.<p>Fortunately the standard (nor as far as I can see, the normative references) doesn&#x27;t actually say you have to use an A-type record. Unfortunately that will remain the convention unless someone makes this easy but explicit change.<p>I&#x27;d get involved but I fear the politics. Would I have any chance of being able to advocate for this change?<p>[1] <a href="http://en.wikipedia.org/wiki/SRV_record" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;SRV_record</a>
评论 #6126035 未加载
judofyralmost 12 years ago
&gt; Another new concept is the ability for either side to push data over an established connection. While the concept itself is hardly revolutionary — this is after all how TCP itself functions – bringing this capability to the widespread HTTP world will be no small improvement and may help marry the simplicity of an HTTP API with the fully-duplexed world of TCP. While this is also useful for a server-to-server internal APIs, this functionality will provide an alternative to web sockets, long polling, or simply repeated requests back to the server – the traditional three ways to emulate a server pushing live data in the web world.<p>As far as I know, this is not true. Server Push is only for the server and can only be done as a response to a request. It&#x27;s not a WebSocket alternative.<p>Server Push means that when a client sends a request (GET &#x2F;index.html), the server can respond with responses for multiple resources (e.g. &#x2F;index.html, &#x2F;style.css and &#x2F;app.js can be sent). This means the client doesn&#x27;t have to explicitly GET those resources which saves bandwidth and latency.
评论 #6125985 未加载
评论 #6125940 未加载
fenesiistvanalmost 12 years ago
Microsoft already released and open sourced server code which (partially) supports HTTP 2: <a href="http://blogs.msdn.com/b/interoperability/archive/2013/07/29/start-testing-with-first-implementation-of-ietf-http-2-0-draft-from-ms-open-tech.aspx" rel="nofollow">http:&#x2F;&#x2F;blogs.msdn.com&#x2F;b&#x2F;interoperability&#x2F;archive&#x2F;2013&#x2F;07&#x2F;29&#x2F;...</a>
jimktrains2almost 12 years ago
I think that the changes being made for &quot;HTTP 2&quot; are a terrible decision for HTTP. For SPDY, sure, make it as complex and as hard to work with as you want in the name of performance, but please keep my HTTP a nice, simple, text-based protocol that I can work with very easily.<p>I just feel that HTTP should not reïmplement TCP. SPDY&#x2F;HTTP2 just seems much more complex than necessary.<p><a href="http://jimkeener.com/posts/http" rel="nofollow">http:&#x2F;&#x2F;jimkeener.com&#x2F;posts&#x2F;http</a> is a 90% complete post of what I would like to see as HTTP 1.2 and some other things I think would be beneficial.
评论 #6128476 未加载
评论 #6128492 未加载
asm89almost 12 years ago
The draft was released earlier this month. There was an interesting discussion about it back then too: <a href="https://news.ycombinator.com/item?id=6012525" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6012525</a><p>At the same time I also submitted another article that I still think is interesting and relevant as of today: <a href="https://news.ycombinator.com/item?id=6014976" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6014976</a>
cm3almost 12 years ago
Does <a href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-04#section-4.1" rel="nofollow">http:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;draft-ietf-httpbis-http2-04#secti...</a> <a href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-04#section-4.2" rel="nofollow">http:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;draft-ietf-httpbis-http2-04#secti...</a> and <a href="http://tools.ietf.org/html/draft-ietf-httpbis-http2-04#section-9.1" rel="nofollow">http:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;draft-ietf-httpbis-http2-04#secti...</a> mean sendfile(2) can&#x27;t be used with HTTP&#x2F;2.0?
评论 #6125918 未加载
评论 #6126747 未加载
X4almost 12 years ago
I think HTTP&#x2F;2.0 should break backward compatibility and take a more advanced step than &quot;little improvements like that&quot;. Killing TCP&#x2F;IP completely and inventing a more efficiently compressed, more government resistant and more easily encryptable Protocol would be highly anticipated. The reason is that even adopting HTTP2.0 in that state would take at least a decade or more.<p>Here&#x27;s stuff that backs my argument:s<p>a) <a href="http://rina.tssg.org/docs/PSOC-MovingBeyondTCP.pdf" rel="nofollow">http:&#x2F;&#x2F;rina.tssg.org&#x2F;docs&#x2F;PSOC-MovingBeyondTCP.pdf</a><p>b) <a href="http://users.ece.cmu.edu/~adrian/630-f04/readings/bellovin-tcp-ip.pdf" rel="nofollow">http:&#x2F;&#x2F;users.ece.cmu.edu&#x2F;~adrian&#x2F;630-f04&#x2F;readings&#x2F;bellovin-t...</a><p>And here are more viable and real alternatives that not only increase the speed by a factor of n, but also increase security and compatibility to our mobile generation:<p><a href="http://www.fujitsu.com/global/news/pr/archives/month/2013/20130129-02.html" rel="nofollow">http:&#x2F;&#x2F;www.fujitsu.com&#x2F;global&#x2F;news&#x2F;pr&#x2F;archives&#x2F;month&#x2F;2013&#x2F;20...</a><p><a href="http://users.ece.cmu.edu/~adrian/630-f04/readings/bellovin-tcp-ip.pdf" rel="nofollow">http:&#x2F;&#x2F;users.ece.cmu.edu&#x2F;~adrian&#x2F;630-f04&#x2F;readings&#x2F;bellovin-t...</a><p><a href="http://roland.grc.nasa.gov/nrg/local/sctp.net-computing.pdf" rel="nofollow">http:&#x2F;&#x2F;roland.grc.nasa.gov&#x2F;nrg&#x2F;local&#x2F;sctp.net-computing.pdf</a> &#x2F; <a href="http://tools.ietf.org/html/rfc4960" rel="nofollow">http:&#x2F;&#x2F;tools.ietf.org&#x2F;html&#x2F;rfc4960</a><p><a href="http://www.qualcomm.com/media/documents/why-raptor-codes-are-better-tcpip-file-transfer" rel="nofollow">http:&#x2F;&#x2F;www.qualcomm.com&#x2F;media&#x2F;documents&#x2F;why-raptor-codes-are...</a><p>PS: I was initially afraid that HTTP2.0 was optimized for Advertisers...pheww
评论 #6126619 未加载
评论 #6126808 未加载
评论 #6126285 未加载
评论 #6126766 未加载
评论 #6126516 未加载