VOOZH about

URL: https://thenewstack.io/graphql-growth-explodes-but-so-do-problems-federated-graphs-solve/

⇱ GraphQL Growth Explodes but so Do Problems Federated Graphs Solve - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-04-26 09:16:29
GraphQL Growth Explodes but so Do Problems Federated Graphs Solve
API Management / Software Development

GraphQL Growth Explodes but so Do Problems Federated Graphs Solve

Statistics recently released by the Gartner report reveal how more than 60% of enterprises will use GraphQL in production, up from less than 30% in 2024.
Apr 26th, 2024 9:16am by B. Cameron Gain
👁 Featued image for: GraphQL Growth Explodes but so Do Problems Federated Graphs Solve
Feature image via Unsplash.

GraphQL is a query language that allows users to find and request data from servers in a way that they can specify the type of data they want through the API in a more precise way than through other types of API structures. A federated GraphQL platform allows for different sub-GraphQL schemas to be used in a decoupled way but through a single API interface of the GraphQL platform. They both have and will continue to become enormously popular.

Statistics recently released by the Gartner report reveal how more than 60% of enterprises will use GraphQL in production, up from less than 30% in 2024. By 2027, 30% of enterprises using GraphQL will use GraphQL federation, up from less than 5% in 2024, Gartner reported.

So, federated GraphQL adoption will, according to Gartner, increase fivefold during the next three years while GraphQL adoption will “only” double.

Why?

Because Federated GraphQL solves a major problem: so-called API sprawl. This phenomenon occurs when numerous GraphQL and other APIs proliferate throughout an organization.

Gartner’s statistics highlight the effectiveness of GraphQL as a very clever and reliable way to conduct queries via an API. However, a potential issue arises when users within an enterprise begin to utilize their own GraphQL or other APIs for various legitimate purposes in parallel, leading to the unwieldiness the sprawl causes. Before delving further, let’s establish clear definitions for GraphQL and a federated GraphQL platform.

Gartner defines GraphQL thusly:

“GraphQL is an open specification for implementing APIs, which allows consumers to specify the content they request from a service. It provides developers with a type system to define data and a server-side engine for querying specific data elements they need. The specification also provides a query language for API consumers to define queries and mutations to update, and subscriptions to request notifications of changed data.”

Federated and Less Sprawl

👁 Image

👁 Image

Returning to the issue of API sprawl, Federated GraphQL offers a solution by consolidating disparate instances. Take Netflix, for example; after adopting GraphQL, they discovered numerous instances scattered across their infrastructure. Concurrently, they utilized various other API types, such as GRPC and REST APIs. Initially, they attempted to centralize GraphQL within a single API or monolith, which proved restrictive. However, the GraphQL federated gateway, provided by Apollo, effectively addressed this challenge.

As Geoff Schmidt, CEO and co-founder of Apollo GraphQL explained to me during KubeCon + CloudNativeCOn, GraphQL — like SQL — is a query language and specification rather than a specific piece of software. While there are implementations of GraphQL, such as Apollo GraphOS, GraphQL itself is a standard that defines how clients can request data from servers, Schmidt said. It’s akin to how SQL is a language used to interact with databases, but various database management systems implement SQL, such as PostgreSQL or MySQL. So, GraphQL can be implemented by different platforms and frameworks, but it’s not a standalone software project in the same sense as a database management system, he said.

“The adoption of GraphQL, especially with the concept of GraphQL federation, has helped streamline data access across various microservices within enterprises, promoting self-service platforms and API efficiency,” Schmidt said.

Because GraphQL is a flexible specification, GraphQL does not compete with or replace REST APIs. This is because they can be used in conjunction with each other. As reported, GraphQL’s schema definition language can be used in conjunction with REST in a few ways. For example, a federated GraphQL layer can abstract REST endpoints and be integrated as a separate GraphQL schema.

This architecture is often called a supergraph or a federated graph — which was introduced by Apollo in 2019. It creates an abstraction layer that can replace most backend or frontend Backend-for-Frontend (BFFs) APIs or experience APIs.

As Schmidt explained: “There’s a distinction to be made. GraphQL isn’t akin to a piece of software like a SQL database; instead, it functions as a feature or language. SQL, in contrast, operates as a standard means of querying databases, with various SQL databases such as Postgres being tangible software entities. It’s essential to understand that GraphQL, much like SQL, serves as a method of querying data rather than a standalone software product.”

Regarding GraphQL’s inception, Facebook didn’t release actual GraphQL code but rather a specification similar to IBM’s release of SQL in an academic paper. “Since then, the adoption of GraphQL soared, especially with the concept of GraphQL federation gaining traction. This approach emphasizes the need to integrate disparate microservices seamlessly, promoting a self-service platform within enterprises,” Schmidt said. “The essence lies in creating an API platform that optimizes API usage, countering the prevalent issue of disjointed APIs plaguing many organizations.”

What alternatives do people have apart from manually piecing these together? Schmidt said: “Well, they end up writing extensive code,” Schmidt said. “It could be termed an experience API, integration API or a Backend for Frontend.”

Regardless of the label, the code-writing process typically involves crafting a Java, .NET, or Node.js process, custom-built to serve as a processor server, Schmidt said. Essentially, it receives API requests from the client, instructing it to fetch data for various functionalities. Subsequently, it calls numerous backend services, consolidates the data, and delivers it as an API-to-API proxy or integration. “This approach consumes an increasing amount of enterprise resources and often results in a multitude of disjointed solutions, each addressing only part of the problem,” Schmidt said.

Consequently, disillusionment sets in as the complexity grows exponentially. As an analyst aptly put it, this process resembles a continuous mess spiraling out of control. However, there’s hope. “I recently heard a customer remark that adopting GraphQL transformed their situation from spaghetti code to well-structured layers, likening it to moving from spaghetti to lasagna — a significant improvement,” Schmidt said.

Apollo has emerged as a leader thanks to its pioneering work in developing the Apollo Federation and Apollo GraphOS, “the premier federated GraphQL platform,” Schmidt said. “While others attempt to replicate our success, creating a viable federated GraphQL solution is no easy feat. It necessitates a robust query planner and significant investment, akin to the challenges faced by Oracle in establishing SQL as the standard. Such endeavors require substantial resources and are beyond the scope of small or medium-sized teams funding to complete.”

TRENDING STORIES
BC Gain is founder and principal analyst for ReveCom Media. His obsession with computers began when he hacked a Space Invaders console to play all day for 25 cents at the local video arcade in the early 1980s. He then...
Read more from B. Cameron Gain
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Apollo GraphQL.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.