Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capturing messages order and dependency #76

Open
staheri14 opened this issue Jul 26, 2021 · 0 comments
Open

Capturing messages order and dependency #76

staheri14 opened this issue Jul 26, 2021 · 0 comments

Comments

@staheri14
Copy link
Contributor

staheri14 commented Jul 26, 2021

Background

Having a way to capture the ordering between the waku messages would allow store nodes to serve historical messages to the same order to all the requesters.
The current message ordering technique used in the waku2 store protocol is based on sender-generated timestamp + message hash (this allows total message ordering). However, this technique does not fully and correctly capture message dependency. It relies on nodes' clock (publishers) being synch with the error margin of +-20seconds (or some bounded value).
A better ordering mechanism shall mitigate this constraint. The followings are some potential directions:

  • Lamport timestamps
  • Directed acyclic graphs, though afaik this approach fits best a static group of users.
  • Other approaches

This issue is to explore other methods and decide on an ordering mechanism to be incorporated in the waku2 store protocol.

@staheri14 staheri14 changed the title Capturing message ordering and dependency in waku store protocol Capturing messages order and dependency in waku store protocol Jul 26, 2021
@staheri14 staheri14 changed the title Capturing messages order and dependency in waku store protocol Capturing messages order and dependency Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant