twoeths

Results 214 comments of twoeths
trafficstars

another direction is to research if we can port the snappyjs implementation into assembly script since the interface is similar to `as-sha256`

figured out that the issue happened with contabo and hetzner cloud provider, not with my local environment, so not sure what we can do here. Is it something related to...

> enabled? This is a big DOS vector for unsecured servers like this. @tuyennhv why do you need to pull the state from this node s I wanted to benchmark...

> CC: @tuyennhv should we still go for [master...dapplion/ephemeral-peerid](https://github.com/ChainSafe/lodestar/compare/master...dapplion/ephemeral-peerid) yeah I'm fine with creating new peer id upon restart (used to do that manually a lot of times), go ahead...

## Contabo machines ``` - Network: Prater - Slot range: 4 days until [3078725](https://www.beaconcha.in/block/3078725) - Machine: Contabo - S - Run config: systemd - Lodestar version: v0.36.0 ``` |#|Avg (12h)|Median...

| Metric name | Query | | ------------ | ---------- | |Avg|rate(vc_rest_api_client_request_time_seconds_sum{routeId="produceAttestationData"}[12h]) / rate(vc_rest_api_client_request_time_seconds_count{routeId="produceAttestationData"}[12h])| |Median|histogram_quantile(0.5, sum(rate(vc_rest_api_client_request_time_seconds_bucket{routeId="produceAttestationData"}[12h])) by (le))| |p95|histogram_quantile(0.95, sum(rate(vc_rest_api_client_request_time_seconds_bucket{routeId="produceAttestationData"}[12h])) by (le))| |p99|histogram_quantile(0.99, sum(rate(vc_rest_api_client_request_time_seconds_bucket{routeId="produceAttestationData"}[12h])) by (le)) |% > 1s|1 -...

Right now we use sync apis in some places which block the event loop - Uncompress gossipsub messages, see https://github.com/ChainSafe/lodestar/issues/4170 - Encrypt/decrypt libp2p connection in libp2p-noise, see https://github.com/ChainSafe/lodestar/issues/4140 - gossipsub...

the state transition takes 1s-2s depending on the node so at least it'll take that amount of time for the node to finish the api when that happens

For more information, `uint8arraylist` is not a direct dependency of js-libp2p, it's from ``` - "_project_#it-handshake#it-reader" depends on it - Hoisted from "_project_#it-handshake#it-reader#uint8arraylist" - Hoisted from "_project_#@lodestar#beacon-node#@chainsafe#libp2p-noise#uint8arraylist" - Hoisted from...

> Do other clients have any input here? I have same concern to Prysm. Right now in lodestar, we configure `meshMessageDeliveriesWindow` as 2000ms and a lot of peers get penalized...