In Link We Trust: BFT at the Speed of CFT using Switches
Lior Zeno (Technion – Israel Institute of Technology), Naama Ben-David (Technion – Israel Institute of Technology), Mark Silberstein (Technion – Israel Institute of Technology)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · Reliability Through Verification
Overview
Distributed systems rely on state machine replication (SMR) to achieve high availability, masking server failures by coordinating updates across multiple replicas using a consensus protocol. When designing these systems, engineers differentiate between crash-fault-tolerant (CFT) models, where nodes simply stop operating, and Byzantine-fault-tolerant (BFT) models, where compromised or buggy nodes can act arbitrarily. While BFT protocols offer significantly greater robustness, they traditionally impose a heavy performance penalty. They require more replicas ($3F+1$ instead of $2F+1$), rely on expensive cryptographic signatures, and demand additional communication rounds to commit messages. This talk introduces SwitchBFT, a novel protocol that bridges the performance gap between BFT and CFT by leveraging a centralized programmable switch as a trusted hardware component.

Key moments
- 0:00 Introduction to state machine replication and BFT vs CFT
- 2:11 Using trusted hardware components to speed up BFT
- 3:25 Introducing the programmable switch as a trusted component
- 5:17 Switch capabilities and limitations for BFT protocols
- 7:35 Switch BFT protocol design and assumptions
- 10:11 Handling packet loss and the recovery protocol
- 12:56 Implementation details and performance evaluation results
- 15:24 Conclusion and opening for questions
In Link We Trust: BFT at the Speed of CFT using Switches
Speakers: Lior Zeno (Technion – Israel Institute of Technology); Naama Ben-David (Technion – Israel Institute of Technology); Mark Silberstein (Technion – Israel Institute of Technology)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=LWnWS-fRmU0
Overview
Distributed systems rely on state machine replication (SMR) to achieve high availability, masking server failures by coordinating updates across multiple replicas using a consensus protocol. When designing these systems, engineers differentiate between crash-fault-tolerant (CFT) models, where nodes simply stop operating, and Byzantine-fault-tolerant (BFT) models, where compromised or buggy nodes can act arbitrarily. While BFT protocols offer significantly greater robustness, they traditionally impose a heavy performance penalty. They require more replicas ($3F+1$ instead of $2F+1$), rely on expensive cryptographic signatures, and demand additional communication rounds to commit messages. This talk introduces SwitchBFT, a novel protocol that bridges the performance gap between BFT and CFT by leveraging a centralized programmable switch as a trusted hardware component.
The core premise of SwitchBFT is that modern programmable data center switches—already positioned in the network path—can act as trust anchors without executing heavy cryptographic operations or storing massive message payloads. By utilizing physical link topology for packet source authentication and executing lightweight state tracking, SwitchBFT achieves the same performance and fault tolerance as CFT protocols. It eliminates public-key cryptography from the critical path entirely. This work addresses a long-standing systems dilemma: how to achieve Byzantine resilience without paying the traditional cryptographic and multi-round communication taxes that have long limited BFT deployment in high-performance environments.
Background
▶ Watch: Introduction to state machine replication and BFT vs CFT (0:00)
To understand why BFT protocols are notoriously slow, one must examine their communication and computational bottlenecks. Standard BFT protocols must tolerate up to $F$ arbitrary failures among $3F+1$ replicas. To prevent Byzantine replicas from equivocating (sending contradictory messages to different peers), classical protocols rely heavily on asymmetric cryptography, such as digital signatures and public-key validations. Generating and verifying these signatures introduces substantial CPU overhead. Furthermore, reaching consensus across geographically or topologically dispersed replicas requires multiple communication rounds, resulting in high latency and depressed throughput during normal-case execution.
Prior research attempted to bypass these cryptographic bottlenecks by introducing localized trusted components—such as smart NICs, trusted execution environments (TEEs) like Intel SGX, or sticky bits in memory—to eliminate equivocation. However, these localized components still leave systems bound by cryptographic overheads and require complex peer-to-peer validation loops when faults occur.
Meanwhile, programmable switches have emerged as powerful packet-processing engines capable of line-rate forwarding and custom pipeline execution. While they cannot store entire message payloads due to strict memory constraints, and cannot run heavy cryptographic routines due to compute limitations, they possess a unique global view: they see every packet entering the system and know its physical ingress port. SwitchBFT builds upon the observation that distributed systems already implicitly trust network switches to deliver unsigned packets faithfully. By formalizing this trust and pushing specific sequencing and verification primitives into the switch data plane, SwitchBFT achieves BFT safety at raw CFT speeds.
Key Findings
▶ Watch: Introducing the programmable switch as a trusted component (3:25)
The central discovery presented in this work is that Byzantine consensus can be decoupled from cryptographic signatures by shifting packet source authentication and sequence verification into the network fabric. The primary contributions and findings include:
- CFT-Level Performance for BFT: SwitchBFT matches the throughput and latency of NoPaxos (a state-of-the-art CFT replication protocol that uses a switch as a sequencer) while providing full $F$-Byzantine resilience.
- Elimination of Cryptography: By replacing digital signatures with physical link-layer port authentication and lightweight switch-maintained state bits, SwitchBFT operates entirely without cryptographic signing or verification in the fast path.
- Single-Round-Trip Commits: Under loss-free network conditions, SwitchBFT commits client messages in a single round trip without requiring cross-replica coordination talks.
- Robustness Under Loss: SwitchBFT maintains near-peak performance under low packet-drop rates (e.g., $0.1\%$) and suffers only a $20\%$ degradation under high drop rates—outperforming alternative hardware-assisted BFT schemes like NeoBFT, which fail to recover certain messages under heavy loss.
- Negligible Hash Overhead: For message sizes up to 256 bytes, hash computation overhead is negligible, and even at maximum evaluated message sizes, SwitchBFT is only $15\%$ slower than unverified CFT baselines.
Technical Deep Dive
▶ Watch: Switch BFT protocol design and assumptions (7:35)
SwitchBFT relies on two primary sub-protocols: a fast-path sequencing protocol and a recovery protocol for handling packet drops. The architecture assumes a partially synchronous, lossy network, a crash-prone (non-Byzantine) trusted programmable switch, any number of Byzantine clients, and $2F+1$ servers (where up to $F$ can be Byzantine).
Verifiable Unreliable Atomic Broadcast (VUAB)
The foundation of SwitchBFT is a primitive called VUAB, which guarantees exactly once delivery, total ordering across all servers, and verifiable message content in the absence of packet loss.
- Client Broadcast: A client computes a cryptographic digest of its message and transmits both the message and the digest to the programmable switch.
- Switch Sequencing: The switch assigns a monotonically increasing sequence number $K$ to the message, stores the sequence number along with the message digest in its constrained memory, and multicasts the package to all $2F+1$ servers.
- Server Verification: Upon receiving the payload, each server verifies that the received digest matches the message body. This step is critical because the switch does not perform deep packet inspection, and clients may act maliciously by submitting incorrect digests.
The Recovery Protocol
Because data center networks are lossy, messages can be dropped, leading to sequence gaps at individual servers (e.g., a server receives message $K+1$ while missing message $K$). Since programmable switches lack the memory capacity to store full message payloads for retransmission, servers must recover missing data from their peers.
- Peer Recovery Request: A server detecting a gap requests the missing message from all other servers. Responding servers supply the message, which is then validated using VUAB principles.
- Switch-Assisted Consistency: To prevent divergent recovery outcomes among replicas, the switch maintains two bits per server tracking responses to recovery procedures (unreplied, replied with bottom, or replied with a message).
- Locking Decisions: Once servers reach a consensus for a specific sequence number during recovery, the switch locks that decision in its memory, enforcing that any subsequent recovery attempts for that slot yield identical results.
Experimental Setup & Results
▶ Watch: Handling packet loss and the recovery protocol (10:11)
The authors implemented SwitchBFT using P4 running on programmable network switches, paired with clients and servers deployed on Intel bare-metal machines equipped with Intel NICs. They benchmarked SwitchBFT against several baselines: NoPaxos (a CFT protocol using a switch sequencer), NeoBFT (a BFT protocol utilizing an FPGA for cryptography), MinBFT (utilizing Intel SGX), and traditional software-only BFT protocols lacking trusted hardware components.
- End-to-End Replication Performance: Latency-throughput benchmarks demonstrate that SwitchBFT achieves performance virtually identical to NoPaxos, significantly outperforming NeoBFT, MinBFT, and software baselines.
- Key-Value Store Workload: When evaluated within a replicated key-value store application, SwitchBFT proved that the switch state-tracking logic does not bottleneck application throughput.
- Message Size Scaling: Testing message sizes from small payloads up to larger block sizes revealed that hashing overhead remains negligible up to 256 bytes. At larger packet sizes, SwitchBFT operates only $15\%$ slower than standard CFT NoPaxos.
- Fault Resilience and Packet Drops: Under a $0.1\%$ packet drop probability, SwitchBFT sustains near-peak performance. Under high drop rates, throughput decreases by $20\%$. In contrast, NeoBFT experiences catastrophic failures, proving unable to recover certain messages under equivalent loss loads.
Practical Implications
▶ Watch: Conclusion and opening for questions (15:24)
For infrastructure teams and model deployers, SwitchBFT demonstrates that hardware-assisted consensus can eliminate the traditional false dichotomy between raw performance and Byzantine security. By offloading sequencing and verification primitives to programmable switches already present in modern data center fabrics, operators can secure distributed training clusters, parameter servers, and high-throughput inference coordination layers against Byzantine faults without paying the heavy latency penalties associated with digital signatures and multi-round voting.
However, practitioners must weigh specific system tradeoffs and limitations. The architecture relies on the operational integrity of the programmable switch; while switches are physically isolated via management plane separation and vendor locking, a switch crash halts forward progress (though the protocol tolerates switch crashes safely without corrupting safety guarantees). Furthermore, data plane memory limitations dictate that switches cannot serve as archival storage; networks suffering from extreme, sustained packet drops will trigger frequent peer-to-peer recovery rounds, dampening performance advantages.
Key Takeaways
- Programmable switches can serve as trust anchors in distributed systems, bridging the performance gap between CFT and BFT protocols.
- SwitchBFT replaces expensive cryptographic digital signatures with physical link-layer port authentication and lightweight switch-maintained state bits.
- The protocol achieves single-round-trip message commits under loss-free network conditions without cross-replica communication.
- SwitchBFT matches the throughput and latency of state-of-the-art CFT protocols like NoPaxos.
- The system handles network packet loss gracefully, maintaining peak performance at low drop rates and outperforming FPGA-assisted alternatives like NeoBFT under heavy loss.
About the Speaker(s)
The research was presented by Lior Zeno, a researcher at the Technion – Israel Institute of Technology, representing joint work co-authored with Naama Ben-David and Mark Silberstein, also from the Technion. Their work focuses on systems architecture, distributed consensus, and the intersection of programmable networking hardware and fault-tolerant distributed algorithms.
Reviews
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)