Abstract
Asynchronous Common Subset (ACS) protocols are fundamental building blocks for distributed systems and blockchains, allowing nodes to agree on a shared set of transactions under unpredictable network conditions. However, traditional ACS protocols suffer from high message complexity ($O(n^3)$) and performance bottlenecks. JANUS is the first hybrid ACS protocol to leverage Trusted Execution Environments (TEEs) to overcome these limitations. By reducing message complexity to $O(n^2)$ and enabling optimal resilience ($f < n/2$), JANUS achieves a 92% throughput increase over industry standards like HoneyBadgerBFT.
1. Introduction
In the realm of Byzantine Fault Tolerant (BFT) systems, ACS allows a network to reach consensus even when some nodes are malicious and the network is asynchronous. Despite their importance, existing protocols face three major hurdles:
- High Complexity: The classic BKR paradigm requires $O(n^3)$ messages, hindering scalability.
- The "Slowest Link" Bottleneck: Running $n$ parallel agreement instances often forces the system to wait for the slowest node, increasing latency.
- Resilience Limits: Purely asynchronous protocols are typically limited to tolerating $f < n/3$ malicious nodes.
JANUS addresses these challenges by utilizing trusted hardware to guarantee non-equivocation, thereby simplifying the consensus process and improving fault tolerance.
2. System Architecture and Methods
JANUS introduces a hybrid architecture that combines traditional distributed algorithms with TEE-backed components, such as Intel SGX. The protocol's efficiency stems from two primary innovations: Provable Broadcast and Vector-Based Agreement.
2.1 Provable Broadcast (PB) with Trusted Hardware
Traditional Reliable Broadcast (RBC) requires expensive all-to-all communication. JANUS replaces this with a 3-step Provable Broadcast. It leverages two trusted components—a Counter and a Collector—within the TEE. The Counter prevents a malicious leader from sending conflicting messages to different nodes (equivocation), while the Collector manages internal states. This hardware-enforced honesty reduces broadcast complexity from $O(n^2)$ to $O(n)$ per instance.
2.2 Vector-Based Agreement
Rather than executing $n$ separate binary agreement instances for each node's proposal, JANUS aggregates votes into a single $n$-sized vector.
As shown in the figure above, this vectorization allows the network to resolve all $n$ agreements simultaneously in a single message exchange. This approach drastically reduces the number of digital signatures required, leading to significant bandwidth savings and lower CPU overhead.
3. Evaluation and Key Results
JANUS was benchmarked in a geo-distributed setup on Google Cloud Platform across Sydney, Tokyo, and Atlanta, using Intel SGX-enabled hardware. The protocol was compared against standard ACS (HoneyBadgerBFT, BEAT) and hybrid BFT baselines (MinBFT, Damysus).
- Throughput: JANUS demonstrated a 92% increase over HoneyBadgerBFT and a 47% increase over BEAT.
- Latency: The protocol reduced average latency by 63% compared to HoneyBadgerBFT.
- Scalability: In large-scale tests, JANUS outperformed other hybrid protocols like MinBFT by 89% and Damysus by up to 72%, proving its resilience under high-load scenarios.
- Complexity: The system successfully achieved the theoretical goal of $O(n^2)$ total message complexity, a major improvement over the $O(n^3)$ complexity found in traditional asynchronous models.
4. Discussion and Future Work
While JANUS provides a significant performance leap, it relies on the security of the underlying TEE. The authors acknowledge that commercial TEEs have faced side-channel attacks (e.g., Spectre); however, JANUS is designed to be TEE-agnostic, allowing it to migrate to more secure hardware as it becomes available.
Future research will focus on mitigating sequential processing bottlenecks within trusted hardware and testing the protocol in even larger, more diverse global network environments. By pushing the fault tolerance threshold to $f < n/2$, JANUS sets a new standard for secure, high-performance asynchronous consensus.
Summary updated