paradigmxyz / reth

Modular, contributor-friendly and blazing-fast implementation of the Ethereum protocol, in Rust
https://reth.rs/
Apache License 2.0
3.81k stars 1.07k forks source link

Enable GZIP compression for JSON-RPC calls #9652

Open mvares opened 2 months ago

mvares commented 2 months ago

Describe the feature

Introducing gzip compression for JSON-RPC calls can significantly reduce the payload size of the requests and responses, leading to faster communication and lower bandwidth usage. This enhancement can be particularly beneficial for applications making frequent or large JSON-RPC calls to the Ethereum network.

### Tasks
shekhirin commented 1 month ago

I believe Geth already does it by default https://github.com/ethereum/go-ethereum/blob/380688c636a654becc8f114438c2a5d93d2db032/node/rpcstack.go#L396-L404, sounds like a good idea.

mvares commented 1 month ago

That sounds like a plan :shipit:

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 21 days with no activity.

github-actions[bot] commented 4 weeks ago

This issue was closed because it has been inactive for 7 days since being marked as stale.