Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove experimental_introspection_mode from docs #6149

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/source/configuration/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -589,11 +589,10 @@ Starting with v1.49.0, the router can run a Rust-native query planner. This nati

<Tip>

Starting with v1.56.0, to run the most performant and resource-efficient native query planner and to disable the V8 JavaScript runtime in the router, set the following options in your `router.yaml`:
Starting with v1.57.0, to run the most performant and resource-efficient native query planner and to disable the V8 JavaScript runtime in the router, set the following options in your `router.yaml`:

```yaml title="router.yaml"
experimental_query_planner_mode: new
experimental_introspection_mode: new
```

You can also improve throughput by reducing the size of queries sent to subgraphs with the following option:
Expand Down
5 changes: 2 additions & 3 deletions docs/source/executing-operations/native-query-planner.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The `experimental_query_planner_mode` option has the following supported modes:
- `legacy` - enables only the legacy JavaScript query planner
- `both_best_effort` (default) - enables both new and legacy query planners for comparison. The legacy query planner is used for execution.

<MinVersion version="1.56.0">
<MinVersion version="1.57.0">

## Optimize native query planner

Expand All @@ -36,10 +36,9 @@ To run the native query planner with the best performance and resource utilizati

```yaml title="router.yaml"
experimental_query_planner_mode: new
experimental_introspection_mode: new
```

Setting `experimental_query_planner_mode: new` and `experimental_introspection_mode: new` not only enables native query planning and schema introspection, it also disables the V8 JavaScript runtime used by the legacy query planner. Disabling V8 frees up CPU and memory and improves native query planning performance.
Setting `experimental_query_planner_mode: new` not only enables native query planning and schema introspection, it also disables the V8 JavaScript runtime used by the legacy query planner. Disabling V8 frees up CPU and memory and improves native query planning performance.

Additionally, to enable more optimal native query planning and faster throughput by reducing the size of queries sent to subgraphs, you can enable query fragment generation with the following option:

Expand Down