Skip to content

Research and implement WebSocket RPC ingestion to reduce polling credit usage #27

@rob1997

Description

@rob1997

What

The indexer currently relies on HTTP polling (eth_getLogs and eth_getBlockByNumber) which quickly exhausts rate limits/credits on hosted RPC providers like Infura/Alchemy for testnet deployments.

How to Reproduce

  1. Run the indexer against a hosted HTTP RPC endpoint (Infura/Alchemy) on testnet.
  2. Observe frequent polling requests from the indexer.
  3. Monitor provider credit usage and rate-limit behavior.

Expectation

Research and implement a WebSocket-based RPC ingestion path (where supported by Ponder and provider infrastructure), or document a robust alternative that materially reduces polling load and credit burn.

Additional Context (optional)

Increasing polling intervals is only a partial mitigation and can hurt freshness. We need a production-friendly default for non-Anvil environments.

Estimation

Dependencies

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