nimbus-eth2/beacon_chain/spec/eth2_apis
Jacek Sieka 1f89b7f7b9
speed up trusted node backfill (#3371)
With these changes, we can backfill about 400-500 slots/sec, which means
a full backfill of mainnet takes about 2-3h.

However, the CPU is not saturated - neither in server nor in client
meaning that somewhere, there's an artificial inefficiency in the
communication - 16 parallel downloads *should* saturate the CPU.

One plasible cause would be "too many async event loop iterations" per
block request, which would introduce multiple "sleep-like" delays along
the way.

I can push the speed up to 800 slots/sec by increasing parallel
downloads even further, but going after the root cause of the slowness
would be better.

* avoid some unnecessary block copies
* double parallel requests
2022-02-12 12:09:59 +01:00
..
eth2_json_rpc_serialization.nim REST JSON support improvements (#3232) 2022-01-06 08:38:40 +01:00
eth2_rest_serialization.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
rest_beacon_calls.nim speed up trusted node backfill (#3371) 2022-02-12 12:09:59 +01:00
rest_beacon_client.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
rest_common.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
rest_config_calls.nim widen allowed specs for validator client 2021-10-21 00:59:05 +03:00
rest_debug_calls.nim Revert restAccept workaround. (#3369) 2022-02-11 12:01:45 +01:00
rest_keymanager_calls.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
rest_keymanager_types.nim Remote KeyManager API and number of fixes/tests for KeyManager API (#3360) 2022-02-07 22:36:09 +02:00
rest_node_calls.nim cleanups and fixes (#2827) 2021-08-27 11:00:06 +02:00
rest_remote_signer_calls.nim cleanups, partly from kintsugi branch (#3161) 2021-12-05 17:32:41 +00:00
rest_types.nim rest: fix ssz preference string (#3357) 2022-02-04 15:26:27 +02:00
rest_validator_calls.nim clean up sync subcommittee handling 2021-10-20 22:59:13 +03:00
rpc_beacon_calls.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_beacon_client.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_debug_calls.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_nimbus_calls.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
rpc_node_calls.nim REST API client, JSON-RPC cleanups (#2756) 2021-08-03 17:17:11 +02:00
rpc_types.nim rework spec imports (#2779) 2021-08-12 13:08:20 +00:00
rpc_validator_calls.nim Broadcast blocks before integrating in ChainDAG 2021-12-06 17:15:47 +02:00