Managing TCP connections under persistent HTTP

Citation
E. Cohen et al., Managing TCP connections under persistent HTTP, COMPUT NET, 31(11-16), 1999, pp. 1709-1723
Citations number
35
Categorie Soggetti
Information Tecnology & Communication Systems
Journal title
COMPUTER NETWORKS-THE INTERNATIONAL JOURNAL OF COMPUTER AND TELECOMMUNICATIONS NETWORKING
ISSN journal
13891286 → ACNP
Volume
31
Issue
11-16
Year of publication
1999
Pages
1709 - 1723
Database
ISI
SICI code
1389-1286(19990517)31:11-16<1709:MTCUPH>2.0.ZU;2-3
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, resultin g in many consecutive short-lived TCP connections. The emerging HTTP/1.1 re duces latencies and overhead from closing and re-establishing connections b y supporting persistent connections as a default. A TCP connection which is kept open and reused for the next HTTP request reduces overhead and latenc y. 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 mess ages, 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% re duction in cost with respect to the fixed-timeout policy. Hence, allowing W eb sewers and clients to more fully reap the benefits of persistent HTTP. ( C) 1999 Published by Elsevier Science B.V. All rights reserved.