The Current Situation
Today, The Graph’s indexing economy faces two major issues:
-
Redundancy without coordination
-
100+ Indexers often index the same subgraph, duplicating heavy compute work.
-
Infra costs keep rising while indexing rewards shrink.
-
-
Inconsistency and disputes
-
Different environments (RPC nodes, configs, infra) can lead to POI discrepancies — even when Indexers operate honestly.
-
There’s no universal “right answer,” only majority agreement.
-
-
Unsustainable economics
-
Indexing rewards are still inflation-based, not tied to real usage.
-
Queries are supposed to dominate the economy long-term, but indexing costs remain high while revenues stay thin.
-
Competition is great when it drives performance. But at the indexing layer, deterministic tasks repeated by everyone are becoming wasteful rather than valuable.
Strategic Question
Do we need 100+ Indexers recomputing the same subgraphs and slashing each other over POI disputes?
Or do we need a consensus-driven indexing layer feeding into scalable storage and query layers, where competition thrives where it matters: serving users?
A Three-Layer Model for Horizon
Horizon is already moving The Graph toward a modular, service-based architecture with stronger service-level commitments. Building on that, we can envision a layered approach:
1. Indexing Layer (Consensus Compute)
-
Subset of Indexers perform the actual indexing.
-
Outputs are validated via consensus / proofs, then sealed.
-
Rewards tied to verified compute work (like PoW or Proof-of-Computation).
Removes redundant compute, ensures correctness, and fairly compensates for the heaviest task.
2. Storage Layer (Durable Availability)
-
Sealed subgraph data is replicated and stored by specialized providers.
-
Rewards tied to availability proofs, similar to Filecoin.
-
Replication is cheap, predictable, and widely distributed.
Separates compute from availability, lowers costs, strengthens resilience.
3. Query Layer (Utility-Driven Service)
-
Operators serve queries against verified, sealed datasets.
-
Anyone can participate, competing on latency, reliability, coverage, and cost.
-
Queries become the dominant economic driver, as Horizon envisions.
-
Decentralized gateways become easier to implement, since queries reference sealed data.
Turns the protocol into a scalable, predictable query market — aligned with real user demand.
Benefits
-
Efficiency: End redundancy at the indexing layer.
-
Correctness: Consensus-backed outputs remove ambiguity in POIs.
-
Economic sustainability: Indexing rewarded fairly, but the economy shifts toward queries.
-
Scalability: Global demand met by replicated storage + distributed query operators.
-
Horizon alignment: Leverages Horizon’s modular architecture and SLAs, but extends it toward specialization.
Tradeoffs
-
More complex architecture (3 roles vs. 1).
-
Governance needed for consensus at the indexing layer.
-
Risk of centralization if indexing is restricted to too few participants.
-
Transition challenges — migrating from today’s model to layered roles must be gradual.
How This Fits Horizon
Horizon is already introducing:
-
Modular data services (not just subgraphs).
-
Service-level agreements and slashing.
-
Permissionless roles with differentiated responsibilities.
The layered model extends this trajectory by:
-
Treating indexing, storage, and querying as distinct service classes.
-
Shifting competition away from redundant compute toward query performance.
-
Creating a pathway for query-first economics, which Horizon has identified as the long-term vision.
Open Questions for the Community
-
How should indexing rights be assigned — election, bonding, random sampling, or open competition with consensus proofs?
-
Should indexing become a rotating duty (like block producers) or remain open to all?
-
What consensus mechanism is best for verifying indexed data? Challenge-response, deterministic replay, or even ZK proofs?
-
Should storage be incentivized as a standalone role, or bundled with indexing?
-
How do we transition from today’s all-indexers-do-everything model to layered specialization without disruption?
-
What balance of decentralization vs. efficiency is acceptable at the indexing layer?
Conclusion
The Horizon upgrade is an opportunity to rethink fundamentals. The current flow — every Indexer indexing every subgraph independently — has proven expensive, inconsistent, and economically fragile.
A layered approach — indexing (consensus), storage (replication), queries (service) — could provide scalability, predictability, and long-term sustainability, while still staying true to The Graph’s ethos of open participation.
The question is not if we need to evolve the indexing flow — it’s how soon and in what shape. Horizon gives us the tools to experiment with this evolution.
This piece is not a final proposal. It’s an invitation to the Indexer community and The Graph Foundation:
-
Should we continue with redundant indexing as the baseline?
-
Or should we experiment with layered specialization that aligns with Horizon’s modular vision and pushes us toward a query-first economy?