Skip to content

Commit 73f1ea0

Browse files
authored
Share and update hive gateway router benchmarks (#7257)
1 parent 6d83c76 commit 73f1ea0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

packages/web/docs/src/content/gateway/other-features/router-runtime.mdx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ import { Callout, Tabs } from '@theguild/components'
22

33
## Introduction
44

5-
Hive Gateway can now use parts of [Hive Router's](/docs/router) runtime, like the Query Planner,
5+
Hive Gateway can use parts of [Hive Router's](/docs/router) runtime, like the Query Planner,
66
introducing a new federation query planner in JavaScript that aims to optimize query execution
77
performance by using Rust Hive Router's advanced planning algorithms through native addons.
88

9+
[Running Hive Gateway with the Router Runtime is **up to 3x faster per core** with **2x reduced latency**.](#benchmarks)
10+
911
This integration allows Hive Gateway to leverage the high-performance capabilities of Hive Router's
1012
runtime while still operating within the Node.js or Bun environment and offering the full suite of
1113
JavaScript's ecosystem back to Hive Router.
@@ -134,6 +136,10 @@ and providing better resource efficiency for production deployments.
134136

135137
</Callout>
136138

137-
Based on our measurements and performance testing, the Router Runtime demonstrates significant
138-
performance improvements over the Default Runtime with **up to 3x faster query planning per core**
139-
thanks to the Rust-powered query planner.
139+
Based on our measurements and performance testing, the Router Runtime is **up to 3x faster per
140+
core** with **2x reduced latency** compared the Default (Stitching) Runtime thanks to the
141+
Rust-powered query planner and optimizations for it.
142+
143+
See the official benchmark results for
144+
[executions with a constant amount of VUs over a fixed amount of time](https://github.com/graphql-hive/graphql-gateways-benchmark/blob/main/constant-vus-over-time_result.md)
145+
to get a feeling about how it performs side-by-side with other GraphQL Federation gateways.

0 commit comments

Comments
 (0)