spcl / faaskeeper

A fully serverless implementation of the ZooKeeper coordination protocol.
BSD 3-Clause "New" or "Revised" License
16 stars 13 forks source link

Create simplified and updated synchronization algorithm #35

Closed mcopik closed 1 year ago

mcopik commented 1 year ago

Our current algorithm has the problem of potential reordering between two steps: system counter increment and pushing to the distributor queue. In the case of interleaving, two updates can be reordered and applied to the user storage in an incorrect order.

This PR implements a newer, improved version of the algorithm. We apply the following changes: