CodeChain-io / CodeChain-io/codechain

Current RPC throughput

Aberta
#1,970 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

performance rpc
Linguagem predominante
Rust
Estrelas
256
Forks
50
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Comece reproduzindo os benchmarks reportados de Ping e SendSignedtransaction with Pay na configuração indicada com Intel i7-7700, tanto normalmente quanto com RUST_LOG=error. Nenhum arquivo de origem ou teste é identificado; considera-se concluído quando o limite RPC atual estiver documentado e for estabelecido se a implementação do servidor pode melhorar o throughput reportado.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
rust
Domínio
blockchain
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Estagnada
Clareza
Precisa de esclarecimento
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.