[Paper Review] SMaRtLight: A Practical Fault-Tolerant SDN Controller
SMaRtLight proposes a practical, fault-tolerant SDN controller architecture for small to medium networks using a replicated shared database implemented as a Byzantine Fault-Tolerant Replicated State Machine (BFT-RSM), eliminating the need for external coordination services. The design ensures smooth primary takeover with low latency and high performance, achieving 200 flows/s in a learning switch workload—significantly outperforming disk-logged alternatives—while maintaining consistency and safety under failures.
The increase in the number of SDN-based deployments in production networks is triggering the need to consider fault-tolerant designs of controller architectures. Commercial SDN controller solutions incorporate fault tolerance, but there has been little discussion in the SDN literature on the design of such systems and the tradeoffs involved. To fill this gap, we present a by-construction design of a fault-tolerant controller, and materialize it by proposing and formalizing a practical architecture for small to medium-sized scale networks. A central component of our particular design is a replicated shared database that stores all network state. Contrary to the more common primary-backup approaches, the proposed design guarantees a smooth transition in case of failures and avoids the need of an additional coordination service. Our preliminary results show that the performance of our solution fulfills the demands of the target networks. We hope this paper to be a first step in what we consider a necessary discussion on how to build robust SDNs.
Motivation & Objective
- To address the lack of detailed discussion on fault-tolerant SDN controller design in the literature, especially for small to medium networks.
- To propose a by-construction, practical architecture that ensures high availability and smooth failover in SDN controllers.
- To eliminate dependency on external coordination services like ZooKeeper by embedding coordination logic within the fault-tolerant data store.
- To demonstrate that a centralized controller can be made robust and performant through replication and caching, even under controller or data store replica failures.
- To provide a design blueprint for open-source SDN controllers like OpenDaylight to incorporate fault tolerance effectively.
Proposed method
- The controller uses a replicated shared database implemented as a Byzantine Fault-Tolerant Replicated State Machine (BFT-RSM), ensuring consistency and fault tolerance across replicas.
- All network and application state is stored in the shared data store, enabling all controllers (primary or backup) to maintain identical views of the network.
- A cache is integrated into each controller to reduce read latency by avoiding repeated access to the shared data store.
- The system uses BFT-SMaRt’s consistency semantics to natively handle primary election and lease acquisition, eliminating the need for external coordination services.
- The architecture supports fast, bounded-time primary replacement—under 1 second in experiments—by leveraging the data store’s built-in coordination mechanisms.
- Performance is evaluated using a modified CBench workload, measuring throughput during normal operation and controller/data store failure scenarios.
Experimental results
Research questions
- RQ1How can a practical, fault-tolerant SDN controller be architected for small to medium networks without relying on external coordination services?
- RQ2What are the performance and failover characteristics of a controller that uses a BFT-RSM-based shared data store for state management?
- RQ3Can a centralized controller design achieve high availability and fast failover through replication and caching, while maintaining consistency?
- RQ4How does the performance of a BFT-RSM-based data store compare to disk-logged state persistence in real-world SDN workloads?
- RQ5What are the tradeoffs of embedding coordination logic within the data store versus using external services like ZooKeeper in SDN controller fault tolerance?
Key findings
- The SMaRtLight architecture achieves a throughput of 200 flows per second in a learning switch workload, which is 250 times faster than a disk-logged state persistence approach.
- Primary controller failover is completed in less than one second, with full system throughput restored in approximately four seconds due to switch reconfiguration and JVM warm-up.
- The failure of a data store replica has no observable impact on system performance, demonstrating the resilience of the replication model.
- The use of a controller-side cache significantly reduces read latency and improves overall system responsiveness by minimizing shared data store access.
- The system maintains strong consistency and safety across all replicas under all failure conditions, including network partitions and controller crashes.
- The performance of the BFT-RSM-based data store outperforms the consistent data store used in Onix, especially under high load, due to optimized throughput techniques.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.