gaia icon indicating copy to clipboard operation
gaia copied to clipboard

Fortio RPC response time testing

Open faddat opened this issue 3 years ago • 0 comments

Summary

Fortio can be used to automatically test response times for each change made to Gaia.

Problem Definition

Currently, there isn't any formal testing done on Gaia, against live networks. Some RPCs are slower than others.

Proposal

Create a github action that kicks up a node with presynced state and the latest code. The node connects to the actual live network. Fortio runs against every endpoint. Reports are captured. We do this for every commit, on every branch.

We monitor the rest of the node, and capture that, too. This way, we know that block height is still advancing correctly, even under heavy load. The correct setup will allow us to test and verify everything in a real-world way,.

It'll require a

https://github.com/actions/runner

to be set up.

Reports will look like this as text:

https://raw.githubusercontent.com/istio/istio/release-1.0/mixer/test/perf/bench.baseline

But they can also be visually rendered. This should help with the increase in traffic that happens when the DEX launches.


For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned

faddat avatar Apr 01 '21 16:04 faddat