Databases · head to head
Convex vs Dgraph

Convex
Databases
Reactive backend combining a document database, TypeScript server functions and live queries, source-available under the Functional Source Licence.
- From
- Free
- Free plan
- Yes

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
The short version
- Free plans on both; paid from $25/mo and $39/mo.
- Only Convex lists reactive queries; only Dgraph lists apache 2.0 licence.
How do Convex and Dgraph differ?
Convex and Dgraph differ on pricing model (Subscription against Freemium) and platforms. Only the attributes on which Convex and Dgraph actually diverge.
Identical on both: starting price (Free), free tier (Yes), category (Databases).
Not yet recorded: founded for Convex.
Which features does each one have?
They share no listed features; 10 appear only for Convex and 10 only for Dgraph. 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 Convex
- Reactive queries
- TypeScript server functions
- ACID transactions
- Document database
- Scheduling and workflows
- File storage
- Text and vector search
- End-to-end types
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
What is each one used for?
The jobs each tool is most often brought in to do.
Convex
- Collaborative applications where several users see the same data and every client must reflect a change immediatelynot Dgraph
- Agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cachenot Dgraph
- Small product teams who need a complete backend, including auth integration, file storage and subscriptions, without hiring infrastructure engineersnot Dgraph
- Prototypes that must become production without a rewrite of the data layer, where end-to-end TypeScript types remove a class of integration bugsnot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Convex
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Convex
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Convex
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Convex
Where do Convex and Dgraph fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Convex
- The Functional Source Licence is not an OSI open source licence: competing use is prohibited until each release reaches its second anniversary and converts to Apache 2.0, so you may self-host but you may not build a service on it
- Transactions are bounded at one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written, so every backfill, migration or bulk import has to be chunked into scheduled batches rather than written as a single operation
- There is no SQL and no query planner; you declare up to 32 indexes per table and traverse them, and joins are loops in TypeScript, so an unanticipated access pattern requires a schema and index change rather than a new query
- It is not an analytical database, so reporting means streaming data out to a warehouse and BI tools cannot be pointed at Convex directly, which adds a pipeline the architecture diagram did not originally include
- The application is written against Convex's function and client APIs rather than a standard protocol, so leaving means rewriting the data access layer and replacing the reactivity model, not repointing a connection string
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
How much do Convex and Dgraph cost?
Convex has a free plan, with paid plans from $25/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
Convex
Free- Free & StarterFree
- Supports 1-6 developers
- Reactive database
- File storage
- Professional$25
- Supports up to 20 developers
- All Starter features
- Log streaming
- Business & Enterprise$2,500/month minimum
- Supports 50+ developers
- SAML/SSO
- Service SLAs
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose Convex if
- You need reactive queries.
- You want to start without paying.
- You also want typescript server functions.
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.
Questions people ask
- Is Convex or Dgraph better?
- It depends on the job. Convex fits collaborative applications where several users see the same data and every client must reflect a change immediately; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. Convex starts at Free and Dgraph at Free.
- Which is cheaper, Convex or Dgraph?
- Convex starts at Free and Dgraph at Free.
- Does Convex or Dgraph run on more platforms?
- Convex runs on Web. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use Convex for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Convex best used for?
- Convex is most often used for collaborative applications where several users see the same data and every client must reflect a change immediately, agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cache, small product teams who need a complete backend, including auth integration, file storage and subscriptions, without hiring infrastructure engineers, prototypes that must become production without a rewrite of the data layer, where end-to-end typescript types remove a class of integration bugs. Of those, collaborative applications where several users see the same data and every client must reflect a change immediately and agent backends that need durable state, scheduled work and transactional writes without assembling a queue, a database and a cache are not what Dgraph is typically brought in for.
- What can Convex do that Dgraph cannot?
- Convex covers Reactive queries, TypeScript server functions, ACID transactions, Document database. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
Convex: Is Convex open source?
It is source-available under FSL-1.1-Apache-2.0. You may read, modify and self-host it, but competing use is prohibited until each release converts to Apache 2.0 on its second anniversary.
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.
Convex: Can I self-host it?
Yes. The backend, dashboard and CLI can run on your own infrastructure, with most of the features of the cloud product. Self-hosted instances include a telemetry beacon that can be disabled.
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.
Convex: Does it support SQL?
No. Data is accessed through a TypeScript query builder over declared indexes. Relationships are traversed in code, which is explicit and type-safe but means no ad hoc querying.
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.
Convex: What happens if a mutation exceeds the limits?
It fails rather than running longer, so bulk work must be split into batches and scheduled. The limits are per transaction: one second of user code, 16 MiB read and written, 32,000 documents scanned and 16,000 written.
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.
Convex: How does reactivity actually work?
Queries are deterministic functions and Convex records the data each one read. When a mutation changes that data, affected queries are re-run and subscribed clients receive the new result, so cache invalidation is handled by the platform.
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
- Convex vs Supabase
- Convex vs Firebase Realtime Database
- Convex vs Readyset
- Convex vs DynamoDB
- Convex vs LanceDB
- Convex vs Xata
- Convex vs FaunaDB
- Convex vs OpenSearch
- Convex vs BigQuery
- Convex vs Materialize
- Convex vs TiDB
- Convex vs Dragonfly
- Convex vs Instaclustr
- Convex vs PgBouncer
- Convex vs Privacera
- Convex vs RavenDB
- Convex vs Tinybird
- Convex vs turbopuffer
- Convex vs ArangoDB
- Convex vs Neo4j
- Convex vs Azure Cosmos DB
- Convex vs SurrealDB
- Convex vs Elasticsearch
- Convex vs Couchbase
- Convex vs Cassandra
- Convex vs Aerospike
- Convex vs ScyllaDB
- Convex vs Nile
- Convex vs SAP HANA
- Convex vs Vertica
- Convex vs Airtable
- Dgraph vs Supabase
- Dgraph vs Firebase Realtime Database
- Dgraph vs Readyset
- Dgraph vs DynamoDB
- Dgraph vs LanceDB
- Dgraph vs Xata
- Dgraph vs FaunaDB
- Dgraph vs OpenSearch
- Dgraph vs BigQuery
- Dgraph vs Materialize
- Dgraph vs TiDB
- Dgraph vs Dragonfly
- Dgraph vs Instaclustr
- Dgraph vs PgBouncer
- Dgraph vs Privacera
- Dgraph vs RavenDB
- Dgraph vs Tinybird
- Dgraph vs turbopuffer
- 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 ScyllaDB
- Dgraph vs Nile
- Dgraph vs SAP HANA
- Dgraph vs Vertica
- Dgraph vs Airtable
