Trickles: a stateless network stack for improved scalability, resilience, and flexibility

Traditional operating system interfaces and network protocol implementations force system state to be kept on both sides of a connection. Such state ties the connection to an endpoint, impedes transparent failover, permits denial-of-service attacks, and limits scalability. This paper introduces a novel TCP-like transport protocol and a new interface to replace sockets that together enable all state to be kept on one endpoint, allowing the other endpoint, typically the server, to operate without any per-connection state. Called Trickles, this approach enables servers to scale well with increasing numbers of clients, consume fewer resources, and better resist denial-of-service attacks. Measurements on a full implementation in Linux indicate that Trickles achieves performance comparable to TCP/IP, interacts well with other flows, and scales well. Trickles also enables qualitatively different kinds of networked services. Services can be geographically replicated and contacted through an anycast primitive for improved availability and performance. Widely-deployed practices that currently have client-observable side effects, such as periodic server reboots, connection redirection, and failover, can be made transparent, and perform well, under Trickles. The protocol is secure against tampering and replay attacks, and the client interface is backwards-compatible, requiring no changes to sockets-based client applications.

[1]  William I. Nowicki,et al.  NFS: Network File System Protocol specification , 1989, RFC.

[2]  Ray Jain,et al.  The art of computer systems performance analysis - techniques for experimental design, measurement, simulation, and modeling , 1991, Wiley professional computing.

[3]  Raj Jain,et al.  The art of computer systems performance analysis - techniques for experimental design, measurement, simulation, and modeling , 1991, Wiley professional computing.

[4]  S. Hadjiefthymiades,et al.  Hypertext Transfer Protocol (HTTP) , 1996 .

[5]  Roy T. Fielding,et al.  Hypertext Transfer Protocol - HTTP/1.1 , 1997, RFC.

[6]  Pekka Nikander,et al.  Stateless connections , 1997, ICICS.

[7]  Matthew Mathis,et al.  Automatic TCP buffer tuning , 1998, SIGCOMM '98.

[8]  Joan Daemen,et al.  AES Proposal : Rijndael , 1998 .

[9]  Peter Druschel,et al.  A Scalable and Explicit Event Delivery Mechanism for UNIX , 1999, USENIX Annual Technical Conference, General Track.

[10]  Vern Paxson,et al.  TCP Congestion Control , 1999, RFC.

[11]  Balachander Krishnamurthy,et al.  Key Differences Between HTTP/1.0 and HTTP/1.1 , 1999, Comput. Networks.

[12]  Stefan Savage,et al.  TCP congestion control with a misbehaving receiver , 1999, CCRV.

[13]  Willy Zwaenepoel,et al.  IO-Lite: a unified I/O buffering and caching system , 1999, TOCS.

[14]  Jonathan Lemon Kqueue - A Generic and Scalable Event Notification Facility , 2001, USENIX Annual Technical Conference, FREENIX Track.

[15]  Stefan Savage,et al.  Robust congestion signaling , 2001, Proceedings Ninth International Conference on Network Protocols. ICNP 2001.

[16]  Jean C. Walrand,et al.  A Receiver-Driven Transport Protocol for the Web , 2002, Telecommun. Syst..

[17]  André Zúquete,et al.  Improving the functionality of syn cookies , 2002, Communications and Multimedia Security.

[18]  Liviu Iftode,et al.  Service continuations: an operating system mechanism for dynamic migration of Internet service sessions , 2003, 22nd International Symposium on Reliable Distributed Systems, 2003. Proceedings..

[19]  Raghupathy Sivakumar,et al.  A Receiver-Centric Transport Protocol for Mobile Hosts with Heterogeneous Wireless Interfaces , 2003, MobiCom '03.

[20]  Liviu Iftode,et al.  System support for service availability, remote healing and fault tolerance using lazy state propagation , 2004 .

[21]  Paul Francis,et al.  Towards a Deployable IP Anycast Service , 2004, WORLDS.

[22]  David E. Culler,et al.  Operating Systems Support for Planetary-Scale Network Services , 2004, NSDI.

[23]  Jeffrey C. Mogul,et al.  Unveiling the transport , 2004, CCRV.

[24]  Pablo Rodriguez,et al.  Performance optimizations for wireless wide-area networks: comparative study and experimental evaluation , 2004, MobiCom '04.

[25]  Ion Stoica,et al.  Stateless Core: A Scalable Approach for Quality of Service in the Internet , 2004, Lecture Notes in Computer Science.