You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose -f docker-compose.managed.yml up -d
377
383
Creating network "supergraph-demo_default" with the default driver
378
-
Creating graph-router ... done
384
+
Creating apollo-gateway ... done
379
385
380
386
Starting Apollo Gateway in managed mode ...
381
387
Apollo usage reporting starting! See your graph at https://studio.apollographql.com/graph/supergraph-router@dev/
@@ -408,7 +414,7 @@ Apollo Schema Checks help ensure subgraph changes don't break the federated grap
408
414
409
415
#### The Graph Router will Update In Place
410
416
411
-
With Managed Federation you can leave graph-router running and it will
417
+
With Managed Federation you can leave the graphrouter running and it will
412
418
update automatically when subgraph changes are published and they successfully
413
419
compose and pass all schema checks in Apollo Studio:
414
420
@@ -870,6 +876,64 @@ Removing serverless ... done
870
876
Removing network supergraph-demo_default
871
877
```
872
878
879
+
## Apollo Router
880
+
881
+
[The Apollo Router](https://www.apollographql.com/blog/announcement/backend/apollo-router-our-graphql-federation-runtime-in-rust) is our next-generation GraphQL Federation runtime written in Rust, and it is fast.
882
+
883
+
As a Graph Router, the Apollo Router plays the same role as the Apollo Gateway. The same subgraph schemas and composed supergraph schema can be used in both the Router and the Gateway.
884
+
885
+
This demo shows using the Apollo Router with a Federation 1 supergraph schema, composed using the Fed 1 `rover supergraph compose` command. To see the Router working with Federation 2 composition, checkout the Apollo Router section of [apollographql/supergraph-demo-fed2](https://github.com/apollographql/supergraph-demo-fed2/blob/main/README.md#apollo-router).
886
+
887
+
[Early benchmarks](https://www.apollographql.com/blog/announcement/backend/apollo-router-our-graphql-federation-runtime-in-rust) show that the Router adds less than 10ms of latency to each operation, and it can process 8x the load of the JavaScript Apollo Gateway.
888
+
889
+
To get started with the Router:
890
+
891
+
```
892
+
make demo-local-router
893
+
```
894
+
895
+
this uses a simple [docker-compose.router.yml](docker-compose.router.yml) file:
0 commit comments