CodeChain-io / CodeChain-io/codechain
Current RPC throughput
- Vorherrschende Sprache
- Rust
- Sterne
- 256
- Forks
- 50
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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 |
Beitragsleitfaden
Rechercherichtung
Beginnen Sie damit, die gemeldeten Ping- und SendSignedtransaction with Pay-Benchmarks auf dem angegebenen Intel i7-7700-Setup zu reproduzieren, sowohl normal als auch mit RUST_LOG=error. Es ist keine Quelldatei oder kein Test angegeben; als erledigt gilt die Dokumentation des aktuellen RPC-Limits und die Feststellung, ob die Serverimplementierung den gemeldeten Durchsatz verbessern kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- blockchain
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100