The Graph, a leading protocol for blockchain data indexing, recently encountered a significant service outage that disrupted various decentralized finance (DeFi) applications. This incident occurred on June 24, beginning at midnight PST and lasting for several hours, as the protocol”s query volumes surged from 25 million to 45 million per day, driven by the rapid growth of DeFi applications.
During the outage, users experienced severely slow response times and encountered numerous 500 error messages. The service was finally restored by 11:10 am PST, though another disruption occurred later that day. The root cause of this issue stemmed from The Graph”s database CPU on Google Cloud reaching full capacity at 100%, exacerbated by a flood of complex queries that overwhelmed the system. The Graph”s query processing software, known as Graph Node, struggled to manage these intricate queries, resulting in increased failure rates.
In light of these challenges, The Graph has implemented a series of immediate measures to mitigate future outages. Key actions include the introduction of advanced query complexity costing, enhancements in query processing through improved caching techniques, and the establishment of more robust alert systems. Furthermore, the company has introduced horizontal database scaling and selective rate-limiting to better handle unexpected traffic surges. Plans are also underway to expand the engineering team across different time zones to enhance response capabilities during incidents.
The Importance of Decentralization
This incident serves as a stark reminder of the critical need for decentralized infrastructure to ensure the reliability of blockchain applications. The Graph”s mission is to evolve into a fully decentralized network, which would diminish reliance on centralized systems and bolster the resilience of applications built on its platform. A decentralized framework allows developers to construct applications that are less vulnerable to systemic failures, ensuring operational continuity despite potential disruptions in individual components.
The Graph is dedicated to advancing this vision, striving to provide a robust data layer that supports the expanding cryptocurrency economy. The recent outage underscores the inherent challenges faced by centralized systems in the fast-paced DeFi landscape, highlighting the necessity for decentralized solutions to facilitate sustainable growth.












































