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

synth-bench: inject the transactions bypassing the json-rpc nodes #12763

Open
ssavenko-near opened this issue Jan 21, 2025 · 0 comments
Open
Assignees
Labels
A-benchmark Area: performance benchmarks

Comments

@ssavenko-near
Copy link
Contributor

Description

Current status

Synthetic benchmark spins up the json-rpc nodes to feed in the transactions into the system under test. That introduces an extra layer(s) resulting in the noise and may mask the bottlenecks in the Runtime system.

Goal

Tooling to inject the (valid, signed) transactions to the transactions pool bypassing the RPC layer.
Configurable TPS to check where we start dropping transactions.

Possible solution

Transaction producer running in the neard binary itself activated from the main config file ~/.near/config.json

Things to watch out

  • minimize the impact of the transaction injection job on the Runtime
  • cover much of the "normal" execution path apart from the RPC
  • generating the valid transactions is not trivial cause the neard does not have the clients private keys
@ssavenko-near ssavenko-near self-assigned this Jan 21, 2025
@ssavenko-near ssavenko-near added the A-benchmark Area: performance benchmarks label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-benchmark Area: performance benchmarks
Projects
None yet
Development

No branches or pull requests

1 participant