Skip to content
SPECIFICTION
Get listed

GraphQL Ruby vs Netflix DGS

GraphQL Ruby

graphql-ruby.org

Netflix DGS

netflix.github.io

Side by side

FigureGraphQL RubyNetflix DGS
Price from$91.67/moFree
Free planYesYes
Free trial——
Open source——
APIYesYes
Self-hostedYesYes
Plans published31
Spec score · GraphQL Tools7.8 (#11)7.7 (#14)
LicenseRubyGems lists the graphql gem license as MIT, while GraphQL::Pro and GraphQL::Enterprise use special commercial licenses.The repository lists the Apache-2.0 license.
PurposeThe graphql gem implements the GraphQL Server Specification in Ruby and adds a GraphQL API to Ruby or Rails applications.DGS is a GraphQL server framework for Spring Boot that makes it easier to create GraphQL services.

Plans

GraphQL Ruby

  • GraphQL Ruby gemFree
  • GraphQL::Pro$1,100 a year
  • GraphQL::Enterprise$2,400 a year

GraphQL Ruby pricing →

Netflix DGS

  • Netflix DGS FrameworkFree

Netflix DGS pricing →

In their own words

GraphQL Ruby

GraphQL Ruby is a free, self-hosted Ruby gem that implements the GraphQL Server Specification for Ruby or Rails applications. It provides a self-documenting, strongly typed schema and serves queries, mutations, subscriptions, streaming responses, and multiplexed queries. Configurable depth and complexity validation can reject deeply nested or overly complex requests. Authorization tools handle schema visibility and checks on application objects during execution, while authentication is generally left to the application controller. GraphQL::Dataloader batches external data access and caches results per query; AsyncDataloader supports parallel I/O. Documentation covers Relay, Apollo Client, GraphQL.js Client, GraphiQL, urql, and custom JavaScript, plus monitoring integrations. The open-source gem is installed through RubyGems and uses the MIT license. The GraphQL Ruby gem costs nothing. GraphQL::Pro costs $1,100 a year, and GraphQL::Enterprise costs $2,400 a year under commercial licenses.

Visit graphql-ruby.org

Netflix DGS

Netflix DGS is a free, open-source GraphQL server framework for Spring Boot, deployed as a self-hosted API service. Its annotation-based programming model supports Java and Kotlin, with Gradle or Maven builds. DGS favors schema-first development: schema files belong in src/main/resources/schema, and its Gradle plugin can generate Java types from a GraphQL schema. A test framework runs GraphQL queries in lightweight unit tests, while data loaders batch requests to help address the N+1 problem. The framework supports GraphQL Federation, WebSocket and SSE subscriptions, file uploads, error handling, and extension points. Spring Security integration allows @Secured on data fetchers after security configuration. DGS also integrates with Spring for GraphQL, although that path currently lacks SSE subscriptions and some DGS data-loader features do not work with Spring for GraphQL data loaders. A browser GraphiQL editor and an IntelliJ plugin are included. Current documentation requires Spring Boot 3 and JDK 17; DGS 11+ with Spring Boot 4 is actively maintained, while DGS 10.x receives most feature backports until the second half of 2026.

Visit netflix.github.io