CodeChain-io / CodeChain-io/codechain

Current RPC throughput

Đang mở
#1,970 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
performance rpc
Ngôn ngữ chính
Rust
Star
256
Fork
50
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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 |

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.