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

feat: Create first version of Waku dogfooding app #69

Closed
Tracked by #2151
adklempner opened this issue May 21, 2024 · 0 comments · Fixed by #68
Closed
Tracked by #2151

feat: Create first version of Waku dogfooding app #69

adklempner opened this issue May 21, 2024 · 0 comments · Fixed by #68

Comments

@adklempner
Copy link
Member

adklempner commented May 21, 2024

This is a feature request

Problem

Current efforts of testing long-term usage of js-waku required manually running an example and observing it. We should move towards a more automated solution. Additionally, it's important to gather metrics for how js-waku behaves in realistic conditions, across many browsers and locations.

Proposed Solutions

Create a webapp that runs a waku node and sends/listens to sequences of messages. Every time a message is successfully sent or received, it sends a request to the telemetry service with relevant metrics along with a wallet address.

To complete sequences:

  • generate random number and hash it
  • randomly pick a number of total messages in the sequence, between 5 and 20
  • randomly pick how often to send each message, between 1 and 3 seconds
  • send structured messages starting with index 0 to the total number using light push
  • each time a message is successfully sent to at least one peer, push the information to the telemetry service

Similarly, listen for messages using filter and push information to the telemetry service whenever one is decoded and received.

Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants