Advantages
- Less CPU and memory usage (because fewer connections are open simultaneously)
- Enables HTTP pipelining of requests and responses
- Reduced network congestion (fewer TCP connections)
- Reduced latency in subsequent requests (no handshaking)
- Errors can be reported without the penalty of closing the TCP connection
According to RFC 2616 (page 46), a single-user client should not maintain more than 2 connections with any server or proxy. A proxy should use up to 2×N connections to another server or proxy, where N is the number of simultaneously active users. These guidelines are intended to improve HTTP response times and avoid congestion. If HTTP pipelining is correctly implemented, there is no performance benefit to be gained from additional connections, while additional connections may cause issues with congestion.
Read more about this topic: HTTP Persistent Connection
Famous quotes containing the word advantages:
“There is no one thoroughly despicable. We cannot descend much lower than an idiot; and an idiot has some advantages over a wise man.”
—William Hazlitt (17781830)
“No advantages in this world are pure and unmixed.”
—David Hume (17111776)
“We work harder than ever, and I cannot see the advantages in cooperative living.”
—Lydia Arnold, U.S. commune supervisor (of the North American Phalanx, Red Bank, New Jersey, 1843- 1855)