Skip to content

Conversation

@kariy
Copy link
Member

@kariy kariy commented Jun 18, 2025

This PR sets up the foundation for load testing to measure the system’s latency and throughput, with a focus on write performance (i.e. adding transactions).

The long-term goal is to build a suite of performance tests that measure:

  • pure TPS/SPS/GPS
  • performance of random read-only RPC requests
  • combined read + write scenarios

For now, the intended way to perform the test is to run against a Katana with metrics enabled, ideally with Prometheus and Grafana running to monitor the system during the test.

Implementations

  • A test database populated with initial state (starting with the Simple example project from the Dojo repo)
  • Generating multiple accounts to send parallel transactions
  • Basic measurement of:
    • raw TPS (add transactions without estimating fees)
    • accurate TPS (add transactions with fee estimation)

Test scenarios include running Katana both with and without a custom block time.

Future work will expand the test DB with more complex state and introduce read-heavy and mixed load tests.


Example implementation: https://github.com/kariy/katana-load-test

glihm and others added 4 commits July 7, 2025 23:30
Co-authored-by: kariy <26515232+kariy@users.noreply.github.com>
Add information about Explorer.
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

Successfully merging this pull request may close these issues.

3 participants