-
Notifications
You must be signed in to change notification settings - Fork 54
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
chore: delivery monitor for store v3 reliability protocol #2977
chore: delivery monitor for store v3 reliability protocol #2977
Conversation
Better structure of delivery monitor and related modules store protocol: simple cleanup of unused const use of observer observable pattern to inform delivery_monitor about subscription state waku_store resume does not need to get an explicit peerId as query param waku_sync protocol needs some peerId as peerId is optional in query proc send_monitor becomes a publish observer of lightpush and relay deliver monitor add more protection against possible crash and better logs
You can find the image built from this PR at
Built from 381b15c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wooow, beautiful PR! 😍 😍
Added some small questions, but looks great! Looking forward to see it working in practice!
waku/node/delivery_monitor/not_delivered_storage/not_delivered_storage.nim
Show resolved
Hide resolved
Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Nice work!
If only Sync was better implemented it could have been useful for this feature. Without proper storage though it's difficult to use.
As for re-sending messages can it still work with RLN? If verifying that a msg is missing take too much time the epoch would change and the proof would end up invalid no? That would also happen sometimes at the epoch boundary even if verifying is fast.
ah yes, good point! This is something we will need to fine-tune in the future when RLN is applied |
Description
This PR reinforces the efforts in the proper messages delivery, considering both sending and receiving.
Changes that try to replicate similar changes that are currently implemented in
status-go/go-waku
.Notice that I haven't tested it yet. The idea is to start testing, and adjusting its implementation, once we integrate
nwaku
instatus-go
.Changes
reliability
. Disabled by default.Issue
closes #2819