awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
neelance avatar

neelance/graphql-go

0
View on GitHub↗
4,756 星标·493 分支·Go·BSD-2-Clause·13 次浏览

Graphql Go

graphql-go is a server library for implementing GraphQL servers in Go. It provides the core infrastructure for schema parsing, resolver mapping, and query execution.

The library includes a subscription engine that enables real-time data streaming to clients using WebSocket transport. It also features an execution tracer for monitoring and profiling query performance through telemetry tools.

The system manages resource consumption and stability through a query optimizer that enforces depth restrictions and controls resolver concurrency. It supports data fetching optimization via field-level prefetching to reduce repetitive database requests and utilizes a panic-to-error transformation mechanism to maintain server stability.

Features

  • GraphQL Servers - Provides a complete implementation of a GraphQL server for handling flexible data queries and mutations in Go.
  • Data Fetching Optimizations - Analyzes child fields and arguments to prefetch data and eliminate repetitive database requests.
  • GraphQL Subscriptions - Implements a subscription engine for pushing real-time data updates to clients via GraphQL subscriptions.
  • WebSocket Subscriptions - Maintains persistent WebSocket connections to push real-time updates via a subscription-based event model.
  • GraphQL Subscriptions over WebSocket - Enables real-time data delivery to clients using GraphQL subscriptions over WebSocket transport.
  • Query Depth Restrictions - Enforces maximum nesting depth limits on incoming queries to prevent resource exhaustion and DoS attacks.
  • Recursive Schema Execution - Processes nested GraphQL requests by traversing the schema tree and calling resolvers for each requested field.
  • GraphQL API Implementations - Provides a flexible data layer implemented in Go to handle complex GraphQL queries and structured retrieval.
  • GraphQL Execution Engines - Implements the core execution engine for parsing and resolving GraphQL operations against a defined schema.
  • Real-Time Data Streaming - Pushes live server-side updates to connected clients using GraphQL subscriptions and WebSockets.
  • GraphQL Query Performance Optimizations - Ensures stable performance by limiting query depth and managing resolver concurrency.
  • Query Batching - Reduces database load by grouping multiple operations into single requests through resolver tree analysis.
  • GraphQL Execution Tracing - Provides an execution tracer for monitoring and profiling GraphQL query performance using telemetry tools.
  • Parsing Depth Limits - Protects system resources by rejecting GraphQL queries that exceed a maximum nesting depth.
  • GraphQL Execution Tracing - Provides a profiling implementation for monitoring and tracing GraphQL query execution using telemetry tools.
  • Concurrency Limits - Controls the number of simultaneous resolver goroutines per request to prevent system overload.
  • Panic Recovery - Intercepts runtime panics during resolver execution and converts them into structured GraphQL error responses.
  • Name-Based Field Resolvers - Automatically maps GraphQL schema fields to internal Go methods using name-based matching for efficient resolution.
  • Query Languages - GraphQL server focused on ease of use.

Star 历史

neelance/graphql-go 的 Star 历史图表neelance/graphql-go 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Graphql Go 的开源替代方案

相似的开源项目,按与 Graphql Go 的功能重合度排序。
  • graph-gophers/graphql-gograph-gophers 的头像

    graph-gophers/graphql-go

    4,755在 GitHub 上查看↗

    graphql-go is a schema-first GraphQL library and server implementation for Go. It provides a query execution engine and schema parser that converts schema definition strings into executable structures and validates resolver signatures. The library also includes a streaming implementation for real-time GraphQL subscriptions using channels within resolvers. The project distinguishes itself through parallel resolver execution to reduce request latency and the use of buffer-pool memory management to lower garbage collection overhead. It enables the creation of cloneable schema instances from a sh

    Go
    在 GitHub 上查看↗4,755
  • async-graphql/async-graphqlasync-graphql 的头像

    async-graphql/async-graphql

    3,671在 GitHub 上查看↗

    async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses procedural macros to automatically generate schemas from native language structures, ensuring consistency between the data model and the API specification. The project provides native support for Apollo Federation v2, allowing entities and fields to be shared and resolved across multiple distributed subgraphs. It also implements real-time data streaming via WebSocket subscriptions and asynchronous event streams. The framework includes a wide array of capabilities for schema design, su

    Rust
    在 GitHub 上查看↗3,671
  • graphql-dotnet/graphql-dotnetgraphql-dotnet 的头像

    graphql-dotnet/graphql-dotnet

    5,987在 GitHub 上查看↗

    GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a comprehensive toolkit for schema building, a federated engine for distributed data graphs, and a subscription handler for managing real-time data streams. The project distinguishes itself with a flexible schema builder that supports both programmatic code-first definitions and declarative schema-first approaches using the standard schema definition language. It includes a dedicated federation engine to split data graphs into subgraphs and compose them into a unified gateway, as

    C#apidotnet-coregraphiql
    在 GitHub 上查看↗5,987
  • chillicream/hotchocolateChilliCream 的头像

    ChilliCream/hotchocolate

    5,713在 GitHub 上查看↗

    HotChocolate is a GraphQL server implementation for .NET that handles queries, mutations, and subscriptions over HTTP. It provides code-first schema generation directly from C# classes and attributes, keeping the schema and business logic in sync without manual type definitions. The project also includes a GraphQL gateway that composes multiple GraphQL and REST endpoints into a single unified schema, along with a GraphQL IDE for exploring, testing, and debugging GraphQL APIs interactively. The project distinguishes itself through its comprehensive tooling ecosystem, which includes a GraphQL c

    C#
    在 GitHub 上查看↗5,713
查看 Graphql Go 的所有 30 个替代方案→

常见问题解答

neelance/graphql-go 是做什么的?

graphql-go is a server library for implementing GraphQL servers in Go. It provides the core infrastructure for schema parsing, resolver mapping, and query execution.

neelance/graphql-go 的主要功能有哪些?

neelance/graphql-go 的主要功能包括:GraphQL Servers, Data Fetching Optimizations, GraphQL Subscriptions, WebSocket Subscriptions, GraphQL Subscriptions over WebSocket, Query Depth Restrictions, Recursive Schema Execution, GraphQL API Implementations。

neelance/graphql-go 有哪些开源替代品?

neelance/graphql-go 的开源替代品包括: graph-gophers/graphql-go — graphql-go is a schema-first GraphQL library and server implementation for Go. It provides a query execution engine… async-graphql/async-graphql — async-graphql is a type-safe framework for building specification-compliant GraphQL servers in Rust. It uses… graphql-dotnet/graphql-dotnet — GraphQL.NET is a server-side framework for building and executing GraphQL APIs within C# applications. It provides a… chillicream/hotchocolate — HotChocolate is a GraphQL server implementation for .NET that handles queries, mutations, and subscriptions over HTTP.… graphql-rust/juniper — Juniper is a GraphQL server library and schema engine for Rust. It provides a toolkit for building type-safe APIs by… 99designs/gqlgen — gqlgen is a schema-first Go library designed to build type-safe GraphQL servers. It functions as a code generation…