Tuesday, March 11, 2014

TCP, HTTP and SPDY Protocols

Here's an interesting webcast by Ivan Pepelnjak on TCP, HTTP and the new protocol from Google called SPDY.

In short, the problem with many websites is that TCP was written back in the 1980's and not optimized for today's high-speed networks.  Add to the problem, HTTP was written also to be a universal protocol delivering many components for web sites.  Put these two together and you have a stack that works, but is not optimized for quick applications.  The solutions now days are to increase the presentation layer to be stateful in keeping connections open to clients for as long as they can (at the cost of memory on the servers) or have the clients process cookies and be slowed down as they reconnect.

Google's answer to the problem is to have a new session layer protocol that establishes connectivity quickly and has a low footprint, allowing legacy http applications to stay open and start-up fast.  The protocol is designed to work over a secure TLS layer without the additional overhead that the current TCP implementation has.

It's a good challenge to see if it works.  Initially the results are that the protocol is not that much faster, but with more light-weight appliances coming online that have built in web server interfaces, this may be a answer to bloated applications we see now.

No comments:

Post a Comment