Manuscript Offprint
arXiv:2610.07368Byzantine-Tolerant Causal Unicast with Constant Message Space Overhead
Abstract
Causal message ordering provides essential semantics for distributed applications, yet ensuring it within an asynchronous system subject to Byzantine failures presents fundamental theoretical and practical challenges. Prior research establishes that algorithms cannot guarantee both strong safety and liveness without using cryptography under these conditions. Existing Byzantine-tolerant solutions make synchrony assumptions or suffer from message space overheads and message complexity, where is the number of processes in the system, or use cryptography, but may not guarantee strong safety. In this paper, we present a novel Byzantine-tolerant causal ordering algorithm that achieves an optimal application message space overhead for point-to-point messages. Our approach uses a Sender Permission to Send (SPS) invariant and an Isolated-Buffer Optimistic Model for the memory management architecture. To circumvent Byzantine state-pinning and head-of-line blocking attacks, instead of unified causal buffers, we use isolated, per-peer queues equipped with event-driven Cascading Space Evictions. We formally prove that our algorithm guarantees system-wide liveness and satisfies a weakened causal safety abstraction called Congestion-Relaxed Causal Delivery. Under this model, weak causal safety is strictly preserved for all honest-to-honest communications unless extreme network latency or Byzantine withholding attacks exceed quantifiable local buffer capacities, forcing optimistic queue evictions. This formal guarantee successfully balances causal ordering with high throughput, constant message space overhead, low computational overhead, and strictly bounded local space.
CCS Concepts
• Theory of computation → Distributed algorithms; Concurrent algorithms; • Computer systems organization → Dependable and fault-tolerant systems and networks.
1 Introduction
The demand for robust, highly available distributed systems has grown drastically with the rise of cloud computing, distributed data stores, and collaborative interactive applications. In these environments, establishing a consistent order of events is critical to maintaining system semantics [5]. Causal message ordering ensures that the delivery of messages respects the happens-before relationship [14], allowing systems to provide strong consistency guarantees without the overhead of total synchronization.
Ajay D. Kshemkalyani
University of Illinois Chicago
Chicago, USA
The evolution of causal delivery has yielded distinct solutions tailored for broadcast [2, 4, 5, 11], multicast [13, 22], and unicast [6, 15, 21, 24] environments. Broadcast solutions cannot be naively applied to point-to-point unicast networks; multicast solutions if applied suffer from inefficiencies. A dedicated unicast algorithm must manage causal dependencies without relying on global message visibility or sequence simulation. To enforce these causal dependencies, dedicated algorithms traditionally rely on either receiver-side or sender-side buffering. Receiver-buffering algorithms append causal history metadata to each message and suffer from a metadata overhead, where n is the number of processes in the system, [13, 21]. Sender-side buffering algorithms [15, 24] suffer from non-causal latency penalties and severe throughput bottlenecks. Here throughput is the rate of computation performed or of messages handled and which depends on the number of messages in transit allowed per sender and independence from network latency between processes. To circumvent the heavy metadata overhead of receiver-buffering without adopting the throughput limitations of sender-buffering, some algorithms leverage the underlying pphysical or logical topology of the network [6, 22] to naturally order messages in transit. Other protocols rely on specific acknowledgment patterns and blocking communication structures to maintain consistency [4], which can inadvertently introduce hidden liveness issues and deadlocks [2]. Such topology-dependent and blocking designs create centralized network bottlenecks and incur complex reconfiguration overhead when nodes fail.
Guaranteeing causal delivery in an asynchronous system subject to Byzantine failures remains a challenge. In a Byzantine fault model, compromised processes can act arbitrarily, dropping messages, forging causal histories, or executing resource-exhaustion attacks by withholding required control messages. Recent theoretical results have proven that achieving strict causal ordering (strong safety) alongside guaranteed message delivery (liveness) without using cryptography is mathematically impossible in an asynchronous Byzantine system [16–18]. Consequently, distributed systems must trade strong safety for liveness, or rely on synchrony assumptions such as bounded latency. The existing deterministic Byzantine-tolerant causal ordering algorithm for unicasts in asynchronous systems uses cryptography and suffers from high message space overheads, degrading network throughput [23]. While recent advancements for crash-tolerant systems have low message overhead [1, 24], achieving constant message size in a purely asynchronous, Byzantine-tolerant model has remained elusive.
Contributions
In this paper, we present a novel -message overhead Byzantine-tolerant causal ordering algorithm. Our approach builds upon the space-optimal Sender Permission to Send (SPS) invariant of Almeida [1], but fundamentally redesigns the memory management architecture into an Isolated-Buffer Optimistic Model. To circumvent Byzantine state-pinning and head-of-line blocking attacks, we replace unified causal buffers with isolated, per-peer queues equipped with event-driven Cascading Space Evictions. By managing these isolated memory bounds completely locally, our protocol eliminates the dependency on heavy, multi-round cryptographic consensus primitives or global broadcast abstractions. Instead, the entire architecture operates over a single point-to-point interconnect utilizing efficient unicast primitives for all data and signaling plane operations, including application payloads (MSG), acknowledgments (ACK), and authorization clearances (PERMIT).
We formally prove that our protocol guarantees deterministic system-wide liveness for honest-to-honest communications in a purely asynchronous environment while satisfying the Congestion-Relaxed Causal Delivery abstraction. Under this model, causal safety is strictly preserved for all honest-to-honest communications unless extreme network latency or Byzantine withholding attacks exceed quantifiable local buffer capacities, forcing optimistic queue evictions. Ultimately, this structural paradigm successfully balances resilient Byzantine fault tolerance with optimal network message sizes, minimal computational costs, and strictly bounded local space complexity.
The core complexity metrics of our process-isolated algorithm are characterized by the following properties:
• Unified Point-to-Point Unicast: In contrast to existing asynchronous Byzantine-tolerant causal frameworks that are mathematically restricted to broadcast primitives [3, 8] or protocols that must enforce strict synchronous network latency bounds ( ) and timeout-driven designs to guarantee progress [18], our architecture operates entirely over a single, uniform asynchronous point-to-point network. Crucially, we eliminate the need for separate or specialized messaging infrastructures by routing both application data payloads (MSG) and control signaling primitives (ACK, PERMIT) as point-to-point unicast transmissions over this exact same underlying network layer. This unified peer-to-peer approach bypasses synchronous latency assumptions and global consensus channels entirely, ensuring low latency, high throughput, and robust structural process isolation while keeping both data and control communication fundamentally private to the sender and receiver.
• Network Message Space Overhead (O(1)): The protocol eliminates the traditional requirement of piggybacking linear or quadratic history metadata onto network transmissions. By restricting the Dependency Vectors (DV) and outbound history snapshots (LMS) entirely to internal, process-local state workspaces, application packets carry only a fixed set of scalar components, preserving a strict message size overhead with respect to the network size n.
• Local Space Complexity : To protect against cross-channel Byzantine denial-of-service and buffer-exhaustion attacks, local data management is partitioned into process-segregated unacknowledged buffers and missing permit buffers , bounded by capacity thresholds and , respectively. Because each cached message entry encapsulates its own n-sized dependency array and outbound tracking snapshot , the total local space complexity scales as . This quadratic memory commitment represents the mathematically necessary cost to achieve complete fault isolation and network message sizes.
• Computational Time Complexity Worst-Case Pass / Amortized ): Basic enqueue, dequeue, and lookup operations within the process-isolated queues execute in constant time relative to network scale. Causal evaluations and permit-clearance verification routines (sendMessages and sendPermits) perform localized vector comparisons of size n, running in worst-case time over the complete array of channels. However, because these passes are event-driven, bounded by capacity limits, and execute only upon the generation or ingestion of state-transition signals, the computational overhead is highly optimized and amortized across high-throughput application pipelines.
Outline: Section 2 gives the system model and background. Section 3 reviews related work. Section 4 gives our algorithm. Section 5 gives the correctness proof. Section 6 gives the complexity analysis. Section 7 gives a discussion and the conclusions.
2 System Model and Background
System Model. We assume an asynchronous distributed system comprising of n processes. The system is subject to Byzantine failures. Any t number of processes, where , could behave arbitrarily, by dropping messages, forging messages, or colluding with other Byzantine processes. The system has reliable FIFO communication channels between each pair of processes for application messages (e.g. TCP).
Causal Ordering and Safety Definitions. Causal ordering [5] is predicated on the happens-before relation ( ) on the set of events formulated by Lamport [14]. Under this framework, the causal history of any given message in a set of application data transmissions is defined by its causal past, denoted as , which encompasses all messages that causally precede it and where is defined by [18]. A causal delivery protocol satisfies Strong Safety if, for any two messages where destined for a common correct process, the receiver never delivers before .
The Impossibility of Cryptography-Free Deterministic Byzantine Causal Ordering. In a purely asynchronous system, there is no fixed upper bound on message latency or processor speed. In such an environment, the Fischer-Lynch-Paterson (FLP) impossibility result states that deterministic consensus is unsolvable under failures [12]. Building upon this, Misra and Kshemkalyani proved that cryptography-free deterministic Byzantine-tolerant causal ordering ensuring both strong safety and liveness is impossible for unicasts, multicasts, and broadcasts [17, 18]. Thus, any such asynchronous Byzantine-tolerant causal algorithm must either accept localized strong safety violations or risk permanently halting honest processes (sacrificing liveness).
Adapting Causal Ordering to Byzantine Systems. In a Byzantine environment, a Byzantine process can manipulate its local execution history. It may receive , generate based on that information, but send while denying it ever received . Internal process state is opaque to the network, and this specific omission cannot be prevented (using a deterministic solution) [16–18]. To establish an ordering boundary that remains mathematically achievable despite malicious historical omissions, the system restricts focus to the set of messages sent and delivered exclusively by correct processes, defining the Byzantine happens-before relation ( ).
Definition 2.1. The Byzantine happens before relation on messages in S consists of the following rules [18]:
(1) If is a correct process and sent or delivered message to/from another correct process before sending message to a correct process, then .
(2) If and , then .
This relation filters out causal pathways passing through faulty nodes, constructing the Byzantine causal past, denoted as . Consequently, a causal delivery protocol satisfies Weak Safety if, for any two messages where destined for a common correct process, the receiver never delivers before [18].
To enforce these causal restrictions without piggybacking variable-sized metadata arrays or linear dependency histories onto transmitted payloads, our protocol incorporates the Sender Permission to Send (SPS) invariant introduced by Almeida [1]. Rather than tracking an explicit causal past on messages, Almeida defines the SPS invariant temporally: a process i is restricted from network-sending an application message m to a process j when there are still undelivered messages that were sent to any process other than i by any peer process that previously transmitted messages to i [1]. This strategy ensures that for any message delivered by i prior to creating m, the sender of that message has already received acknowledgments for its own historical dependencies [1]. Assuming an underlying communication fabric that guarantees point-to-point FIFO delivery, the universal enforcement of this invariant across all correct nodes is mathematically sufficient to guarantee system-wide causal delivery (SPS+FIFO Causal). Our protocol adapts this structural invariant to a Byzantine setting, leveraging process-isolated outbound queues ( ) and missing permit buffers ( ) to clear authorization bounds while ensuring fault containment and network liveness.
Crucially, the algorithm separates the local scheduling of a message from its transmission into the network by distinguishing between an application-initiated causal-send event and an algorithm-controlled network-send event. When an application executes causalSend, the routine immediately snapshots local tracking states and returns control to the execution thread to maximize concurrency, but intercepts the message record and buffers it locally. The physical network-send over the point-to-point network is then delayed until the underlying signaling plane verifies that the release of m is safe to execute without violating causal dependencies.
Liveness. Alongside the safety properties, causal ordering algorithms must also ensure the property of liveness. In the presence of Byzantine faults, a weakening of standard liveness is required: liveness guarantees that every message sent by a correct process to another correct process will eventually be delivered.
The Congestion-Relaxed Causal Delivery Abstraction. Because strictly enforcing causal safety is impossible in asynchronous Byzantine networks without risking deadlock, we define a relaxed safety abstraction called Congestion-Relaxed Causal Delivery. Let , represent the capacity bound of local U, Q, respectively, process queues. Further, m.per is a flag that indicates whether a PERMIT is required for message m, and m.mid is m's sender-assigned sequence number. Under this abstraction:
Definition 2.2 (Congestion-Relaxed Causal Delivery (CRCD)). A system satisfies Congestion-Relaxed Causal Delivery if:
(1) FIFO Order: Messages sent directly from process i to process j are delivered in the order sent.
(2) Bounded Causal Integrity: For any two messages sent by correct processes and , respectively, to a common correct process , where along causal path sent by correct processes , respectively, if:
(a) process , the sender of to , has causalSend less than messages to since enqueuing in until gets dequeued, and
(b) or process , the sender of to , has causalSend less than messages to since enqueuing in until gets dequeued, and
(c) or process , the sender of to , has received PERMIT( ) from before network-sends
then never delivers before .
This abstraction formally characterizes the observable safety guarantee: weak causal safety is violated only when a process experiences extreme network congestion or adversarial stalling that forces local queue eviction beyond the bounds stated in the characterization. If the bounds are never exceeded, the abstraction reduces to standard Weak Safety.
Definition 2.2 is for causal ordering between a specific and . Observe that this definition is equivalent to the following generalization.
Definition 2.3 (Generalized Congestion-Relaxed Causal Delivery). A system satisfies Congestion-Relaxed Causal Delivery if:
(1) FIFO Order: Messages sent directly from process i to process j are delivered in the order sent.
(2) Bounded Causal Integrity: For all correct processes dst, if at each correct process i:
(a) there is no eviction from , and
(b) there is no eviction from , and
(c) before network-sending m to dst, an explicit PERMIT is received from correct j for (sent by j), where .mid = m.DV[j] and .per = 1,
then weak causal safety is satisfied.
This definition stipulates that CRCD is satisfied if (at correct processes) there is no eviction from the queues for correct processes and all due permissions (PERMITs) from correct processes arrive before network-sending messages to correct processes.
3 Previous Work
Crash-Tolerant Causal Delivery. The Raynal-Schiper-Toueg (RST) algorithm was among the first to solve causal ordering but required a space and message overhead of , as every message carried the sender's local matrix of known message states [21]. Subsequent variations, such as the KS algorithm [13], improved practical performance but maintained the worst-case bound. More recently, the Cykas algorithm [24] adopted a sender-buffering approach that reduced the message metadata overhead to , though it suffers from throughput scalability and liveness limitations.
Almeida subsequently introduced a hybrid-buffering approach utilizing the Sender Permission to Send (SPS) invariant, which successfully provides liveness and throughput scalability and achieves space and computational optimality [1]. Under the SPS invariant, causality is enforced at the sender side rather than the receiver; a process is mathematically restricted from transmitting a new message over the network until it receives confirmation (a PERMIT) that all causally preceding messages have been successfully delivered to their respective destinations. Almeida's algorithm implements this by combining sender-buffering to delay network transmissions until the SPS conditions are met, and receiver-buffering to enforce strict FIFO ordering and allow message pipelining.
To achieve an amortized computational complexity, the algorithm completely avoids scanning message histories. Instead, it utilizes specialized data structures—namely sliding arrays and indexable sliding maps—to perform constant-time tracking of pending PERMIT and missing acknowledgments (ACKs). These ACKs serve as the critical feedback loop for the SPS invariant: when a receiver successfully delivers a message, it replies with an ACK. This allows the original sender to clear the message from its unacknowledged sliding array and subsequently issue the required PERMITs to unblock causally dependent messages across the network.
However, Almeida’s unified buffering structures and implicit trust in the faithful generation of ACKs and PERMITs are designed for crash-fault models, making them highly vulnerable to resource-exhaustion and state-pinning attacks in a Byzantine environment.
Byzantine-Tolerant Causal Ordering. Cachin et al. initially formalized Validated Asynchronous Byzantine Agreement (VABA), achieving optimal resilience and time, but requiring expected word communication [9] and using randomization. In a separate work focusing on secure service replication, Cachin et al. proposed a Secure Causal Atomic Broadcast protocol built directly atop this atomic broadcast primitive [8]. To guarantee strict “secure causality”, preventing an adversary from front-running or manipulating causal dependencies based on message contents, their protocol employs threshold encryption. A sender encrypts the full application payload, and the ciphertext is routed through the atomic broadcast network. Only after the encrypted message is globally sequenced do the participating nodes exchange decryption shares to reveal the plaintext payload. This robustly prevents information laundering and input-causality attacks but tightly couples the data and control planes. Consequently, the heavy expected communication complexity of the consensus layer must process the full application payload size , while the network simultaneously absorbs the overhead of distributing threshold decryption shares. As the underlying atomic broadcast uses randomized consensus, there is probability of causal ordering violation.
Two protocols for crash failures and a third for Byzantine failure of clients using cryptography were proposed for secure causal atomic broadcast [10]; the third made assumptions on latency of messages, and hence works only in a synchronous system.
The Byzantine causal broadcast algorithm of Auvolat et al. [3] uses the BRB primitive [7] ( messages) over the message payloads having message space overhead, and cannot guarantee strong safety. It also uses unbounded memory.
Due to the impossibility of solving Byzantine causal ordering deterministically without using cryptography in asynchronous systems [18], recent practical solutions have relied on strengthening the system model with synchronous assumptions (bounded latency). The Sender-Inhibition and Channel Sync algorithms, which guarantee weak safety and liveness for unicasts by utilizing timeouts, use -sized and control messages, respectively [18].
For an asynchronous system, Rumreich and Sivilotti introduced the Minicast Algorithm, which reduces the worst-case message size complexity to by broadcasting small control messages alongside application unicasts [23]. By using a Byzantine Reliable Broadcast (BRB) primitive [7] with FIFO ordering ( messages), their solution achieves Byzantine tolerance but inherits an message space overhead. Moreover, it cannot guarantee strong safety. Crucially, however, their design assumes unbounded local space. As the algorithm lacks strict capacity limits for its receiving queues, a single Byzantine process can execute a memory exhaustion attack by flooding an honest process with invalid application messages, causing its local memory to grow unboundedly.
Patel et al. [19] proposed four metadata overhead algorithm variants for Byzantine Causal Reliable Broadcast, all having message metadata. By modeling link propagation delays as independent exponential variables, they derived bounds on the probability of weak safety violations and of strong safety violations. Patel et al. [20] also proposed a metadata overhead algorithm for Byzantine Causal Reliable Broadcast guaranteeing strong safety.
A comparison of Byzantine-tolerant causal delivery algorithms for unicasts is given in Table 1. Note, the broadcast algorithms, if used for unicast, require an additional level of encryption with the recipient's public key to maintain privacy.
4 Proposed Algorithm
As our architectural tradeoff chooses not to use cryptography and randomization in the data plane to keep encrypted data payloads off the expensive consensus channel (consensus was run on encrypted data in [8]), and uses a lightweight deterministic solution (that requires only the -sized message space overhead and control messages at the cost of local space), the result of [18] is applicable. As it is not possible to guarantee strong safety and liveness deterministically and without using cryptography in a Byzantine system [18], our algorithm prioritizes liveness. It allows some occasional violations of safety to ensure liveness and simultaneous
| Cachin et al. [8] | Auvolat et al. [3] | Sender-In-hibition [18] | Channel Sync [18] | Minicast [23] | Patel et al. [19] | Patel et al. [20] | Proposed | |
|---|---|---|---|---|---|---|---|---|
| Comm. mode | Broadcasts | Broadcasts | Unicasts | Unicasts | Unicasts | Broadcasts | Broadcasts | Unicasts |
| Asynchronous | ✓ | ✓ | ✕ | ✕ | ✓ | ✓ | ✓ | ✓ |
| Deterministic | ✕ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Throughput-scalable | ✕ | ✓ | ✕ | ✓ | ✕ | ✓ | ✓ | ✓ |
| Crypto-free | ✕ | ✓ | ✓ | ✓ | ✕ | ✕ | ✕ | ✓ |
| Liveness | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Safety guarantee | Weak safety | Weak safety | Weak safety | Weak safety | Strong safety | C.-R. Causal Delivery | ||
| Msg. space overhead | ||||||||
| Number of msgs | of ) | of | of | of | of | |||
| Communication word complexity | ||||||||
| Local space | unbounded | unbounded | unbounded | unbounded | unbounded | |||
| Time complexity | at all procs | at all procs | at all procs | at all procs | amortized |
Table 1: Comparison of Byzantine-tolerant causal ordering algorithms for unicast. Message is denoted .
message overhead and local space overhead. In scenarios of extreme latency or malicious resource-exhaustion attacks, the system gracefully degrades to allowing occasional violations of safety to prevent causal deadlocks; however Congestion-Relaxed Causal Delivery is always guaranteed.
4.1 Core Logic
We build on the work done by Almeida and we introduce Byzantine tolerance to his Sender Permission to Send invariant [1]. However, deploying such a model within a purely asynchronous Byzantine environment introduces critical structural vulnerabilities that must be systematically mitigated to preserve both liveness and causal integrity:
-
Head-of-Line Blocking and State Pinning: Byzantine processes can maliciously withhold required control messages (such as PERMITs or ACKs) to permanently halt an honest process's outgoing communication pipeline.
-
Active Causal Forgery: Byzantine processes may falsify their causal history to release messages that illegally bypass the Sender Permission to Send (SPS) invariant rules.
-
Memory Exhaustion: Byzantine processes can flood the network with a stream of invalid or artificially future-dated application messages to consume unbounded local memory at honest processes.
-
Message Replay Attacks: Byzantine processes may capture and repeatedly replay historically valid messages to trigger duplicate deliveries or corrupt the local causal state.
To maintain a constant message size over the network, we utilize isolated Buffers () and Dependency Vectors (DV). Although having those local data structures results in an local space complexity, it ensures that the messages sent over the network have a constant size. Additionally, to prevent the expensive cryptographic consensus or global broadcasts from degrading application throughput, all communication relies on a point-to-point unicast for all messages. This includes all application messages, as well as the control messages ACK and PERMIT.
4.2 Important Data Structures
To guarantee a network message size overhead and an amortized computational time complexity under a Byzantine-tolerant paradigm, the proposed framework transitions away from the unified data structures utilized in Almeida's protocol [1]. Instead, we introduce a process-isolated queue architecture designed to structurally confine the impact of adversarial behaviors, paired with a localized tracking array paradigm. The structural definitions are detailed in Algorithm 1. Their description and usage is given in Appendix A.
4.3 Byzantine Tolerant Algorithm
Our proposed algorithm (Algorithm 2) builds upon the Sender Permission to Send (SPS) invariant, introducing an event-driven framework that operates entirely over a point-to-point network utilizing unicast primitives. The architecture relies on process-isolated buffers with automated, optimistic cascading network evictions to enforce Byzantine fault tolerance while maintaining a strict message-size overhead. By allocating local memory for isolated queues (), the protocol guarantees system liveness in an asynchronous network environment, strategically permitting localized, transient violations of causal safety when physical buffer constraints are reached. The procedures are described in Appendix B.
5 Correctness Proof
Our proposed protocol does not guarantee strict, unconditioned causal safety under all execution traces; instead, it prioritizes deterministic Liveness. As established by the foundational impossibility
Algorithm 1: Isolated-Buffer Optimistic Causal Delivery Types. Data structures at process i.
1 types & state 2 Msg: record { 3 mid: N, // Local message sequence number 4 per: B, // Flag: is a permit required? 5 pl: P, // Application payload 6 sent: B, // Flag: network-transmitted? 7 DV: Array[n] of N, // Last Message Recd. vector; stored in entries per message record but not transmitted 8 LMS: Array[n] of N, // Last Message Sent vector; stored in entries per message record but not transmitted 9 } 10 Array[n] of []; // Isolated unacked messages 11 Array[n] of []; // Isolated missing permits 12 Array[n] of -1; // Last delivered message IDs 13 Array[n] of -1; // Last message sent vector 14 Array[n] of -1; // Last Permit Recd. vector 15 ; // Local clock 16 ; // Max cap. per unacked queue, adjustable 17 ; // Max cap. per PERMIT queue, adjustable
result of Misra and Kshemkalyani [18], deterministically maintaining strong safety while guaranteeing bounded memory and unconditional liveness without using cryptography is mathematically impossible in an asynchronous system vulnerable to Byzantine faults. Consequently, our algorithm deliberately permits localized, transient violations of causal safety under specific adversarial conditions or extreme network asynchronous delays. This tactical trade-off is specifically engineered to neutralize state-pinning and buffer-exhaustion strategies deployed by Byzantine actors to induce system-wide deadlocks. However, Congestion-Relaxed Causal Delivery is always guaranteed.
5.1 Liveness Guarantee
THEOREM 5.1 (LIVENESS UNDER CONTINUOUS TRAFFIC). Under the assumption that honest processes continuously generate application messages (or use a timeout-driven synchronous variant), an honest process will never be permanently blocked from sending or delivering messages, and messages sent between honest processes will eventually be delivered.
PROOF. To establish this guarantee, we first trace the continuous timeline of an application message m generated by a correct process i and destined for another correct process j:
(1) Buffer Admission Timeline: When the application layer at process i invokes causalSend(j, p), the message m is allocated a local sequence number and appended to the tail of the isolated application buffer . If has reached its maximum capacity , the network eviction logic immediately removes the oldest entry stale_m from the head of the queue. Because j is correct, any such stale_m is either immediately dispatched over the point-to-point network (if it was unsent) or, if it was already sent and requires a permit (stale_m.sent stale_m.per), it is transitioned into the missing permits queue . If is also saturated ( ), a cascading eviction forces the removal of its oldest entry, immediately dispatching a unicast PERMIT to j to clear the channel. Thus, a correct process i is never blocked from admitting a new payload into its local tracking structures.
(2) Transmission Timeline: To exit and enter the network interconnect via sendMessages, a message must satisfy the unblocking condition: , . Because the network layer operates via reliable point-to-point channels, and because every other honest process systematically processes valid incoming payloads and returns corresponding acknowledgments, the dependency values stored within represent past delivered states.
If a Byzantine process maliciously suppresses control signals (such as ACKs or PERMITs) to freeze this condition, the unblocking condition may remain unsatisfied. However, if the application at process continues to generate messages to destination , the queue will eventually saturate. Once its capacity reaches , the optimistic network eviction mechanism forcibly sends the head message immediately over the point-to-point network regardless of the unsatisfied blocking condition, setting . Similarly, if a blocked permit is held in , a cascading eviction upon queue saturation will forcibly dispatch the permit.
Deadlock and Flow-Control Trade-off: We note that this eviction-based liveness mechanism relies on the assumption that honest processes continuously generate application traffic. If the application is reactive (e.g., processes only send responses after receiving deliveries) or enforces a window-based credit flow control where the max active credits are fewer than , the queues may never reach capacity to trigger evictions, resulting in a system-wide deadlock. To resolve this without traffic assumptions, the system can be modeled as synchronous using local timeouts to trigger evictions, thereby preserving both liveness and weak safety during periods of normal network latency. Near termination time, this same modeling proves useful.
(3) Ingestion and Delivery Timeline: The message travels over the point-to-point FIFO channel to the correct receiver j, triggering receive. Since sender i is correct, its local clock increments monotonically without gaps, ensuring that (which starts at -1). The message passes the replay filter, the local causal history is updated ( ), and the payload is successfully passed to the application layer via deliver(m.pl).
(4) Cleanup Timeline: Upon delivery, process j immediately transmits a unicast ACK bearing m.mid back to process i over the point-to-point network. Upon ingestion at process i, receive locates the matching record in and purges it, completing the message lifecycle and reclaiming local space.
A Byzantine process b may attempt to disrupt this timeline and break system liveness using three distinct ways, which our algorithm successfully neutralizes:
Algorithm 2: Isolated-Buffer Optimistic Causal Delivery (Process i)
1 procedure causalSend(dst, p): 2 if U_i[dst].size ≥ M_max then // Network Eviction: Free space for incoming message stale_m ← U_i[dst].remove(); if ¬stale_m.sent then stale_m.sent = True; send_i(dst, MSG, stale_m); ∀x, LPR_i[x] ← max(LPR_i[x], stale_m.DV[x]); if stale_m.per then if Q_i[dst].size ≥ Q_max then m' ← Q_i[dst].remove(); send_i(dst, PERMIT, m'.mid); Q_i[dst].add(stale_m); SendPermits() // Unblocks pending PERMITs req_per ← (∃x ≠ dst : U_i[x].size > 0); m ← Msg{mid : ck_i, per : req_per, pl : p, sent : False}; ck_i ← ck_i + 1; m.DV ← LD_i; m.LMS ← LMS_i; U_i[dst].add(m); LMS_i[dst] ← m.mid; SendMessages() // Unblocks pending messages
20 procedure SendMessages(): 21 for dst ← 1 to n do k ← 0; while k < U_i[dst].size do m ← U_i[dst][k]; if ¬m.sent then blocked ← ¬(∀j ≠ i ∧ j ≠ dst, (m.DV[j] ≤ LPR_i[j])); if ¬blocked then m.sent ← True; send_i(dst, MSG, m); // Exclude m.DV, m.LMS fields from MSG else break; k ← k + 1;
33 procedure SendPermits(): 34 for dst ← 1 to n do while Q_i[dst] ≠ empty do m ← Q_i[dst].head; if ∀j ≠ i ∧ j ≠ dst, (m.LMS[j] < U_i[j][0].mid or U_i[j][0] = ⊥) then send_i(dst, PERMIT, m.mid); Q_i[dst].remove(); else break;
42 procedure receive_i(src, MSG, m): 43 if m.mid ≤ LD_i[src] then drop m; return // Drop duplicate or fake message 44 if ¬m.per then LPR_i[src] ← m.mid; LD_i[src] ← m.mid; send_i(src, ACK, m.mid); deliver_i(m.pl);
51 procedure receive_i(src, ACK, m_id): 52 if m_id < U_i[src][0].mid then return // Already dequeued on ACK receipt or optimistically evicted 53 if m_id > U_i[src].last.mid then return // High numbered fake ACK 54 while U_i[src] ≠ empty do if U_i[src][0].mid ≤ m_id then m ← U_i[src].remove(); if m.sent ∧ m.per then if Q_i[src].size ≥ Q_max then m' ← Q_i[src].remove(); send_i(src, PERMIT, m'.mid); Q_i[src].add(m); else break;
66 SendPermits(); // Unblocks pending PERMITs
67 procedure receive_i(src, PERMIT, m_id): 68 if LD_i[src] ≥ m_id > LPR_i[src] then LPR_i[src] ← m_id; SendMessages(); // Unblocks pending messages
• Withholding ACKs: The adversarial objective is to cause memory exhaustion at the sender by refusing to acknowledge received messages, thereby locking resources. Our algorithm isolates this attack to the queue . When , a network eviction purges the head entry, freeing local memory and ensuring communication with honest peers continues unhindered.
• Withholding PERMITs: The adversarial objective is to exploit the SPS invariant by withholding permission clearances, hoping to cause permanent causal blocking at honest senders. If an outbound queue becomes full because its head message is blocked by a dependency on ( ), the optimistic eviction architecture forcefully clears the stall by evicting and network-sending . Sending downstream PERMITs remains unaffected.
• Future Message Flooding: The adversarial objective is to exhaust the receiver’s memory by flooding it with massive, out-of-sequence message streams. Because the receive procedure evaluates messages instantly against and never buffers out-of-order or future-dated payloads into localized holding structures, incoming garbage data is dropped or processed immediately without consuming queue capacity.
Across all adversarial scenarios, strictly enforced local space boundaries act as deterministic thresholds that trigger automatic, optimistic, or cascading evictions. These event-driven evictions forcefully resolve causal stalls and preserve processing fluidity within the application data plane. Combined with the reliable delivery guarantees of the underlying point-to-point channels between honest processes, the architecture mathematically ensures that no configuration of Byzantine processes can indefinitely freeze or exhaust the resources of an honest process, fully satisfying the liveness property for honest-to-honest communication.
5.2 Congestion-Relaxed Causal Delivery Guarantee
THEOREM 5.2 (CONGESTION-RELAXED CAUSAL DELIVERY). Algorithm 2 guarantees Congestion-Relaxed Causal Delivery (Definition 2.2) for all communications between honest processes in the system.
Proof. We prove each property of Definition 2.2:
(1) FIFO Order: Since honest processes communicate over reliable point-to-point FIFO channels (e.g., TCP), and the receiver process j processes and delivers messages from sender i in sequence number order ( ), the FIFO property is naturally preserved.
(2) Bounded Causal Integrity: Under the algorithm, when i attempts to send PERMIT for m via SendPermits(), the PERMIT is blocked from transmission if , . Thus, PERMIT(m) can only be released to the network if either:
-
The unblocking condition is satisfied, meaning , or . This implies that has already received all required ACKs for messages it sent (to any ) before sending (or those messages were forcibly evicted from – but that cannot happen for the case in Condition 2(a) of Definition 2.2 where and ).
-
Or, process experienced queue eviction in and was forced to evict , which will not happen for the case in Condition 2(b) of Definition 2.2 where and .
Now from Condition 2(b), if process (the sender of ) has causalSend less than messages to since inserting in until dequeuing it from , then sends a non-eviction driven PERMIT for to . This implies from SendPermits() that or which in turn implies that had been dequeued normally (or forcibly evicted) from . However, Condition 2(a) implies that had been normally dequeued from (on receiving an ACK from ) and not evicted. Therefore had been delivered to and its ACK received by before sends a PERMIT for to . (Note, may have network-sent already and it may be delivered to already but that is okay.)
will not network-release to until receiving the PERMIT for from , by Condition 2(c). Thus is network-sent by to after had been delivered to . It therefore follows that, down the causal chain, will not be delivered to before has been delivered to . Bounded Causal Integrity follows.
The above logic assumed . If False, then was delivered to and its ACK received by before causal-send to ; from this Bounded Causal Integrity naturally follows.
The theorem follows.
5.3 Safety Trade-offs
Traditional causal delivery algorithms require Strong Safety, which dictates that for any message destined for the same correct process, the receiver must never deliver before . However, it is impossible to deterministically guarantee both strong safety and liveness for unicasts without using cryptography in an asynchronous Byzantine-faulty system [18]. Because an adversary can weaponize strict safety constraints to permanently halt honest nodes, our algorithm purposefully relaxes these ordering bounds under physical capacity pressure to preserve global system liveness.
As classified in Table 2, the behavioral consequences of the safety relaxations fall into three distinct analytical categories based on the structural boundaries of the causal past.
(1) Self-Contained Violations (Attacks 2, 8): The Byzantine process reports a premature acknowledgment for a message it has not yet processed. While this allows the honest sender to advance its local queue state, any subsequent out-of-order delivery is contained entirely within the internal execution environment of the Byzantine process b. Because an adversary can inherently choose to arbitrarily permute or reorder its private application-level state transitions, this scenario does not constitute a true breach of network-wide causal integrity.
(2) Adversarial Sequence Shifting (Attacks 4, 11): In this scenario, a permit is forged or prematurely cleared for an application message whose causal predecessor is ( ). When an honest process i delivers and subsequently invokes causalSend to transmit message m to a common destination j, the standard happens-before relation dictates that , meaning . If process j delivers m before arrives, this technically constitutes a violation of Strong
| Attack by Byzantine | Analysis of impact on correct processes. | |
|---|---|---|
| 1 | withholds ACK to has queued an in | eventually fills up; dequeued & sent, added to ; eventually fills up, evicted and PERMIT sent to . No impact. |
| 2 | sends early ACK for to , this causes to send early and PERMIT to which receives, queues in | sends early sends to , may receive before No impact. Strong safety violation possible only at . |
| 3 | withholds PERMIT to has queued an in | eventually fills up; dequeued & sent, added to ; eventually fills up, evicted and PERMIT sent to . No impact. |
| 4 | sends to , then to , sends early PERMIT for to , receives and PERMIT, queues an in | sends early to . receives before . Strong safety violation (messages from delivered later) possible. |
| 5 | sends MSG with low mid to | deletes on reception. No impact. |
| 6 | sends MSG with high mid to | may affect its own FIFO channel to . No impact. |
| 7 | sends ACK with low mid to | Equiv. to withholding ACK (Attack 1). No impact. |
| 8 | sends ACK with high mid to | Equiv. to sending early ACK (Attack 2). No impact. Strong safety violation possible only at . |
| 9 | sends ACK with high mid to | Equiv. to withholding ACK (Attack 1). No impact. |
| 10 | sends PERMIT with low mid to | Ignored by . Equiv. to withholding PERMIT (Attack 3). No impact. |
| 11 | sends PERMIT with high mid to | Equiv. to sending early PERMIT (Attack 4). Strong safety violation (message from delivered later) possible. |
| 12 | sends PERMIT with high mid to | Equiv. to withholding PERMIT (Attack 3). No impact. |
| 13 | sends to , then to , receives ; (a) updates .pl for unsent in based on .pl & sends the without their required PERMITs; (b) without waiting for PERMIT for sends to | may receive before . Strong safety violation (messages from delivered earlier) possible. Also, causalSend concurrently (with ) may see .pl at dests. *. |
Table 2: Attacks by a Byzantine process on correct processes and an analysis of their impact. are correct processes.
Safety. However, as the attacking Byzantine process's message arrives later, it cannot gain any gaming application advantage at , so this attack cannot be considered a harmful breach of network-wide causal integrity. Moreover, this sequence shifting does not violate Weak Safety. Because the causal link occurs as a local state transition within the Byzantine process , it fails the structural preconditions of the Byzantine happens-before relation (), which strictly requires all processes executing transitions along the path to be correct. Consequently, , which excludes the Byzantine message from the Byzantine causal past of the honest message ().
(3) True Safety Breaches (Attack 13): This represents a structural safety violation where an active dependency chain is explicitly broken over the wire, such that but the receiver delivers the adversarial payload before the honest payload . Because network-layer cryptography cannot validate or inspect semantic dependencies that a Byzantine actor intentionally erases within its private application workspace prior to transmission, this violation is mathematically unpreventable in an asynchronous setting using any deterministic solution and must be accepted to maintain liveness.
5.3.1 Weak Safety Violation under Severe Asynchronous Network Delays. While adversarial manipulation can only induce Strong Safety anomalies on Byzantine-derived paths, physical buffer limitations can occasionally force a true violation of Weak Safety among completely honest processes under extreme asynchronous network conditions.
Consider a fully non-adversarial execution trace involving three correct processes: , , and . Process transmits an application message to process , and then queues a causally dependent message for process , establishing the relation . Because all participating nodes are correct, this sequence strictly satisfies the parameters of the Byzantine happens-before relation, yielding . Process subsequently delivers and sends a new message to process , which transitively embeds into its Byzantine causal past.
If the communication link between and experiences severe physical network congestion or extreme asynchronous scheduling latency, the acknowledgment (ACK) for will be indefinitely delayed. From the isolated perspective of the honest sender , this persistent silence is structurally indistinguishable from a malicious acknowledgment withholding attack (Attack 1). As process continues to process subsequent application demands, its isolated queues will inevitably saturate, reaching the absolute capacity thresholds ().
To guarantee system-wide progress and prevent a permanent local deadlock, process i is forced to execute an optimistic network eviction. This action forcefully removes the unacknowledged tracking entries and dispatches a premature PERMIT over the point-to-point network to unblock the channel to j. If process j ingests this PERMIT and immediately transmits to process k, process k may receive and deliver before the severely delayed message physically arrives at its network interface.
Because and both messages are sent to the same correct process , delivering before constitutes a weak safety violation. However, such a violation occurs with very low probability because the SPS dependencies of the stalled permits (which are messages old or older on the same channel from correct to correct ) would have been satisfied by then due to the long-tail properties of the network latency distribution. So the protocol accepts this rare weak safety anomaly as a necessary mathematical trade-off; prioritizing absolute ordering safety over severe asynchronous delay would require unbounded local queue structures ( ), which would instantly reintroduce catastrophic vulnerabilities to Byzantine memory exhaustion and distributed denial-of-service flooding. In any case, Congestion-Relaxed Causal Delivery is guaranteed.
6 Complexity Analysis
Our process-isolated optimistic causal delivery protocol is engineered to combine resilient Byzantine fault containment with highly efficient network resource consumption. By completely avoiding multi-round cryptographic consensus primitives and heavy global broadcasts, the architecture maintains an efficient pure unicast footprint. We evaluate the algorithm's complexity profile across four dimensions: network message metadata overhead, communication message complexity, local memory space complexity, and computational execution time, as shown in Table 1. A detailed analysis is given in Appendix C.
7 Discussion and Conclusions
In this paper, we presented the first point-to-point unicast causal delivery protocol that tolerates Byzantine failures in a purely asynchronous environment while preserving a strict network message space overhead. By introducing the Congestion-Relaxed Causal Delivery abstraction, we established a robust mathematical bridge between absolute liveness and relaxed causal safety bounds.
Our protocol offers several distinct advantages over existing approaches:
• Optimal Network Efficiency: Unlike the existing algorithms that append or dependency vectors to message payloads and have or message complexity, our protocol preserves a strict wire overhead, maximizing network throughput in large-scale systems.
• Decoupling and Fault Isolation: By routing all messages over point-to-point unicast channels and managing state via isolated outbound queues ( ) and missing permit queues ( ), we completely isolate process faults. A malfunctioning or Byzantine node cannot exhaust the resources or freeze the channels of unrelated correct processes.
• High Scalability: The event-driven, localized nature of our signaling plane results in an amortized computational execution cost of just per message, avoiding heavy global consensus overhead during normal execution.
A key conceptual takeaway of our work is the inevitability of safety trade-offs in Byzantine settings. As shown by Misra and Kshemkalyani [18], guaranteeing both Strong Safety and liveness deterministically without using cryptography is impossible in asynchronous Byzantine networks. Even if one were to attempt enforcing the Weak Safety guarantee, detecting it in practice is fundamentally unfeasible: verifying Weak Safety requires identifying which processes are correct and which are Byzantine, a task that is itself impossible to achieve in an asynchronous system. Consequently, our newly introduced Congestion-Relaxed Causal Delivery abstraction is not only theoretically sound but practically essential. It provides a formal, observable safety guarantee that is useful for application developers: causal ordering is guaranteed for all honest-to-honest communication paths unless the specified bounds are exceeded. Crucially, this threshold is completely under the control of the application designer, who can set the queue capacities and to match their system's memory constraints and congestion tolerances. By raising these boundaries, designers can arbitrarily reduce the probability of weak safety violations at a low, predictable local memory cost of . Despite fine-tuning queue capacities, if often have eviction because expected PERMITs (ACKs) from a/some certain (from ) never arrive preventing normal network-sending of MSGs in (normal dequeuing from ), those ( ) are suspected to be Byzantine; a rational ( ) would therefore not behave in that manner. Likewise, if often have eviction because expected ACKs from a/some certain never arrive preventing normal sending of PERMITs, those are suspected to be Byzantine; a rational would therefore not behave in that manner.
Ultimately, this work demonstrates that the trade-off between buffer capacities and transient ordering relaxations represents a highly viable and optimized paradigm for secure, high-performance distributed systems.
References
[1] Paulo Sérgio Almeida. 2026. Space-Optimal, Computation-Optimal, Topology-Agnostic, Throughput-Scalable Causal Delivery through Hybrid Buffering. arXiv preprint arXiv:2601.11487 (2026).
[2] G. Anastasi, A. Bartoli, and G. Giannini. 2004. On causal broadcasting with positive acknowledgments and bounded-length counters. IEEE Trans. Comput. 53, 10 (2004), 1355–1358. doi:10.1109/TC.2004.82
[3] Alex Auvolat, Davide Frey, Michel Raynal, and François Taiani. 2021. Byzantine-tolerant causal broadcast. Theor. Comput. Sci. 885 (2021), 55–68. doi:10.1016/J.TCS.2021.06.021
[4] R. Baldoni. 1998. A positive acknowledgment protocol for causal broadcasting. IEEE Trans. Comput. 47, 12 (1998), 1341–1350. doi:10.1109/12.737681
[5] Kenneth P Birman and Thomas A Joseph. 1987. Reliable communication in the presence of failures. ACM Transactions on Computer Systems 5, 1 (1987), 47–76.
[6] Sebastian Blessing, Sylvan Clebsch, and Sophia Drossopoulou. 2017. Tree topologies for causal message delivery. In Proceedings of the 7th ACM SIGPLAN International Workshop on Programming Based on Actors, Agents, and Decentralized Control (Vancouver, BC, Canada) (AGERE 2017). Association for Computing Machinery, New York, NY, USA, 1–10. doi:10.1145/3141834.3141835
[7] Gabriel Bracha. 1987. Asynchronous Byzantine Agreement Protocols. Inf. Comput. 75, 2 (1987), 130–143. doi:10.1016/0890-5401(87)90054-X
[8] Christian Cachin, Klaus Kursawe, Frank Petzold, and Victor Shoup. 2001. Secure and Efficient Asynchronous Broadcast Protocols. In Advances in Cryptology – CRYPTO 2001, Joe Kilian (Ed.). Springer Berlin Heidelberg, Berlin, Heidelberg, 524–541.
[9] Christian Cachin, Klaus Kursawe, and Victor Shoup. 2000. Random oracles in constantipole: practical asynchronous Byzantine agreement using cryptography (extended abstract). In Proceedings of the Nineteenth Annual ACM Symposium on Principles of Distributed Computing (Portland, Oregon, USA) (PODC '00). Association for Computing Machinery, New York, NY, USA, 123–132. doi:10.1145/343477.343531
[10] Sisi Duan, Michael K. Reiter, and Haibin Zhang. 2017. Secure Causal Atomic Broadcast, Revisited. In 47th Annual IEEE/IFIP International Conference on Dependable Systems and Networks, DSN 2017, Denver, CO, USA, June 26-29, 2017. IEEE Computer Society, 61–72. doi:10.1109/DSN.2017.64
[11] P.D. Ezhilchelvan, R.A. Macedo, and S.K. Shrivastava. 1995. Newtop: a fault-tolerant group communication protocol. In Proceedings of 15th International Conference on Distributed Computing Systems. 296–306. doi:10.1109/ICDCS.1995.500032
[12] Michael J. Fischer, Nancy A. Lynch, and Mike Paterson. 1985. Impossibility of Distributed Consensus with One Faulty Process. J. ACM 32, 2 (1985), 374–382. doi:10.1145/3149.214121
[13] Ajay D. Kshemkalyani and Mukesh Singhal. 1998. Necessary and Sufficient Conditions on Information for Causal Message Ordering and Their Optimal Implementation. Distributed Comput. 11, 2 (1998), 91–111. doi:10.1007/s004460050044
[14] Leslie Lamport. 1978. Time, clocks, and the ordering of events in a distributed system. Commun. ACM 21, 7 (1978), 558–565.
[15] Friedemann Mattern and Stefan Fünfrocken. 1994. A Non-Blocking Lightweight Implementation of Causal Order Message Delivery. In Dagstuhl Seminar on Distributed Systems. https://api.semanticscholar.org/CorpusID:14555460
[16] Anshuman Misra and Ajay D. Kshemkalyani. 2022. Solvability of Byzantine Fault-Tolerant Causal Ordering Problems. In Networked Systems - 10th International Conference, NETYS 2022, Virtual Event, May 17-19, 2022, Proceedings (Lecture Notes in Computer Science, Vol. 13464), Mohammed-Amine Koulali and Mira Mezini (Eds.). Springer, 87–103. doi:10.1007/978-3-031-17436-0_7
[17] Anshuman Misra and Ajay D. Kshemkalyani. 2023. Byzantine Fault-Tolerant Causal Ordering. In 24th International Conference on Distributed Computing and Networking, ICDCN 2023, Kharagpur, India, January 4-7, 2023. ACM, 100–109. doi:10.1145/3571306.3571395
[18] Anshuman Misra and Ajay D. Kshemkalyani. 2024. Byzantine-Tolerant Causal Ordering for Unicasts, Multicasts, and Broadcasts. IEEE Trans. Parallel Distributed Syst. 35, 5 (2024), 814–828. doi:10.1109/TPDS.2024.3368280
[19] Purv Patel and Ajay D. Kshemkalyani. 2026. Byzantine Causal Reliable Broadcast (BCRB) with Constant-Size Message Metadata. arXiv preprint arXiv:2609.24018 (2026). doi:10.48550/arXiv.2609.24018
[20] Purv Patel and Ajay D. Kshemkalyani. 2026. Byzantine Causal Reliable Broadcast with Constant Metadata Overhead. arXiv preprint arXiv:2609.37913 (2026). doi:10.48550/arXiv.2609.37913
[21] Michel Raynal, André Schiper, and Sam Toueg. 1991. The causal ordering abstraction and a simple way to implement it. Information processing letters 39, 6 (1991), 343–350.
[22] L.E.T. Rodrigues and P. Verissimo. 1995. Causal separators for large-scale multicast communication. In Proceedings of 15th International Conference on Distributed Computing Systems. 83–91. doi:10.1109/ICDCS.1995.500006
[23] Laine Rumreich and Paolo A. G. Sivilotti. 2025. Using Minicasts for Efficient Asynchronous Causal Unicast and Byzantine Tolerance. In Parallel and Distributed Processing Techniques, Hamid R. Arabnia, Masami Takata, Leonidas Deligiannidis, Pablo Rivas, Masahito Ohue, and Nobuaki Yasuo (Eds.). Springer Nature Switzerland, Cham, 65–81.
[24] Yan Tong, Nathan Liittschwager, and Lindsey Kuper. 2026. Can you keep a secret? A new protocol for sender-side enforcement of causal message delivery. arXiv:2603.14690 [cs.DC] https://arxiv.org/abs/2603.14690
A Usage of Data Structures
A.0.1 Local Dependency Vector (DV). The Dependency Vector (DV) is a 1-dimensional array of size n with natural numbers embedded within the internal structure of each message record m. Its primary function is to maintain a local, point-in-time snapshot of the highest message sequence numbers delivered to process i from every peer at the moment of message initialization. Crucially, the DV remains completely local to the executing process as it is stored within the unacknowledged application queues but is explicitly omitted from the transmitted network payload.
By preventing the transmission of variable-sized metadata over the wire, the protocol preserves a constant network message size overhead. However, because each of the isolated buffers can hold up to records—with each record caching an -sized array—the local space complexity scales to . Within the sendMessages procedure, the DV enforces causal ordering by blocking the transmission of any message whose dependencies have not been cleared by the current permit state, requiring that .
A.0.2 Last Message Sent Vector (LMS ). The Last Message Sent vector (LMS ) is a 1-dimensional tracking array of size n used to log the local sequence number (mid) of the most recent message transmitted from process i to each respective peer. This vector is instrumental in preserving the constraints of the Sender Permission to Send (SPS) invariant on the sender side.
During the execution of causalSend, a localized snapshot of is copied directly into the message record as m.LMS, capturing the exact outbound causal history across all channels at the moment of creation. Following this snapshot, is advanced to m.mid. The core utility of this snapshot occurs within the sendPermits procedure, where m.LMS is evaluated against the current heads of the outbound queues to ensure that all causal predecessors sent to other destinations prior to m have stabilized/been delivered before a permit is released.
A.0.3 Isolated Application Queues ( ). Outbound application messages destined for peer processes are segregated into an array of isolated FIFO queues, , each strictly bounded by a maximum capacity constraint . This architectural isolation establishes robust fault containment. If a Byzantine process maliciously suppresses ACK control signals, memory consumption is strictly confined to the buffer dedicated to that specific channel, ensuring parallel communication channels with honest peers remain completely unaffected.
When an isolated queue reaches its capacity boundary, the protocol executes an optimistic network eviction, removing the oldest stale message from the head of the queue to force local progress. If the evicted message carried a permit requirement (stale_m.per), it undergoes a cascading capacity check against the signaling plane buffers ( ) to ensure memory is reclaimed before the state is advanced.
A.0.4 Isolated Missing Permits Queues ( ). The Missing Permits Queue array, , consists of independent FIFO buffers bounded by a maximum capacity constraint . This data structure explicitly decouples acknowledgment processing from permit generation. When an inbound ACK confirms that a message requiring a permit has been delivered, or when such a message is optimistically evicted from , the record is transferred into .
The message record remains securely buffered within this isolated memory space until the sender's local outbound history satisfies the stability invariants evaluated by sendPermits. If reaches its capacity limit , the algorithm executes a defensive cascading eviction, forcefully removing the oldest pending record from the head of and dispatching a proactive PERMIT over the wire to prevent local memory exhaustion.
A.0.5 Last Delivered Message IDs ( ). The Last Delivered vector ( ) is a 1-dimensional array of size n tracking the sequence number of the most recent valid application message delivered from each peer process in the network. Serving as the node's local causal ground truth, is utilized during the execution of causalSend to populate the DV fields of newly initialized outbound payloads. Additionally, provides immediate protection against adversarial replay attacks within the message ingestion pipeline. Upon receiving an incoming payload, the receive procedure verifies that . Any message failing this check is classified as a duplicate or an active forgery and is immediately dropped, preserving the integrity of the delivery layer.
A.0.6 Last Permit Received Vector (LPR ). The Last Permit Received vector (LPR ) is an array of sequence numbers tracking the highest causal authorization received from each peer process. This vector acts as a localized causal ceiling, ensuring the preservation of the SPS invariant without requiring a globally synchronized consensus plane. A process monotonically advances its LPR [src] value when an incoming message arrives with a disabled permit flag (m.per = False), indicating that the payload carries no unresolved upstream dependencies, or upon the explicit receipt of a dedicated PERMIT control packet. LPR [src] value is also advanced even if there are unresolved upstream dependencies that is forced to ignore because of overflow of some queue. This vector is continuously evaluated by sendMessages to determine whether buffered outbound payloads can be safely released to the network.
B Description of Algorithm Procedures
B.0.1 causalSend(dst, p). The causalSend procedure is executed when the application layer dispatches a payload p to a designated target process dst. This procedure handles capacity validation, network eviction, and the local logging of causal history vectors prior to transmission.
(1) Buffer Capacity and Network Eviction: Before constructing the outbound message, the algorithm verifies the current memory footprint of the targeted application buffer, . If the buffer size meets or exceeds the maximum capacity threshold , a network eviction is executed. The oldest message (stale_m) is systematically removed from the head of .
(2) Forced Transmission and Permit Cascading: If the evicted stale_m has not yet been transmitted over the network ( ), it is flagged as sent (stale_m.sent True) and immediately dispatched over the point-to-point network via send_i(dst, MSG, stale_m). The LPR_i vector is also updated using the dependency vector of stale_m ( ) even if some of those dependencies were not satisfied but had to be ignored because of queue overflow. This allows blocked messages in other queues to be network-sent. If stale_m holds an active permit dependency (stale_m.per), a cascading capacity check is performed on the corresponding missing permits queue Q_i[dst]. If this queue is saturated ( ), its head element m' is removed and a proactive PERMIT message carrying m'.mid is transmitted over the point-to-point network to unblock the destination. The evicted stale_m is then appended to Q_i[dst]. Following this sequence, sendPermits() is invoked to evaluate and flush pending permits.
(3) Message Initialization and Snapshotting: Once buffer space is secured, the algorithm determines the permit requirement flag (req_per), setting it to True if any alternative application queue contains pending unacknowledged traffic ( ). A new message record is initialized with the target destination, the current sequence number , the calculated permit flag, and the payload. The local clock is then incremented. Crucially, the message captures a point-in-time snapshot of the node's local causal history by copying into its local Dependency Vector ( ) and logging the outbound channel states into .
(4) Pipeline Execution: Finally, the local tracking entry is updated (LMS [dst] m.mid), and sendMessages() is executed to attempt an immediate, optimistic transmission of the newly buffered payload.
B.0.2 sendMessages(). The sendMessages procedure is the primary component governing message transmission, responsible for validating that outbound payloads satisfy the SPS invariant before they are sent over the point-to-point network.
The procedure loops systematically across all process-isolated application channels from to . For each isolated buffer , the algorithm processes messages sequentially starting from index . For every unsent record ( ), it evaluates whether the payload is causally constrained by verifying its embedded dependency history against the local permit vector: .
If the message is unblocked ( blocked), the algorithm sets True and transmits the packet as a unicast MSG message over the point-to-point network. Note however, that the and fields of should not be included in MSG. If the safety check fails, indicating that the message depends on a causal predecessor that has not yet been authorized or cleared by an incoming permit, the evaluation loop for that specific channel immediately executes a break statement. Because strict point-to-point FIFO ordering must be preserved within each channel, a single blocked message at the head of a queue halts the transmission of all subsequent records in that isolated buffer, preventing causal fractures without affecting unrelated destination channels.
B.0.3 sendPermits(). The sendPermits procedure manages the systematic release of pending causal PERMITs stored within the isolated permit queues back to peer processes via point-to-point unicast messaging.
The procedure loops sequentially through all destination channels . For each channel, an evaluation loop runs as long as the respective permit queue is non-empty ( ). The algorithm peeks at the message record situated at the head of the queue ( ) and subjects it to a strict outbound causal stability check: , .
This condition mathematically verifies that all historical application messages transmitted by process i to any other peer j prior to the generation of m have either been explicitly acknowledged by their recipients or cleared via network eviction. If this stability check is satisfied, it is safe to unblock the target process; a unicast PERMIT message bearing m.mid is sent to dst over the point-to-point network, and the record is permanently popped from . If the stability condition is not met, the procedure triggers a break for that channel, preserving strict FIFO pipeline behavior within the signaling queue.
B.0.4 receive(src, MSG, m). This procedure handles the real-time ingestion of point-to-point application messages (MSG) arriving from a source node src. Given the Byzantine network context, incoming payloads must pass through sequencing filters before application-level delivery occurs.
(1) Replay and Duplicate Protection: Upon message arrival, the algorithm executes an immediate sequence check against the local ground truth vector, evaluating whether . If true, the message is identified as a stale duplicate or an active Byzantine replay attack; the payload is immediately dropped, and the procedure terminates, preserving at-most-once delivery constraints.
(2) Causal Ceiling Optimization: If the incoming message is verified as valid and carries a disabled permit requirement flag ( ), it implies that the sender has no outstanding unpermitted causal dependencies on other channels. The receiver immediately optimizes its control state by advancing its authorization vector: . This update instantly elevates the causal ceiling for outgoing messages awaiting clearance from src.
(3) State Synchronization and Acknowledgment: To conclude the ingestion sequence, the receiver records the progress by setting . A unicast control acknowledgment (ACK) containing the sequence index is then returned to the source node over the point-to-point network to permit buffer reclamation at the sender. Following state synchronization, the raw payload is delivered to the local application layer via deliver.
B.0.5 receive(src, ACK, m_id). This procedure is executed upon receiving an acknowledgment control message (ACK) from a process src confirming the delivery of a previously transmitted message m_id.
The algorithm first deploys dual defense filters to protect buffer states from malformed or out-of-order signaling flags:
(1) Eviction or Replay Filtering: If , the incoming signal corresponds to a historical record that has already been cleared from memory via an optimistic network eviction or after already receiving an ACK. This received (duplicate) ACK is discarded immediately.
(2) Sequence Inflation Defense: The procedure verifies if . If true, the incoming acknowledgment references a message sequence number that was never generated or transmitted by process i, indicating an active Byzantine sequence inflation attack. The control signal is dropped.
If the acknowledgment passes both filters, the algorithm processes the isolated application queue while it is non-empty. As long as the oldest message at index 0 satisfies , it is sequentially removed from the queue. For each removed message , if it was transmitted and required a permit , the algorithm manages its transition to the permit tracking structure. If , a defensive eviction pops the oldest entry from the head of and transmits a proactive permit carrying .mid over the point-to-point network. The message is then appended to the tail of . If an entry does not satisfy the loop condition, the loop breaks. Finally, the procedure calls sendPermits() to evaluate and release any unblocked permits.
B.0.6 receive(src, PERMIT, m_id). This procedure processes incoming authorization control messages (PERMIT) dispatched by a peer process src to clear outstanding causal barriers.
To prevent adversarial nodes from manipulating local execution timelines or inducing safe-state regressions, the permit index is subjected to a strict bounding verification check: .
The upper boundary guarantees that a permit is only processed if it corresponds to an application message that has already been received and delivered locally by process . This prevents Byzantine processes from forcing state transitions based on future-dated or fabricated control data. The lower boundary ensures strict structural monotonicity, causing the algorithm to ignore stale or redundant permits.
Once validated, the local permit tracking vector is advanced by setting . The procedure then immediately invokes sendMessages. This re-evaluates the dependency status of all outbound application messages currently stalled across the isolated queues , allowing the process to immediately flush newly unblocked payloads onto the data plane.
C Detailed Complexity Analysis
C.0.1 Message Space Overhead. A primary design objective of the protocol is the minimization of causal metadata transmitted over the network wire. Every application packet (MSG) transmitted across point-to-point FIFO channels carries only a fixed, constant number of scalar fields, specifically: the target destination identifier (rcv), the local sequence index (mid), a single boolean permit requirement flag (per), and the application payload (pl).
Crucially, as specified in the structural definitions of the message record, Local Dependency Vector (m.DV) and the outbound causal history snapshot (m.LMS) are maintained strictly within local memory buffers. Because these vectors are explicitly omitted from the serialized network payload, the message space overhead on the wire remains strictly with respect to the network size n.
C.0.2 Message Complexity (Number of Messages). The protocol operates exclusively on a single point-to-point data and signaling plane, executing all state updates over unicast communication channels. The message complexity generated per application-level transmission invocation is bounded as follows:
-
Exactly one application message packet (MSG) is unicast from the sender to the target destination. Size is .
-
Exactly one control acknowledgment (ACK) is returned from the receiver to the sender to enable local buffer clearance. Size is .
-
At most one explicit control permission message (PERMIT) is generated and unicast to the receiver to authorize downstream deliveries and satisfy the constraints of the Sender Permission to Send (SPS) invariant. Size is .
Because all tracking, verification, and clearance operations are handled strictly via localized, point-to-point unicast messaging, the message complexity per application message send is strictly .
It also follows that the communication word complexity is .
C.0.3 Local Space Overhead. To achieve perfect fault isolation and prevent adversarial actors from triggering head-of-line blocking or resource exhaustion on honest channels, the protocol organizes its tracking parameters into process-segregated data structures, resulting in an local memory footprint:
• Global Tracking Arrays: Each node maintains flat, tracking vectors for basic accounting, including the Last Delivered message IDs (LDi), the Last Permit Received ceiling (LPRi), and the local Last Message Sent pointers (LMSi). Combined, these structures consume space.
• Isolated Queue Infrastructures: Outbound traffic and pending permissions are managed across an array of n independent channels for the unacknowledged message buffers ( ) and the missing permit buffers ( ). These queues are strictly bounded by the physical capacity constants and , respectively.
• Embedded Vector Overhead: Every individual message record cached within the or arrays embeds two localized, n-sized vectors (m.DV and m.LMS).
Consequently, with distinct destination channels maintaining a combined capacity bounded by records, and each record caching an -sized tracking state, the total local space complexity scales as . This quadratic memory commitment represents the necessary structural tradeoff to achieve a constant message overhead while ensuring complete isolation against cross-channel Byzantine disruptions.
C.0.4 Computational Time Complexity. The computational footprint is centered around buffer ingestion operations and the event-driven evaluation of causal safety invariants:
• Queue Management Operations: Basic enqueue and dequeue operations within the isolated buffers and execute in strict time relative to , as all queue limits are structurally capped by the constants and .
• Data Plane Causal Evaluation: The sendMessages procedure systematically reviews the unacknowledged arrays across all n destination channels. For each channel, validating whether the head payload is causally blocked requires verifying its embedded dependency history against the local permit vector , taking time. Evaluating the heads of all isolated queues thus consumes time in the worst-case pass.
• Signaling Plane Invariant Verification: The sendPermits procedure inspects the missing permit queues sequentially across all n channels. Assessing whether a cached permit can be safely transmitted requires evaluating its snapshotted outbound history against the active queue elements , which demands an vector comparison per channel, scaling the entire pass to time.
Importantly, these evaluation procedures do not execute continuously; they are strictly event-driven, triggered only upon localized occurrences such as the physical generation of a new application packet, or the ingestion of an incoming unicast ACK or PERMIT control signal. Because these passes are bounded by the constant capacity ceilings ( ) and execute only when state transitions occur, the amortized computational overhead remains highly scalable for high-throughput messaging environments.
THEOREM C.1 (AMORTIZED TIME COMPLEXITY). The amortized time complexity of Algorithm 2 is .
PROOF. To formally establish that the event-driven computational overhead of our protocol scales at an expected amortized complexity of per application message, we evaluate the aggregate operational history using a steady-state probabilistic analysis over an execution sequence of N messages. Inline buffer management operations inside the causalSend and receive procedures require simple array indexing and execute in strict time due to the constant physical capacities and . For the signaling plane, a single invocation of sendPermits systematically loops across all n process channels. A permit record only resides in during the transient window between when its application payload's acknowledgment is processed and when its outbound history stabilizes. This outbound history stabilization is defined as the specific operational boundary where the sending node processes the network acknowledgments for all causal dependencies preceding that payload, ensuring it is safe for downstream correct processes to release dependent transmissions without breaching the Sender Permission to Send (SPS) invariant. The lifespan of this un-stabilized transient phase is directly bounded by the network round-trip time (RTT). In a uniform steady-state network, traffic is distributed across all channels, meaning the probability that any specific channel's queue is non-empty at an arbitrary trigger is proportional to the round-trip latency and inversely proportional to the network scale, yielding . If a channel's queue is empty, the loop incurs an immediate checking cost. Conversely, if the queue is non-empty, the algorithm initiates the loop, expending time performing vector comparisons before either processing or executing a break. Computing the mathematical expectation across the system reveals the power of asymptotic notation: the probability of a queue being active perfectly balances out the computational cost of a vector validation on that queue. The total expected workload for a full sweep across all n channels is therefore bounded by . Because each message lifecycle maps to a fixed, constant number of event-driven triggers (exactly one incoming ACK and one PERMIT), multiplying this expected sweep cost across the operational history yields a total expected work profile bounded by . Dividing this total expenditure by the N application messages processed yields an expected amortized time complexity of exactly per message.
An identical balancing property regulates the evaluation of the data plane within the sendMessages procedure, which adds a secondary operational component to skip past previously released payloads awaiting space reclamation where . This linear clean-up loop inspects a simple boolean flag in time per entry, advancing a channel pointer until it reaches the first unreleased message ( ). Because each application payload transitions to a sent state exactly once during its active lifecycle and queue lengths are structurally constrained by , the cumulative number of index advancements executed to skip past transmitted items over the entire sequence is strictly bounded by , contributing a constant amortized cost per message. Since each message maps to a fixed, constant number of event triggers, multiplying these workloads across the lifecycle yields a total expected workload bounded by . Dividing this total expenditure by the N processed messages yields an expected amortized time complexity of exactly per message, demonstrating that the structural expansion of the network naturally dilutes the probability of active queue evaluations to counteract the linear growth of vector operations.