Managing TCP connections under persistent HTTP

Edith Cohen, Haim Kaplan, Jeffrey Oldham

Research output: Contribution to journalConference articlepeer-review

19 Scopus citations

Abstract

Hyper Text Transfer Protocol (HTTP) traffic dominates Internet traffic. The exchange of HTTP messages is implemented using the connection-oriented TCP. HTTP/1.0 establishes a new TCP connection for each HTTP request, resulting in many consecutive short-lived TCP connections. The emerging HTTP/1.1 reduces latencies and overhead from closing and re-establishing connections by supporting persistent connections as a default. A TCP connection which is kept open and reused for the next HTTP request reduces overhead and latency. Open connections, however, consume sockets and memory for socket-buffers. This trade-off establishes a need for connection-management policies. We propose policies that exploit embedded information in the HTTP request messages, e.g., senders' identities and requested URLs, and compare them to the fixed-timeout policy used in the current implementation of the Apache Web server. An experimental evaluation of connection management policies at Web servers, conducted using Web server logs, shows that our URL-based policy consistently outperforms other policies, and achieves significant 15-25% reduction in cost with respect to the fixed-timeout policy. Hence, allowing Web servers and clients to more fully reap the benefits of persistent HTTP.

Original languageEnglish
Pages (from-to)1709-1723
Number of pages15
JournalComputer Networks
Volume31
Issue number11
DOIs
StatePublished - 17 May 1999
Externally publishedYes
EventThe WWW8: 8th International World Wide Web Conference - Toronto, Ont., Can
Duration: 11 May 199914 May 1999

Fingerprint

Dive into the research topics of 'Managing TCP connections under persistent HTTP'. Together they form a unique fingerprint.

Cite this