Side by side
GraphQL Ruby vs Netflix DGS
Both stand on graphql tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan APISelf-hosted
Choose the free GraphQL Ruby gem to add a GraphQL API to a Ruby or Rails application with schema, execution, and query validation tools. Look at Pro or Enterprise when you need their commercial features; they cost $1,100 a year and $2,400 a year, respectively.
Visit GraphQL Ruby Free plan APISelf-hosted
DGS brings schema-first development, testing, federation, and several GraphQL features to Spring Boot projects. Check the required versions and Spring for GraphQL integration limits against your setup.
Visit Netflix DGSThe facts
| GraphQL Ruby | Netflix DGS | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | API, Self-hosted | API, Self-hosted |
| Lowest paid plan | GraphQL::Pro: $1,100 a year | Free or on request |
| Plans published | 3 | 1 |
| Maker | Not published | Not published |
| Website | graphql-ruby.org | netflix.github.io |
| On graphql tools | #14 of 32 | #18 of 32 |
GraphQL Ruby: what it does well
- Implements the GraphQL Server Specification for Ruby applications.
- Serves queries, mutations, subscriptions, streaming responses, and multiplexed queries.
- Configurable depth and complexity checks help reject costly query shapes.
- Dataloader batches external access and caches results per query.
- Documentation covers multiple client and monitoring integrations.
What to know first
- The free gem is self-hosted and requires installation through RubyGems.
- Pro and Enterprise use commercial licenses and have annual prices.
- Authentication is generally handled by the application controller.
Netflix DGS: what it does well
- Supports Java and Kotlin.
- Offers Gradle and Maven projects.
- Includes lightweight query testing.
- Supports GraphQL Federation.
- Free under the Apache-2.0 license.
What to know first
- Current documentation requires Spring Boot 3 and JDK 17.
- Spring GraphQL integration lacks SSE subscriptions.
- Some DGS data-loader features do not work with Spring GraphQL loaders.
Alternatives to GraphQL Ruby Alternatives to Netflix DGS The whole list
