Formal Model
Network Graph
A payment flow network is a directed graph where with the set of sources (payment senders) and the set of sinks (service providers). Each edge represents a potential payment flow from source to sink .
We consider a slotted time model with discrete epochs . The system tracks multiple task types , which serve as commodities in the multi-commodity flow formulation.
Each sink declares a capacity signal for each task type it serves, representing its maximum throughput (payment absorbable per epoch). The EWMA-smoothed capacity is:
where is the smoothing parameter.
For each sink and task type , the virtual queue backlog tracks unprocessed payment accumulation:
where is the payment flow routed to sink at time .
Backpressure Payment Routing
In the standard Tassiulas–Ephremides formulation, the max-weight scheduler selects links to maximize where is the differential backlog and the allocated rate. For BPE's single-hop architecture (sources connect directly to sinks), we adapt this as follows.
The differential backlog for sink from source under task type is:
where represents the source's pending payment queue.
Definition (Max-Weight Routing)
At each epoch , for each task type , allocate the total source flow to sinks proportionally to their capacity-weighted backpressure:
where .
In the steady state where all sinks have similar backlog levels, this reduces to proportional-to-capacity allocation, which is the mechanism implemented in our Superfluid GDA pool (member units proportional to smoothed capacity).
Multi-Commodity Extension
Task types serve as commodities. Each source emits flow for a specific task type , and sinks may register for multiple task types. The virtual queues are maintained per pair, achieving commodity-specific backpressure identical to the multi-commodity extension of Tassiulas–Ephremides (Tassiulas & Ephremides, 1992).
EWMA Smoothing
The smoothing parameter trades off responsiveness against oscillation. Following Jacobson's EWMA for TCP RTT estimation (Jacobson, 1988), we set (validated in Evaluation).
For a sink with constant true capacity , the EWMA-smoothed signal converges geometrically: .
Proof.
By direct expansion of the EWMA equation with for all . ◻
Monetary No-Drop Constraint
Unlike data packets, money cannot be dropped. When total source flow exceeds total sink capacity, BPE deploys an overflow buffer :
The buffer absorbs excess and drains proportionally to capacity as capacity becomes available. We prove in Throughput Optimality that is bounded under sufficient capacity.