CodeChain-io/codechain

Current RPC throughput

HoOngEe opened this issue · 0 comments

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