Buffering issues in TCP-based services

Leis, John W. (2002) Buffering issues in TCP-based services. Technical Report. University of Southern Queensland, Faculty of Engineering and Surveying , Toowoomba, Australia. [Report]


Download (176Kb)


Client-server protocols such as HTTP over a TCP transport layer may be implemented in a relatively
straightforward manner, as is often given in 'textbook' examples. Many of these examples do not scale
well to a full implementation across anything but a localhost connection with minimal data payload.
Furthermore, such implementations are invariably less than optimal in terms of performance, robustness
to differing remote client configurations, processor time utilization, and bandwidth usage. It is suggested
that the examples often given in texts are overly simplified, to the point of being misleading. In this
note, we examine some of these issues, resulting from the implementation of HTTP clients and servers using Unix (Berkeley) sockets, Windows NT (Winsock), and Java. Issues addressed include efficient send/receive buffering to minimizing kernel and user data copying, and robustness to variability in record delimiters.

Statistics for USQ ePrint 174
Statistics for this ePrint Item
Item Type: Report (Technical Report)
Refereed: No
Item Status: Live Archive
Additional Information: USQ publication.
Faculty / Department / School: Historic - Faculty of Engineering and Surveying - Department of Surveying and Land Information
Date Deposited: 11 Oct 2007 00:16
Last Modified: 02 Jul 2013 22:30
Uncontrolled Keywords: send/receive buffering, TCP, HTTP clients and servers, kernel, data copying, Unix (Berkeley) sockets, Windows NT (Winsock), Java
Fields of Research : 08 Information and Computing Sciences > 0805 Distributed Computing > 080503 Networking and Communications
08 Information and Computing Sciences > 0805 Distributed Computing > 080505 Web Technologies (excl. Web Search)
Identification Number or DOI: TR-2002-01
URI: http://eprints.usq.edu.au/id/eprint/174

Actions (login required)

View Item Archive Repository Staff Only