4 ms·
note: > Only use binary protocols where the performance is so sensitive that it's worth the implementation and debugging downside SPDY was created explicitly
by zokier 15y ago
note:
> Only use binary protocols where the performance is so sensitive that it's worth the implementation and debugging downside
SPDY was created explicitly to improve performance.
- nknight 15y agoMost of SPDY's "speediness" comes from fundamental design properties, not its regrettably atextual implementation. From Google's perspective, this level of optimization is appropriate -- they have scaling problems most of us could only dream of. From everyone else's perspective, however, it's very over-engineered.
- pornel 15y agoThere are surely huge wins from having single TCP/IP stream and gzipping all of it including headers, but I wonder how much difference binary format makes on top of that? Maybe you save 100B per request? On a large page that makes 100 requests? 10KB. When you've got one stream that eliminates roundtrip time/TCP/IP slow start that's simply 80milliseconds on a basic 1Mbit broadband.
- kijin 15y agoAt Google's scale, you might want to multiply that by a trillion or two.