graphprotocol / indexer-rs

Rewrite of indexer-service in Rust with TAP payments implementation
Apache License 2.0
22 stars 20 forks source link

Add HTTP request compression to RAV requests #97

Closed aasseman closed 1 week ago

aasseman commented 11 months ago

Problem statement The TAP Aggregator API is based on JSON-RPC. Thus there are easy bandwidth gains to be had with request compression since JSON is usually highly compressible.

Additional context https://github.com/graphprotocol/indexer-rs/blob/1178c6386768c98b7efb8463c024c57286ef7d1b/tap-agent/src/tap/sender_allocation_relationship.rs#L297-L302

carlosvdr commented 5 months ago

This will be stopped for a bit now, there are several dependencies issues, and they havent pushed and fixed their stuff from main to a newer version, still some stuff need to be fixed, so this should be addressed in some time when those problems from jsonrpsee side are solved