Probabilistic Fair Ordering of Events
Muhammad Haseeb, Jinkun Geng, Aurojit Panda, Radhika Mittal, Nirav Atre, Srinivas Narayana, Anirudh Sivaraman
TL;DR
The paper tackles fair ordering in distributed systems under unavoidable clock-uncertainty by introducing Tommy, a probabilistic sequencer that leverages clock-correction distributions to compare noisy timestamps. By formulating pairwise precedence as a probability $\xrightarrow{p}$ and mapping multi-event ordering to social-choice ranking, Tommy produces a partial order that is robust to intransitive comparisons and online arrival of events. It combines a statistical model with Smith-set–based partial ordering to avoid forcing a total order when not warranted by evidence, and it demonstrates improved fairness over a TrueTime baseline in ns-3 simulations and a realistic data-center workload. The approach offers a practical fair ordering primitive that does not rely on near-perfect clocks, with implications for financial exchanges, online gaming, and ad auctions where fairness matters.
Abstract
A growing class of applications depends on fair ordering, where events that occur earlier should be processed before later ones. Providing such guarantees is difficult in practice because clock synchronization is inherently imperfect: events generated at different clients within a short time window may carry timestamps that cannot be reliably ordered. Rather than attempting to eliminate synchronization error, we embrace it and establish a probabilistically fair sequencing process. Tommy is a sequencer that uses a statistical model of per-clock synchronization error to compare noisy timestamps probabilistically. Although this enables ordering of two events, the probabilistic comparator is intransitive, making global ordering non-trivial. We address this challenge by mapping the sequencing problem to a classical ranking problem from social choice theory, which offers principled mechanisms for reasoning with intransitive comparisons. Using this formulation, Tommy produces a partial order of events, achieving significantly better fairness than a Spanner TrueTime-based baseline approach.
