百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

graphgate

> 编程语言
开源

GraphGate GraphGate 是在 Rust 中实现的 Apollo Federation。快速入门 一个由 3 个服务(帐户、产品、评论等)组成的 GraphQL API

183 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

GraphGate GraphGate 是在 Rust 中实现的 Apollo Federation。快速入门 一个由 3 个服务(帐户、产品、评论等)组成的 GraphQL API

GraphGate

GraphGate is Apollo Federation implemented in Rust.

Quick start

A GraphQL API composed of 3 services (accounts, products, reviews).

bash
docker run -p 8000:8000 scott829/graphgate-standalone-demo:latest

Open browser http://localhost:8000

Execute query

graphql
{
    topProducts {
        upc name price reviews {
            body
            author {
                id
                username
            }
        } 
    }
}

Execute subscription

graphql
subscription {
    users {
        id username reviews {
            body
        }
    }
}

FAQ

What does Apollo Federation do?

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.

Why use Rust to implement it?

Rust is my favorite programming language. It is safe and fast, and is very suitable for developing API gateway.

What is the difference between GraphGate and Apollo Federation?

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rust

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言