Graphene vs Netflix DGS
Graphene
graphene-python.orgNetflix DGS
netflix.github.ioSide by side
| Figure | Graphene | Netflix DGS |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | — |
| API | — | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 1 |
| Spec score · GraphQL Tools | 7.9 (#9) | 7.7 (#14) |
| License | The project repository identifies its license as MIT. | The repository lists the Apache-2.0 license. |
| Purpose | Graphene is a Python library for building GraphQL APIs using a code-first approach. | DGS is a GraphQL server framework for Spring Boot that makes it easier to create GraphQL services. |
| Testing | Graphene includes a test client for simulating queries and mutations and inspecting responses. | DGS provides a query executor for testing data fetchers and documents integration testing with Spring MockMvc and HttpGraphQlTester. |
Plans
In their own words
Graphene
Graphene has no write-up on Specifiction yet; its figures are above.
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.