Any one can explain/share the design details here why Chrome uses up to 6 sockets per host and RFC 2626 suggests no more than 2 connections.
My understanding is now use spdy each socket can handle multiple request/responses, so only one connection is required per client is required, then why 6 sockets?
I am confused with the facts: Chrome socket pool (6 sockets per host), RFC(no more 2sockets per host), spdy(1 connection is enough)
Does each tab process share the socket pool? What if socket is closed by server, then in runtime the process get the related socket from the pool and check its status and decide reconnect?
below are excerpt from:
http://www.chromium.org/developers/design-documents/network-stacksaid:
"
Currently these are set to 32 sockets per proxy, 6 sockets per destination host, and 256 sockets per process (not implemented exactly correct, but good enough). Socket pools also abstract the socket request from the fulfillment, thereby giving us "late binding" of sockets. A socket request can be fulfilled by a newly connected socket or an idle socket (reused from a previous http transaction)."
"According to RFC 2616 (page 46), a single-user client should not maintain more than 2 connections with any server or proxy."