Introducing Subgraph Radio: Accelerating Network Information Exchange
The GraphOps team, a core dev team at The Graph, proudly introduces Subgraph Radio - an innovative tool within The Graph Network aimed at boosting data and information exchange between Indexers and subgraph developers.
This tool is set to dramatically improve collaboration and efficiency by providing:
- Proof of Indexing (POI) Cross-Checking: A robust mechanism for Indexers to ensure data integrity, detect discrepancies rapidly, and mitigate potential conflicts within the network.
- Subgraph Upgrade Pre-sync Feature: A forward-thinking feature allowing developers to announce subgraph upgrades, enabling Indexers to synchronize new versions ahead of time, reducing friction and enhancing network responsiveness.
- Integrated Notifications & Monitoring: Compatibility with platforms like Slack, Discord, and Telegram for real-time alerts, coupled with comprehensive monitoring through detailed logs and metrics accessible via Prometheus and visualizable through Grafana dashboards.
Easy setup, detailed documentation, and various deployment options ensure that both novice and experienced users can harness the full potential of Subgraph Radio to enhance their operations within The Graph Network.
The GraphOps team is thrilled to announce the release of Subgraph Radio, a transformative tool designed to streamline data and information exchange amongst Indexers and subgraph developers, enhancing the productivity, efficiency, and cost-effectiveness of The Graph Network.
This release marks a significant contribution as part of the New Era roadmap, which among other enhancements, promises more support for Indexers and subgraph developers in the form of helpful tools. Subgraph Radio aims to become the standard communication tool among Indexers and Subgraph Developers, significantly enhancing collaboration and efficiency across the network.
Introducing Subgraph Radio
Subgraph Radio is the newest Indexer Component redefining the dynamics of information exchange on the network. Leveraging the Graphcast Network, Subgraph Radio enables seamless data exchanges pertaining to subgraphs, marking an innovative advancement in network communications.
Proof Of Indexing (POI) Cross-checking
Alongside other Proof of Indexing (POI) tools like Graphix, Subgraph Radio offers a meticulous cross-verification of Proof of Indexing (POI) hashes among Indexers. This feature positions Subgraph Radio as a robust early warning system for discrepancies, safeguarding data integrity, fostering trust, and minimizing conflict within the network. For example, Subgraph Radio enables Indexers to immediately detect errors, with minimal cost, and take instant action - such as resyncing the subgraph, bisecting for source of error, closing allocations, and more. This helps indexers avoid slashing in query disputes due to serving bad data.
Upgrade Pre-sync Feature
Developers can now leverage the new Subgraph Upgrade Pre-sync feature to announce imminent upgrades to new subgraph versions, granting Indexers an opportunity to sync them in advance.
Subgraph developers can send a message before publishing a new subgraph version on-chain to reduce the upgrade friction and allow proactive engagement with new deployments. At the same time, Indexers running the Subgraph Radio that have enabled the Subgraph Upgrade pre-sync feature will receive the message and start syncing the new deployment.
Subgraph developers can also use the Graphcast CLI, tailored for discontinuous participation on the Graphcast P2P network, to message all Indexers engaged with a particular subgraph.
Subgraph Radio Notifications & Monitoring
Users can integrate Subgraph Radio with popular platforms like Slack, Discord, and Telegram to receive instant alerts on POI discrepancies. Comprehensive system monitoring is facilitated through detailed logs, ensuring optimal performance and reliability.
Additionally, Subgraph Radio provides extensive metrics which are accessible via Prometheus and visualizable through Grafana dashboards. Set-up is made easy with local servers and specified environment variables for a customized overview of operations.
What’s New in Subgraph Radio 1.0.0
This release of Subgraph Radio 1.0.0 includes a number of features that will supercharge communication and efficiency on The Graph Network including:.
- Database Persistence: This improvement focuses on ensuring data longevity and scalability, making data storage more efficient and reliable.
- Validate Configurations: Subgraph Radio now includes more rigorous validation methods for configurations, using stricter checks for the Indexer address variable to validate Indexer configurations.
- Radios Switched to Using Relay Nodes: To scale Graphcast Network, new mechanisms were enabled on all radio nodes, including Waku’s Relay Protocol and Discovery V5. Radios will be able to directly publish and circulate messages throughout the network and discover new peers through a distributed hash table.
- Improved End-To-End Tests: New end-to-end tests have been added to Subgraph Radio to test that persisted state and API responses match. Other message types testing has also been added to decode different types of messages.
Privacy & Scalability
Subgraph Radio uses Waku’s advanced features to facilitate efficient and secure communications among Indexers. As a robust suite of communication protocols built on top of libp2p networking stack, Waku emphasizes privacy and resilience against censorship for web3 applications.
Waku employs bi-directional binary gossip streams to safeguard privacy and supports decentralized communication, effectively countering censorship. Moreover, Waku's protocols are adaptable, transport agnostic, and scalable, ensuring reliable performance even in environments with limited resources, such as browsers and mobile devices.
Getting Started with Subgraph Radio
You don’t have to be a seasoned Indexer or subgraph developer to get started with Subgraph Radio! Setting up Subgraph Radio is a straightforward and quick process. Dive into the world of Subgraph Radio and unlock its full potential with GraphOps' detailed documentation. This resource provides everything you need to easily integrate Subgraph Radio into your Indexer stack. Plus, for a more visual learning experience, check out GraphOps' comprehensive tutorials on YouTube.
If you have any questions or feedback about Subgraph Radio, don't hesitate to connect with the GraphOps team. Join the conversation on the Graph Protocol Discord, specifically in the #graphcast channel.
Subgraph Radio offers various deployment options, including docker-compose with StakeSquid's stack, Docker images, standalone Binaries, or direct source execution. The setup process is intuitive and can be easily implemented by reading Subgraph Radio documentation. Subgraph Radio's source code is also available on GitHub.
Source : The Graph - Oct 11, 2024