Rollback-Recovery for Middleboxes
Authors:
Open Access
- 17 August 2015
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 45 (5) , 227-240
Abstract
Network middleboxes must offer high availability, with automatic failover when a device fails. Achieving high availability is challenging because failover must correctly restore lost state (e.g., activity logs, port mappings) but must do so quickly (e.g., in less than typical transport timeout values to minimize disruption to applications) and with little overhead to failure-free operation (e.g., additional per-packet latencies of 10-100s of us). No existing middlebox design provides failover that is correct, fast to recover, and imposes little increased latency on failure-free operations. We present a new design for fault-tolerance in middleboxes that achieves these three goals. Our system, FTMB (for Fault-Tolerant MiddleBox), adopts the classical approach of "rollback recovery" in which a system uses information logged during normal operation to correctly reconstruct state after a failure. However, traditional rollback recovery cannot maintain high throughput given the frequent output rate of middleboxes. Hence, we design a novel solution to record middlebox state which relies on two mechanisms: (1) 'ordered logging', which provides lightweight logging of the information needed after recovery, and (2) a `parallel release' algorithm which, when coupled with ordered logging, ensures that recovery is always correct. We implement ordered logging and parallel release in Click and show that for our test applications our design adds only 30$\mu$s of latency to median per packet latencies. Our system introduces moderate throughput overheads (5-30%) and can reconstruct lost state in 40-275ms for practical systems.Keywords
Funding Information
- Intel Research
- NSF (DGE-1106400)
This publication has 32 references indexed in Scilit:
- Making middleboxes someone else's problem2012
- The middlebox manifesto2011
- An untold story of middleboxes in cellular networks2011
- virtioACM SIGOPS Operating Systems Review, 2008
- A survey of rollback-recovery protocols in message-passing systemsACM Computing Surveys, 2002
- Manetho: transparent roll back-recovery with low overhead, limited rollback, and fast output commitIEEE Transactions on Computers, 1992
- Implementing fault-tolerant services using the state machine approach: a tutorialACM Computing Surveys, 1990
- Optimistic recovery in distributed systemsACM Transactions on Computer Systems, 1985
- Time, clocks, and the ordering of events in a distributed systemCommunications of the ACM, 1978
- System DeadlocksACM Computing Surveys, 1971