skip to main content
10.1145/1989240.1989256acmconferencesArticle/Chapter ViewAbstractPublication PagesmmsysConference Proceedingsconference-collections
research-article

Improving HTTP performance using "stateless" TCP

Published: 01 June 2011 Publication History

Abstract

TCP is quite a heavyweight protocol when serving very small web pages. We introduce a server-side kernel modification which enables a web server to perform HTTP over a UDP socket while the kernel provides a regular TCP interface 'on the wire' to remote clients. We show that our "stateless" TCP modification can greatly reduce a server's CPU usage (>20%) and TCP related memory requirements(>90%), potentially enabling it to serve small web pages even under extreme overload conditions.

References

[1]
D. Bernstein. SYN cookies. http://cr.yp.to/syncookies.html.
[2]
N. Dukkipati, T. Refice, Y. Cheng, J. Chu, T. Herbert, A. Agarwal, A. Jain, and N. Sutin. An argument for increasing TCP's initial congestion window. ACM SIGCOMM CCR, 40:26--33, June 2010.
[3]
W. Eddy. TCP SYN Flooding Attacks and Common Mitigations. RFC 4987 (Informational), Aug. 2007.
[4]
R. Fielding, J. Gettys, J. Mogul, H. Frystyk, L. Masinter, P. Leach, and T. Berners-Lee. Hypertext Transfer Protocol -- HTTP/1.1. RFC 2616, June 1999.
[5]
L. Foundation. Netem -- network emulation. http://www.linuxfoundation.org/collaborate/workgroups/networking/netem, Nov. 2009.
[6]
R. Gummadi, H. Balakrishnan, P. Maniatis, and S. Ratnasamy. Not-a-bot: improving service availability in the face of botnet attacks. In USENIX NSDI, pages 307--320, Berkeley, CA, USA, 2009.
[7]
D. Hayes, M. Rossi, and G. Armitage. Improving DNS performance using "Stateless" TCP in FreeBSD 9. Technical Report 101022A, Centre for Advanced Internet Architectures, Swinburne University of Technology, Melbourne, Australia, 22 October 2010.
[8]
G. Huston. Stateless and dnsperate! The ISP Column, http://www.potaroo.net/ispcol/2009-11/stateless.pdf, November 2009.
[9]
D. Mosberger, T. Jin, S. Eranian, and D. Carter. Httperf homepage. http://www.hpl.hp.com/research/linux/httperf/, Feb. 2009.
[10]
A. Perlstein. ACCF_DATA -- buffer incoming connections until data arrives. FreeBSD Man 9, Nov. 2000.
[11]
A. Perlstein, S. Hearn, and J. R. van der Werven. ACCEPT_FILTER -- filter incoming connections. FreeBSD Man 9, June 2000.
[12]
RSnake. Slowloris. http://ha.ckers.org/slowloris/, June 2009.
[13]
A. Shieh, A. C. Myers, and E. G. Sirer. A stateless approach to connection-oriented protocols. ACM Trans. Comput. Syst., 26:8:1--8:50, September 2008.
[14]
W. Simpson. TCP Cookie Transactions (TCPCT). RFC 6013 (Experimental), Jan. 2011.
[15]
D.-E. Smorgrav and J. R. van der Werven. ZONE -- zone allocator. FreeBSD Man 9, Oct. 2010.
[16]
B. Strong. Google and Microsoft cheat on slow-start. Should you? http://blog.benstrong.com/2010/11/google-and-microsoft-cheat-on-slow.html, November 2010.
[17]
supercat. Stateless tcp/ip server. http://www.halfbakery.com/idea/Stateless_20TCP_2fIP_20server, October 2004.
[18]
L. von Ahn, M. Blum, N. Hopper, and J. Langford. Captcha: Using hard AI problems for security. In EUROCRYPT 2003. Springer, 2003.
[19]
X. Yang, D. Wetherall, and T. Anderson. A DoS-limiting network architecture. In SIGCOMM '05, pages 241--252, New York, NY, USA, 2005. ACM.

Cited By

View all
  • (2019)Towards Stateless RNIC for Data Center NetworksProceedings of the 3rd Asia-Pacific Workshop on Networking10.1145/3343180.3343183(57-63)Online publication date: 17-Aug-2019
  • (2014)Security Problem Modeling of Database Connection PoolApplied Mechanics and Materials10.4028/www.scientific.net/AMM.543-547.3276543-547(3276-3279)Online publication date: Mar-2014

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
NOSSDAV '11: Proceedings of the 21st international workshop on Network and operating systems support for digital audio and video
June 2011
138 pages
ISBN:9781450307772
DOI:10.1145/1989240
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 2011

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. freebsd
  2. http
  3. stateless tcp
  4. tcp

Qualifiers

  • Research-article

Conference

NOSSDAV '11
Sponsor:

Acceptance Rates

Overall Acceptance Rate 118 of 363 submissions, 33%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2019)Towards Stateless RNIC for Data Center NetworksProceedings of the 3rd Asia-Pacific Workshop on Networking10.1145/3343180.3343183(57-63)Online publication date: 17-Aug-2019
  • (2014)Security Problem Modeling of Database Connection PoolApplied Mechanics and Materials10.4028/www.scientific.net/AMM.543-547.3276543-547(3276-3279)Online publication date: Mar-2014

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media