Skip to content

Request compressed JSON-RPC HTTP responses #29

Description

@andreclaro

Summary

Please consider standardizing compressed JSON-RPC HTTP responses (e.g. gzip / zstd via Accept-Encoding / Content-Encoding) for RPCv2.

Motivation

Transaction v1 / SIMD-0296 increases max transaction size from 1232 → 4096 bytes. That especially blows up getBlock (and similar) payloads.

As far as we can tell, neither Agave nor Firedancer honors Accept-Encoding on the RPC HTTP path today, so compression has to live in a proxy in front of the node. Response compression in the RPC stack would reduce bandwidth and improve client latency without changing method schemas.

Notes

This is a cross-cutting HTTP transport concern rather than a per-method change. If accepted, it can be followed by an RFC proposal as described in GOVERNANCE.md.

Context from discussion with Solana / Anza: current RPC is in maintenance mode; Tim Garcia suggested filing this against the specs repo for RPCv2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions