The router
The entry point to your supergraph
After you set up at least one federation-ready
Choosing a router library
Apollo actively supports the following options for your router:
The Apollo Router (recommended): This is a high-performance, precompiled Rust binary.
- If you're getting started with federation, we recommend creating a cloud supergraphwith Apollo GraphOS. With a cloud supergraph, GraphOS provisions and manages your router for you.
- You can also host your own Apollo Router instances. See the federation quickstartto get started.
- If you're getting started with federation, we recommend
Apollo Server: Apollo Server can act as your router via the
extension library.@apollo/gateway
💡 TIP
Apollo recommends starting with the Apollo Router. It's faster to configure, performant even under high request loads, and supports many enterprise features.
If you'll use the Apollo Router, get started with the resources linked above. If you'll use Apollo Server, see