CodeChain-io / CodeChain-io/codechain

Current RPC throughput

Abierto
#1,970 0 comentarios 0 reacciones 0 asignados Ver en GitHub
performance rpc
Lenguaje dominante
Rust
Estrellas
256
Forks
50
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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 |

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza reproduciendo los benchmarks reportados de Ping y SendSignedtransaction with Pay en la configuración indicada con Intel i7-7700, tanto normalmente como con RUST_LOG=error. No se identifica ningún archivo de código fuente ni ninguna prueba; se considera terminado cuando se documente el límite RPC actual y se determine si la implementación del servidor puede mejorar el rendimiento reportado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
blockchain
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.