API / Apollo Gateway Interview questions
What is the difference between IntrospectAndCompose and managed federation in Apollo Gateway?
Both get you a composed supergraph, but they differ in where composition happens and how much governance you get.
IntrospectAndCompose has the gateway itself poll each subgraph's URL directly, introspect its schema via the _service field, and compose locally in-process — typically on startup, and optionally on a polling interval. It's simple and requires no GraphOS account, which makes it a good fit for local development, but composition errors only surface when the gateway (re)starts or polls, and there's no central registry, audit trail, or pre-merge schema checks.
Managed federation moves composition to GraphOS: subgraph schemas are published via Rover, GraphOS composes centrally and runs schema checks against real traffic first, and the gateway/router simply polls GraphOS's Uplink service for the ready-made supergraph — giving centralized governance, change history, and near-instant rollout of schema updates without a gateway restart.
More Related questions...