- Notifications
You must be signed in to change notification settings - Fork28
License
async-graphql/graphgate
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
GraphGate isApollo Federation implemented in Rust.
A GraphQL API composed of 3 services (accounts, products, reviews).
docker run -p 8000:8000 scott829/graphgate-standalone-demo:latest
Open browserhttp://localhost:8000
{topProducts {upcnamepricereviews {bodyauthor {idusername } } }}subscription {users {idusernamereviews {body } }}
To get the most out of GraphQL, your organization should expose a single data graph that provides a unified interface for querying any combination of your backing data sources. However, it can be challenging to represent an enterprise-scale data graph with a single, monolithic GraphQL server.
To remedy this, you can divide your graph's implementation across multiple composable services with Apollo Federation:
Unlike other distributed GraphQL architectures (such as schema stitching), Apollo Federation uses a declarative programming model that enables each implementing service to implement only the part of your graph that it's responsible for.
Rust is my favorite programming language. It is safe and fast, and is very suitable for developing API gateway.
I guess the performance of GraphGate will be much better (I haven't done benchmarking yet, but will add it soon), and it supports subscription.
About
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.