Databases · head to head
Dgraph vs Nebula

Dgraph
Databases
Apache 2.0 distributed graph database written in Go, maintained by Hypermode, queried through GraphQL or its own DQL language.
- From
- Free
- Free plan
- Yes

Nebula
Networking
Certificate based overlay network from Slack, with identity and firewall rules carried in the certificate
- From
- Free
- Free plan
- Yes
The short version
- Nebula is free; Dgraph starts at $39/mo.
- Only Dgraph lists apache 2.0 licence; only Nebula lists certificate carried identity.
How do Dgraph and Nebula differ?
Dgraph and Nebula differ on pricing model, platforms and category (Databases against Networking). Only the attributes on which Dgraph and Nebula actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Nebula.
Which features does each one have?
They share no listed features; 10 appear only for Dgraph and 6 only for Nebula. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Dgraph
- Apache 2.0 licence
- Generated GraphQL API
- DQL query language
- Predicate sharding
- Raft replication
- Distributed ACID transactions
- Written in Go
- Full-text and geo indexing
Only in Nebula
- Certificate carried identity
- Group based host firewall
- Lighthouse discovery
- Noise protocol encryption
- Unsafe routes
- Managed option
What is each one used for?
The jobs each tool is most often brought in to do.
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Nebula
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Nebula
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Nebula
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Nebula
Nebula
- Flattening a network across several clouds and datacentres without VPC peering or route tablesnot Dgraph
- Very large fleets where a central policy service on the connection path is unacceptablenot Dgraph
- Environments that already run an internal certificate authority and want the network to use itnot Dgraph
- Replacing per host iptables rules with policy written against roles that follow the hostnot Dgraph
Where do Dgraph and Nebula fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Dgraph
- Sharding is by predicate, so a single very hot predicate lives entirely in one Raft group and cannot be split further; adding nodes does not relieve it and the fix is a data model change
- Stewardship passed from Dgraph Labs to Hypermode after the original company stopped operating independently, so anyone building on it is betting on a second custodian rather than on the original team's roadmap
- The GraphQL layer is generated and opinionated, so anything it does not express drops you into DQL, which is a second language your team must learn and which no other database speaks
- The community is a fraction of Neo4j's, so operational answers, tuning experience, hiring and third-party tooling are all thinner, and unusual failure modes in a Zero and Alpha cluster leave you reading source rather than a forum
- There is no portable graph standard to migrate to; Cypher, Gremlin and SPARQL are all different query models, so the schema and every query is a rewrite if you later leave, and that cost grows with the application
Nebula
- The open source project has no user interface, no enrolment workflow and no revocation service, so certificate issuing, distribution and expiry become scripts you write and then have to keep working
- Revoking a compromised host means distributing a blocklist entry to every other host and reloading them, which is a fleet wide operation rather than a click, and easy to get wrong under pressure
- Changing a host group membership means reissuing and redeploying its certificate, so policy changes are a deployment rather than a configuration edit
- There is no identity provider integration or single sign on in the open source version, so it maps well to servers and badly to a fleet of user laptops
- NAT traversal is best effort and hosts behind symmetric NAT need a relay configured deliberately, so connectivity failures show up as intermittent rather than immediate and are awkward to diagnose
How much do Dgraph and Nebula cost?
Dgraph has a free plan, with paid plans from $39/mo; Nebula is free to use. Plan by plan below, from each vendor's own pricing page.
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Nebula
Free- NebulaFree
- Full functionality under the MIT licence
- No host limit
- You operate the certificate authority and lighthouses
- Defined NetworkingOn request
- Hosted control plane and enrolment
- Managed certificate lifecycle and revocation
- Policy and DNS interface
Which should you pick?
Choose Dgraph if
- You need apache 2.0 licence.
- You want to start without paying.
- You work on Linux, macOS, Self-hosted, Web.
- You also want generated graphql api.
Choose Nebula if
- You need certificate carried identity.
- You want to start without paying.
- You work on Linux, macOS, Windows, iOS, Android.
- You also want group based host firewall.
Questions people ask
- Is Dgraph or Nebula better?
- It depends on the job. Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL; Nebula fits flattening a network across several clouds and datacentres without VPC peering or route tables. Dgraph starts at Free and Nebula at Free.
- Which is cheaper, Dgraph or Nebula?
- Dgraph starts at Free and Nebula at Free.
- Does Dgraph or Nebula run on more platforms?
- Dgraph runs on Linux, macOS, Self-hosted, Web. Nebula runs on Linux, macOS, Windows, iOS, Android.
- Can I use Dgraph for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Dgraph best used for?
- Dgraph is most often used for an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes graphql, a knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiation, recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottleneck, teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available one. Of those, an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes graphql and a knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiation are not what Nebula is typically brought in for.
- What can Dgraph do that Nebula cannot?
- Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding. Nebula covers Certificate carried identity, Group based host firewall, Lighthouse discovery, Noise protocol encryption.
Answered from the vendors’ own pages
Dgraph: Is Dgraph open source?
Yes. The current repository is Apache 2.0, which is a permissive OSI licence, and the project is at v25 under Hypermode's maintenance.
Nebula: Does it use WireGuard?
No. Nebula predates the common WireGuard mesh tools and uses the Noise protocol framework with its own certificate format.
Dgraph: Is it really GraphQL?
It serves a generated GraphQL API, which is real GraphQL for clients. Its native language, DQL, resembles GraphQL syntactically but is Dgraph's own language and is not the GraphQL specification.
Nebula: Can I run it without Defined Networking?
Yes, entirely. Defined Networking sells the control plane conveniences, not the network itself.
Dgraph: How does it compare to Neo4j?
Neo4j has the larger ecosystem, Cypher, and far more operational precedent. Dgraph distributes storage across nodes by default and gives you a GraphQL endpoint without writing resolvers. The choice usually turns on whether you need horizontal scale and a GraphQL surface more than you need ecosystem depth.
Nebula: How do I revoke a host?
Add its certificate fingerprint to the blocklist in the configuration of the other hosts and reload them. There is no online revocation check.
Dgraph: What does a production cluster look like?
At minimum a set of Zero nodes for coordination and a replicated set of Alpha nodes for data, typically three of each for fault tolerance, which is a meaningfully larger operational footprint than a single graph server.
Nebula: Is it a good fit for laptops?
Less so than the identity provider based tools. There is no single sign on, so every laptop needs a certificate issued and renewed by whatever process you build.
Dgraph: Who maintains it now?
Hypermode. Dgraph Labs, the original company, no longer operates it, and that change of custodian is the main non-technical risk to weigh.
Related pages
Other head to heads
- Dgraph vs ArangoDB
- Dgraph vs Neo4j
- Dgraph vs Azure Cosmos DB
- Dgraph vs SurrealDB
- Dgraph vs Elasticsearch
- Dgraph vs Couchbase
- Dgraph vs Cassandra
- Dgraph vs Aerospike
- Dgraph vs Firebase Realtime Database
- Dgraph vs ScyllaDB
- Dgraph vs FaunaDB
- Dgraph vs RavenDB
- Dgraph vs Nile
- Dgraph vs Readyset
- Dgraph vs SAP HANA
- Dgraph vs Vertica
- Dgraph vs Airtable
- Dgraph vs Supabase
- Dgraph vs NetBird
- Dgraph vs Headscale
- Dgraph vs Tailscale
- Dgraph vs Twingate
- Dgraph vs ZeroTier
- Dgraph vs pfSense
- Dgraph vs Zabbix
- Dgraph vs Icinga
- Dgraph vs LibreNMS
- Dgraph vs Cacti
- Dgraph vs OpenVPN
- Dgraph vs Traefik
- Dgraph vs Cloudflare
- Dgraph vs PRTG Network Monitor
- Dgraph vs Grafana
- Dgraph vs Palo Alto Networks
- Dgraph vs Prometheus
- Dgraph vs Netdata
- Nebula vs ArangoDB
- Nebula vs Neo4j
- Nebula vs Azure Cosmos DB
- Nebula vs SurrealDB
- Nebula vs Elasticsearch
- Nebula vs Couchbase
- Nebula vs Cassandra
- Nebula vs Aerospike
- Nebula vs Firebase Realtime Database
- Nebula vs ScyllaDB
- Nebula vs FaunaDB
- Nebula vs RavenDB
- Nebula vs Nile
- Nebula vs Readyset
- Nebula vs SAP HANA
- Nebula vs Vertica
- Nebula vs Airtable
- Nebula vs Supabase
- Nebula vs NetBird
- Nebula vs Headscale
- Nebula vs Tailscale
- Nebula vs Twingate
- Nebula vs ZeroTier
- Nebula vs pfSense
- Nebula vs Zabbix
- Nebula vs Icinga
- Nebula vs LibreNMS
- Nebula vs Cacti
- Nebula vs OpenVPN
- Nebula vs Traefik
- Nebula vs Cloudflare
- Nebula vs PRTG Network Monitor
- Nebula vs Grafana
- Nebula vs Palo Alto Networks
- Nebula vs Prometheus
- Nebula vs Netdata
