The Bloom Clock for Causality Testing

11/23/2020
by   Anshuman Misra, et al.
0

Testing for causality between events in distributed executions is a fundamental problem. Vector clocks solve this problem but do not scale well. The probabilistic Bloom clock can determine causality between events with lower space, time, and message-space overhead than vector clock; however, predictions suffer from false positives. We give the protocol for the Bloom clock based on Counting Bloom filters and study its properties including the probabilities of a positive outcome and a false positive. We show the results of extensive experiments to determine how these above probabilities vary as a function of the Bloom timestamps of the two events being tested, and to determine the accuracy, precision, and false positive rate of a slice of the execution containing events in the temporal proximity of each other. Based on these experiments, we make recommendations for the setting of the Bloom clock parameters. We postulate the causality spread hypothesis from the application's perspective to indicate whether Bloom clocks will be suitable for correct predictions with high confidence. The Bloom clock design can serve as a viable space-, time-, and message-space-efficient alternative to vector clocks if false positives can be tolerated by an application.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/30/2019

The Bloom Clock

The bloom clock is a space-efficient, probabilistic data structure desig...
research
04/30/2021

Achieving Causality with Physical Clocks

Physical clocks provide more precision than applications can use. For ex...
research
01/19/2019

An Optimal Vector Clock Algorithm for Multithreaded Systems

Tracking causality (or happened-before relation) between events is usefu...
research
11/05/2017

Bloom Filters, Adaptivity, and the Dictionary Problem

The Bloom filter---or, more generally, an approximate membership query d...
research
06/10/2020

A fundamental problem of hypothesis testing with finite inventory in e-commerce

In this paper, we draw attention to a problem that is often overlooked o...
research
12/16/2020

Causality is Graphically Simple

Events in distributed systems include sending or receiving messages, or ...
research
03/06/2023

Asynchronous Modal FRP

Over the past decade, a number of languages for functional reactive prog...

Please sign up or login with your details

Forgot password? Click here to reset