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: light protocol tester application #2700

Closed
7 tasks done
Tracked by #3079
NagyZoltanPeter opened this issue May 14, 2024 · 2 comments
Closed
7 tasks done
Tracked by #3079

feat: light protocol tester application #2700

NagyZoltanPeter opened this issue May 14, 2024 · 2 comments
Assignees
Labels

Comments

@NagyZoltanPeter
Copy link
Contributor

NagyZoltanPeter commented May 14, 2024

Problem

In order to get a good picture of reliability of lightpush and filter protocols/services in the network we need a tool, an application that can measure message latencies and loss rate in different condition and in various scale.

Suggested solution

Write an application that can either publish messages via lightpush or consume messages via filter from the network.
Each such clients shall use client side of the protocols and shall connect to a service peers in the network.
Messages shall be indexed an timestamped with information of duration from test start in order to measure latency and message losses and report them.

###Workbreakdown
####Phase1
Shall contain:

  • light_push publisher
  • filter_subscriber consumer
  • boundle into a docker compose with a full node of nwaku:latest image + monitoring and store.

####Phsase2

  • Shall utilize this tool to run against a waku-simulator without RLN.
  • Configurable message frequency and size

####Phase3

  • Run a stress test on waku-simulator with proper logging for message flow analysis
  • Run test on shards.staging - utilitzin different entry point to the network
@Ivansete-status
Copy link
Collaborator

This is now blocked because we need to prepare an image that brings proper tracking logs where the sender_peer_id is printed.
We will create that docker image based on the v0.29.0
@NagyZoltanPeter mentioned that there are messages being lost when using it with WakuSimulator and we need to debug that better once the above image is created.

@NagyZoltanPeter NagyZoltanPeter moved this from In Progress to Priority in Waku Jun 21, 2024
@NagyZoltanPeter
Copy link
Contributor Author

LiteProtocolTester is implemented and capable to run either in simulation or directly on any fleet.
It can be configured to various stress test for the network (multi sender, multi receiver, message frequency and size variation).
It is capable to detect message loss, misorder delivery, duplications. It calculates latencies.

@github-project-automation github-project-automation bot moved this from In Progress to Done in Waku Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

4 participants