Dynamic Pricing Mechanism

BPE's backpressure allocation determines who receives payment; we now formalize the complementary question of how much each unit of service costs. We introduce a dynamic pricing curve that creates economic backpressure: as queue load builds at a sink, the per-unit price rises, naturally throttling demand before overflow buffers are needed.

Definition (Queue-Length Price)

For task type τ\tasktype and sink kk at time tt, the per-unit price is:

p(τ,k,t)=βτ(t)(1+γQ(τ,k,t)Cˉ(k,t,τ))p(\tasktype, k, t) = \beta_\tasktype(t) \cdot \left(1 + \gamma \cdot \frac{Q(\tasktype, k, t)}{\Csmooth(k, t, \tasktype)}\right)

where βτ(t)>0\beta_\tasktype(t) > 0 is the base fee for task type τ\tasktype, γ>0\gamma > 0 is the price sensitivity parameter, Q(τ,k,t)0Q(\tasktype, k, t) \geq 0 is the current queue load reported by sink kk, and Cˉ(k,t,τ)\Csmooth(k, t, \tasktype) is the EWMA-smoothed capacity.

When a sink has zero queue load, the price reduces to the base fee βτ\beta_\tasktype. As Q/Cˉ1Q / \Csmooth \to 1 (queue approaches capacity), the price doubles. When Q>CˉQ > \Csmooth (overloaded), the price rises further, discouraging additional demand.

Base fee adjustment.

The base fee βτ\beta_\tasktype adjusts per epoch following an EIP-1559-style mechanism (Roughgarden, 2021). Let D(τ,t)D(\tasktype, t) denote aggregate demand (total flow rate from sources) and Ctotal(τ,t)=kCˉ(k,t,τ)C_{\text{total}}(\tasktype, t) = \sum_k \Csmooth(k, t, \tasktype) be aggregate capacity. At each epoch boundary:

βτ(t+1)={βτ(t)(1+δ)if D(τ,t)>Ctotal(τ,t),βτ(t)(1δ)otherwise,\beta_\tasktype(t+1) = \begin{cases} \beta_\tasktype(t) \cdot (1 + \delta) & \text{if } D(\tasktype, t) > C_{\text{total}}(\tasktype, t), \\ \beta_\tasktype(t) \cdot (1 - \delta) & \text{otherwise}, \end{cases}

where δ=0.125\delta = 0.125 (12.5%), matching the maximum per-block adjustment rate of EIP-1559. A floor βmin\beta_{\min} prevents the base fee from collapsing to zero during sustained under-utilization.

Proposition (Price Equilibrium)

Under the adjustment rule with price-sensitive demand D(τ,β)=D0/βD(\tasktype, \beta) = D_0 / \beta (unit-elastic), there exists a unique equilibrium base fee:

β=D0Ctotal(τ)\beta^* = \frac{D_0}{C_{\text{total}}(\tasktype)}

at which D(τ,β)=Ctotal(τ)D(\tasktype, \beta^*) = C_{\text{total}}(\tasktype).

Proof.

At equilibrium, the adjustment rule is stationary, requiring D(τ,β)=CtotalD(\tasktype, \beta^*) = C_{\text{total}}. Substituting the demand function: D0/β=CtotalD_0 / \beta^* = C_{\text{total}}, yielding β=D0/Ctotal\beta^* = D_0 / C_{\text{total}}. Uniqueness follows from strict monotonicity of D()D(\cdot) in β\beta. Stability follows because β<β\beta < \beta^* implies excess demand, triggering β\beta \uparrow, and β>β\beta > \beta^* implies excess capacity, triggering β\beta \downarrow. ◻

Connection to Kelly shadow prices.

Proposition (Price Equilibrium) recovers a classical result from network pricing theory. Kelly (Kelly et al., 1998) showed that the Lagrange multiplier on each link's capacity constraint in the proportional fairness optimization emerges as a per-unit price. In BPE, the equilibrium base fee β\beta^* is precisely this shadow price for the aggregate capacity constraint. The queue-length surcharge γQ/Cˉ\gamma \cdot Q/\Csmooth refines this by providing per-sink price differentiation: sinks with shorter queues offer lower prices, attracting more demand, which is exactly the routing signal that a price-taking source should follow.

Proposition (Routing Equivalence)

A cost-minimizing source facing prices across sinks routes flow to the sink with the lowest price. At equilibrium, source flow distributes such that prices equalize across sinks with available capacity:

Q(τ,k,t)/Cˉ(k,t,τ)=Q(τ,j,t)/Cˉ(j,t,τ)k,jKτQ(\tasktype, k, t) / \Csmooth(k, t, \tasktype) = Q(\tasktype, j, t) / \Csmooth(j, t, \tasktype) \quad \forall\, k, j \in K_\tasktype

i.e., all active sinks operate at the same utilization ratio.

Proof.

If sink kk has a lower utilization ratio Qk/Cˉk<Qj/CˉjQ_k/\Csmooth_k < Q_j/\Csmooth_j, then p(τ,k,t)<p(τ,j,t)p(\tasktype, k, t) < p(\tasktype, j, t). A cost-minimizing source strictly prefers kk, shifting demand until utilization ratios equalize. At this point, no unilateral deviation reduces cost, establishing a Nash equilibrium in routing. ◻

Economic backpressure.

Traditional backpressure routing uses queue differentials as a signal to route traffic away from congested links (Tassiulas & Ephremides, 1992). Our pricing mechanism achieves the same effect through economic incentives: congested sinks become expensive, and rational sources route elsewhere. The key advantage is that pricing operates without centralized coordination: each source independently queries per-sink prices and routes to minimize cost, yet the aggregate effect is optimal load balancing.