5 ms·
This is great. Now please solve the head of line blocking for time critical data.
by gafferongames 9y ago
This is great. Now please solve the head of line blocking for time critical data.
- lern_too_spel 9y agoThat's solved in HTTP2 and other connection multiplexing protocols.
- manigandham 9y agoHTTP/2 runs on top of a single TCP connection so it's still vulnerable to TCP ordering requirements. TCP will probably never have a mainstream solution to this, better to switch to UDP or QUIC instead.
- morecoffee 9y agoWhile I agree QUIC is a better long term solution[1], saying TCP ordering affects HTTP/2 is misleading. It is true, but it is quite easy to avoid bad behavior by using TCP_NOTSENT_LOWAT (also created by Google), to avoid HoL blocking. For example, SPDY had a similar problem which was ameliorated by only sending when the water mark is low enough: https://insouciant.org/tech/prioritization-only-works-when-theres-pending-data-to-prioritize/ https://insouciant.org/tech/prioritization-only-works-when-t... [1] https://news.ycombinator.com/item?id=12282898 https://news.ycombinator.com/item?id=12282898
- vitus 9y agoOnly sort of. You still have some HOL blocking problems with HTTP2 because you're still running on top of TCP. I recall this explicitly being one of the selling points of QUIC. First resource I found on this matter from a quick search: https://engineering.salesforce.com/the-full-picture-on-http-2-and-hol-blocking-7f964b34d205 https://engineering.salesforce.com/the-full-picture-on-http-...
- kev009 9y agoSCTP