Docs
Try Apollo Studio

Apollo Router

High-performance graph routing for federated graphs


The Apollo Router is a configurable, high-performance graph router for a federated graph. It slots into any existing Apollo Federation architecture (v1 or v2), replacing your Node.js gateway that uses the @apollo/gateway library:

Apollo Router
(replaces @apollo/gateway)
Users
subgraph
Products
subgraph
Reviews
subgraph
Clients

The Apollo Router is implemented in Rust, which provides performance benefits over Node.js.

Try it out!Migrate from @apollo/gateway

Features

The Apollo Router provides the following features, with more to come:

  • Full support for Apollo Federation v1 and v2 (both managed and unmanaged)
  • Extensive declarative configuration options (header propagation, CORS settings, OpenTelemetry support, and more)
  • Support for further customization via native Rust plugins and Rhai scripts
Edit on GitHub
Next
Quickstart