router
router copied to clipboard
A configurable, high-performance routing runtime for Apollo Federation 🚀
Fix https://github.com/apollographql/router/issues/4473 This sets a default TTL for query plan caches, because right now the default is sto store query plans indefinitely, which does not make sense because they change...
Fix #3504 This implements support for Unix sockets in subgraph connections by specifying URLs in the `unix:///path/to/router.sock` format. Implementation details: - the Uri type used throughout the router does not...
when writing logs to stdout and stderr, we use the standard library's `StdOut`, which requires [locking](https://doc.rust-lang.org/std/io/struct.Stdout.html#method.lock) to make sure multiple threads don't try to write lines at the same time....
**Is your feature request related to a problem? Please describe.** Rhai can currently throw to short-circuit requests, but on all throws the router will log an appropriate error. For example:...
Following up on https://github.com/apollographql/router/pull/4510 We now have a Rust implementation of API schema. To test it further, we should run it side by side with the JS implementation and compare...
**Is your feature request related to a problem? Please describe.** The [graphql-ws](https://github.com/enisdenjo/graphql-ws) protocol supports sending a [`Ping` message](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md#ping). This is useful for detecting failed connections, displaying latency metrics or other...
Empirically determine that it's not a good idea to try to write more than 1_024 bytes to a non-blocking fd on macOS. Modify the on_event() processing to take account of...
this would be helpful to track the overall health of a graph. attribute: error code
Right now, [client awareness](https://www.apollographql.com/docs/router/managed-federation/client-awareness) information is extracted from headers, but we might want to get it from other sources, like JWT claims