A gateway that composes Federation v2 subgraphs and plans each query as a dependency graph, running independent subgraph fetches in parallel, injecting required fields, skipping fetches a parent already provides, caching plans and returning partial data when a subgraph fails.
- 1.58x req/svs Apollo Router
Trade-offs
- Stateless and HTTP-only, so it scales horizontally, which leaves subscriptions, defer and stream out on purpose since they need long-lived connections.
- Authorization directives are left to a layer outside the gateway rather than enforced in the query planner.
- Written in Go to be read and extended by Go teams, where Apollo Router asks for Rust to customize.
Q&A2
At concurrency 50 over 10,000 requests in a commerce domain using external and requires directives, it served about 4,380 req/s to 2,771, after raising idle connections per upstream host from Go's default of 2 to 32 and pooling request buffers.
Independent steps keep running. The failed fields come back null, with errors naming the path and the service, so the client still gets the rest of the data.
Reviews
Loading reviews
More in GraphQL
More in Go
See all 99 →
SupermetryCookie-free web and product analytics on one Go binary and PostgreSQL- StreambedPostgres-to-Iceberg CDC engine with a built-in Postgres wire query server
OmagenImage-to-theme studio for Omarchy with reversible previews and recovery
XDPerfXDP traffic generator with WASM packet plugins- pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
PandaWardLocal application security assessment that reports what it couldn't decide