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

Stress Test Dashboard #1209

Closed
xavier506 opened this issue Jun 13, 2023 · 2 comments
Closed

Stress Test Dashboard #1209

xavier506 opened this issue Jun 13, 2023 · 2 comments
Assignees

Comments

@xavier506
Copy link
Collaborator

xavier506 commented Jun 13, 2023

A new menu item for Libre Testnet that shows the results obtained by running a stress test using the scripts located in https://github.com/edenia/libre-stress-test

The dashboard should include

Transactions per second

  • Current Transactions per Second (sum of two consecutive blocks)
  • Historic Transactions per Second (limit to 90 days)
  • Current Transactions per Block(500ms)
  • Historic Transactions per Block (limit to 90 days)

We can reuse this component for this

Image

Actions per second

  • Current Actions per Second
  • Historic Actions per Second (limit to 90 days)
  • Current Actions per Block (500ms)
  • Historic Actions per Block (limit to 90 days)

very similar to TPS

Network resource utilization

  • Current network utilization NET
  • Historic network utilization NET
  • Current network utilization CPU
  • Historic network utilization CPU

the sum of CPU and NET utilization of all transactions in a block divided by the total CPU and NET limit in a block will give us a % of utilization

Other Nice to have

@xavier506
Copy link
Collaborator Author

xavier506 commented Jun 20, 2023

Lets add some cards below the graph on the stress test dashboard (they can also remain on the homepage)

  • TPS all time high
  • net utilization ATH
  • transactions last hour
  • transactions last day
  • transactions daily average
  • transactions last week
  • cpu limit per block
  • net limit per block
  • chain cpu limit
  • chain net limit

Image

@xavier506
Copy link
Collaborator Author

xavier506 commented Jun 20, 2023

  • history of NET and CPU can be saved to DB and then possible shown as a graph?

Image

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

2 participants