Federation 101

It can be challenging to serve an enterprise-scale data graph with a single, monolithic GraphQL server. To keep teams productive, you can use Apollo Federation to divide your graph’s implementation across multiple composable services. Learn about federation principles, tooling, and how to implement federation.

Backend
GraphOS

This collection teaches you how to use Federation to implement separation of concerns and solve pain points like coordination and brittle gateway code.

Khalil Stemmler

Developer Advocate

Blog post

Apollo Federation

What if you could access all of your organization’s data by typing a single GraphQL query, even if that data lived in separate places? Up until now, this goal has been difficult to achieve without committing to a monolithic architecture or writing fragile schema stitching code. Ideally, we want to expose one graph for all of our […]

Blog post

Announcing managed federation

Just a few weeks ago, we released Apollo Federation — our new open-source technology for composing multiple GraphQL services into a unified data graph. As James Baxley III explained in his blog post, federation is the essential architecture that lets organizations scale their GraphQL API from a single team to a shared asset serving the whole company. It enables multiple […]

Course

From the community
Getting Started with Apollo Federation

Apollo Federation allows you to orchestrate different GraphQL services into a single GraphQL gateway. In this playlist, we’ll introduce you to the core concepts of Apollo Federation to get you started by improving an example app for Snowtooth Mountain.

Talk

Your First Federated Schema with Apollo Server

In this talk, Mandi Wise will demonstrate how to get up and running with Apollo Federation in minutes and offer some considerations to keep in mind when transitioning to a distributed GraphQL architecture using this tool. This talk is 20 mins with 10 minutes of Q&A.

Stream

Setting Up Federation in Apollo Studio

Michael Watson walks Kurt Kemple through setting up federation inside of Apollo Studio. Apollo Studio helps you develop, deliver, and observe your data graph.

Blog post

Announcing the GraphQL at Enterprise Scale Guide [Free Ebook]

GraphQL helps us build apps faster. Data is more discoverable, easier to query, change, and evolve over time. Most companies that adopt GraphQL typically take one of these four patterns: Client-only: Client teams that are excited to take advantage of GraphQL’s client-centric data-fetching capabilities may add a GraphQL API within their own application for the […]

Docs

Apollo Federation Docs

The official docs for Apollo Federation. Learn how to implement a single data graph across multiple services.

Blog post

Setting Up Authentication and Authorization with Apollo Federation

When building out a distributed GraphQL architecture with Apollo Federation, we will often need to limit query access based on who requested the data (authentication) and whether they’re allowed to see or change the data they requested (authorization).

Blog post

Using Apollo Federation with Local Schemas

Recently, I needed to create a proxy to a third party API in our GraphQL Federation schema but didn’t want to spin up a new service just for this. This blog post explains how to use local schemas inside the Apollo Federation Gateway. A bit of context At work, we use the Prismic CMS to power the […]

Panel

From the community
Federation Panel – GraphQL Summit 2020

Moderator: Jeff Hampton, Solutions Architect at Apollo Uri Goldshtein, Founder/Member at The Guild Stephen Spalding, Engineer at Netflix William Guedes, Engineering Manager at StockX Tejas Shikhare, Senior Software Engineer at Netflix

Stream

From the community
Apollo Federation With Jesse Rosenberger, Engineering Manager @ Apollo

In this episode, Tony and Marc chat with Jesse Rosenberger, the engineering manager of the server team at Apollo GraphQL. We chat about GraphQL federation: A specification and declarative way to unify multiple GraphQL sources as one gateway.

Stream

GraphQL and Federation at StockX

Kyle Schrade joins Kurt Kemple to talk about how StockX is using GraphQL to power the world’s first stock market for things – a live ‘bid/ask’ marketplace.

Stream

Project Constellation; The Future of Federation

Ashi discusses the future of Federation, both from a technology standpoint, as well how it will differ from federation today.