Skip to main content
Guides
Category
Performance
Reading time
5 minutes
Published
Updated

eth_getLogs performance comparison

eth_getLogs is one of the most important RPC methods for indexers, analytics platforms, explorers, and data pipelines. It is also one of the easiest methods to benchmark badly.

A provider may look fast for simple calls but struggle with wide block ranges, busy contracts, historical logs, or repeated backfills. If your business depends on logs, you need to test eth_getLogs directly.

Section 01

Why eth_getLogs is hard

eth_getLogs is not just a basic lookup. The node must search event logs across a block range and apply address and topic filters. Performance depends on:

  • block range size
  • event density
  • topic selectivity
  • chain size
  • node client
  • archive/full node behavior
  • provider limits
  • cache state
  • retries and concurrency

This means one benchmark result does not represent all workloads.

Section 02

What are the current Ethereum eth_getLogs block-range limits?

Published Ethereum limits checked October 29, 2026:

  • SolidRPC authenticated: up to 30,000 blocks per call in the Ethereum reference. Account quotas and practical response constraints still apply.
  • SolidRPC keyless: 25 unfiltered or 2,000 filtered blocks, with a 2 MiB response cap. The public policy reserves this route for lightweight traffic.
  • Alchemy: the Ethereum method reference lists 10 blocks on Free and no fixed block-range ceiling on its paid usage and Enterprise tiers for Ethereum, with a 150 MB response cap.
  • Quicknode: the Ethereum method reference lists 5 blocks on Free Trial and 10,000 on paid plans.

These are documented request limits, not speed measurements or equivalent free offers. Do not generalize one Ethereum row to all chains or another payment product. Recheck the specific plan and route before buying or running a backfill.

Section 03

Which limits determine whether a 30-day export will finish?

Check five constraints separately: inclusive block span, number of returned events, response bytes, request deadline, and total account usage. Then test historical access. An endpoint can allow a wide range while refusing a dense response, or serve recent logs while requiring a different access tier for older ones.

Estimate the initial page count as ceil(total_blocks / measured_page_width), using a width that succeeded on representative dense history. Add timestamp lookup, header enrichment, verification, and retry calls. If a quota is credit-weighted, use the provider's method cost rather than equating one request to one credit. Do not confuse per-second throughput with daily allowance.

For USDC, freeze the contract, event filter, timestamp boundaries, and expected sample events across providers. Run recent and oldest-date probes on the same route you will use for the job. The USDC CSV guide shows how to define that workload without a moving latest target.

Section 04

What to measure

Latency distribution

Do not only track average latency. Measure:

  • p50
  • p95
  • p99
  • max latency
  • timeout rate

For production systems, p95 and p99 often matter more than the average.

Error rate

Track:

  • 429 responses
  • timeouts
  • invalid range errors
  • inconsistent responses
  • partial failures
  • provider-specific limits

A slower but consistent provider may be better than a fast provider that fails unpredictably under load.

Range behavior

Test multiple block range sizes:

  • small recent ranges
  • medium historical ranges
  • large backfill ranges
  • dense event ranges
  • sparse event ranges

Many systems perform fine on small ranges and fail when backfills begin.

Cost per successful result

Cost should be measured per useful result, not only per RPC call. If a provider has high timeout or retry rates, the effective cost goes up.

Section 05

How to structure an eth_getLogs benchmark

Use a repeatable test matrix:

  1. Select real contracts from your workload.
  2. Pick recent and historical block ranges.
  3. Include dense and sparse event periods.
  4. Run tests with realistic concurrency.
  5. Record latency, errors, and retries.
  6. Compare cost based on actual method billing.
  7. Repeat at different times of day.

Avoid synthetic-only tests. They may tell you the endpoint is alive, but not whether it can support your indexer.

Section 06

Where SolidRPC fits

SolidRPC offers one managed integration for supported live reads and historical log queries. Check the network catalog for the chain and method family, then test your actual contracts, block ranges, response sizes, and completion deadlines through the customer endpoint.

Compare useful results and current plan quotas for the same workload. Your application still owns its backfill cursor, deduplication, and reorganization handling.

Section 07

Common eth_getLogs mistakes

Avoid these patterns:

  • using very large block ranges without testing provider limits
  • treating all chains the same
  • retrying too aggressively
  • measuring only current blocks
  • ignoring response size
  • ignoring empty ranges
  • ignoring failed requests in cost calculations
  • assuming archive and full node behavior is identical
Section 08

Choose by completed, correct work

A useful comparison reports a completed fixed interval, validated log identities, elapsed time, retries, and total usage. Keep unsigned quotes, small samples, and completed backfills as separate results. A larger advertised range can reduce request count, but only if the returned data is complete and the job finishes within its budget.

Workload review

Want us to benchmark your current RPC stack?

Send your providers, routing setup, method mix, or monthly bills. We will compare the complete stack with one SolidRPC integration across cost, useful completion rate, failover, and operational work.