Rust QP in GW product update (#7270)

This commit is contained in:
Denis Badurina 2025-11-17 12:04:18 +01:00 committed by GitHub
parent abe687c4d0
commit bc655e2ea6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 56 additions and 2 deletions

View file

@ -0,0 +1,54 @@
---
title: Supercharge Your Hive Gateway with Rust-Powered Speed
description:
Unleash blazing-fast GraphQL federation with up to 3x performance boost and full audit
compatibility.
date: 2025-11-17
authors: [enisdenjo]
---
import { Callout } from '@theguild/components'
We're thrilled to announce the integration of our
[Rust Query Planner into Hive Gateway](/docs/gateway/other-features/rust-query-planner), bringing
the lightning-fast performance of [Hive Router](/docs/router) directly to your Node.js, Bun, and
Deno environments!
This integration was made possible through our dedicated work on both Hive Gateway and Hive Router,
ensuring everything works great together. We leveraged [napi.rs](https://napi.rs/) to create a
cross-platform Node addon that supports Node.js, Bun, and Deno effortlessly.
## Performance That'll Blow Your Mind
Experience **up to 3x faster query planning per core** and **2x reduced latency** - beating Apollo
Router by almost 2x - all while maintaining 100% compatibility with the Federation-Compatibility
Audit. This means your federated GraphQL architecture stays standards-compliant and interoperable,
but now with Rust's unmatched speed under the hood.
## Full JavaScript Ecosystem Support
One of the key advantages of this integration is that it preserves the full power of the JavaScript
ecosystem. All your existing plugins, integrations, and tools continue to work seamlessly - from
Envelop and Yoga plugins to custom Gateway plugins. You get the best of both worlds: Rust's
performance under the hood with JavaScript's flexibility on top.
<Callout type="warning" emoji="⚠️">
While the Rust Query Planner delivers a lot, it currently doesn't support a handfull of Hive Gateway
features. We're hard at work to achieve full compatibility soon! Check out the
[feature comparison](/docs/gateway/other-features/rust-query-planner#compared-to-javascript-query-planner)
for details.
</Callout>
## Easy Integration, Massive Gains
Ready to get started? Head over to our
[Rust Query Planner documentation](/docs/gateway/other-features/rust-query-planner) for step-by-step
setup instructions and great speed!
---
- [Learn more about Rust Query Planner in Hive Gateway](/docs/gateway/other-features/rust-query-planner)
- [See the Federation-Compatibility results](https://the-guild.dev/graphql/hive/federation-gateway-audit)
- [See the benchmark results for constant VUs over time](https://github.com/graphql-hive/graphql-gateways-benchmark/blob/main/constant-vus-over-time_result.md)

View file

@ -10,8 +10,8 @@ Running Hive Gateway with the Rust Query Planner is
[**up to 3x faster per core** with **2x reduced latency**](#benchmarks).
This integration allows Hive Gateway to leverage the high-performance capabilities of Hive Router's
runtime while still operating within the Node.js or Bun environment and offering the full suite of
JavaScript's ecosystem back to Hive Router.
runtime while still operating within the Node.js, Bun or Deno environment and offering the full
suite of JavaScript's ecosystem back to Hive Router.
## Getting Started