Achieving Causality with Physical Clocks
Sandeep S Kulkarni, Gabe Appleton, Duong Nguyen

TL;DR
This paper introduces PWC, a method that leverages unused bits in physical clocks to track causality among distributed events with high robustness and versatility.
Contribution
PWC is a novel approach that uses extraneous bits in physical clocks to determine causality, improving robustness and applicability over previous methods.
Findings
PWC can use 6-9 extraneous bits for causality tracking.
PWC is robust to clock skew errors and transient errors.
PWC enables causality detection using simple integer comparisons.
Abstract
Physical clocks provide more precision than applications can use. For example, a 64 bit NTP clock allows a precision of 233 picoseconds. In this paper, we focus on whether the least significant bits that are not useful to the applications could be used to track (one way) causality among events. We present PWC (Physical clock With Causality) that uses the extraneous bits in the physical clock. We show that PWC is very robust to errors in clock skew and transient errors. We show that PWC can be used as both a physical and logical clock for a typical distributed application even if just 6-9 extraneous bits (corresponding to precision of 15-120 nanoseconds) are available. Another important characteristic of PWC is that the standard integer < operation can be used to compare timestamps to deduce (one-way) causality among events. Thus, PWC is significantly more versatile than previous…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
