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

Current RPC throughput #1970

Open
HoOngEe opened this issue May 26, 2020 · 0 comments
Open

Current RPC throughput #1970

HoOngEe opened this issue May 26, 2020 · 0 comments
Labels
performance Something is slow rpc

Comments

@HoOngEe
Copy link
Contributor

HoOngEe commented May 26, 2020

Considering a blockchain is a distributed ledger, each user will send RPC requests to its own distributed node. So the RPC throughput per node is not an important factor.
However, when measuring prevailing blockchain domain metrics like TPS it may affect performance.
I want to notify current RPC throughput to inform developers about the RPC layer limit.

CPU information: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz

RPC type Throughput
Ping 2426 RPC/s
SendSignedtransaction with Pay 1237 RPC/s

If you are trying to build a high performance network for the sake of benchmark and send transactions to a single node, TPS value is not able to surpass the RPC throughput.

Current value seems to be low and be enhanced by modifying server implementation.

With RUST_LOG=error, the throughput can increase up to about

RPC type Throughput
SendSignedtransaction with Pay 1400 RPC/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Something is slow rpc
Projects
None yet
Development

No branches or pull requests

1 participant