APIs · head to head
Ably vs Dgraph

Ably
APIs
Realtime data delivery platform for pub/sub messaging at scale
- 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 $29/mo and $39/mo.
- Only Ably lists pub/sub messaging; only Dgraph lists apache 2.0 licence.
- Where Ably falls short: the jump from Standard ($29/month) to Pro ($399/month) is steep for teams needing more than 10k connections but not full Pro capacity.
How do Ably and Dgraph differ?
Ably and Dgraph differ on platforms and category (APIs against Databases). Only the attributes on which Ably and Dgraph actually diverge.
Identical on both: starting price (Free), pricing model (Freemium), free tier (Yes).
Not yet recorded: founded for Ably.
Which features does each one have?
They share no listed features; 6 appear only for Ably 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 Ably
- Pub/sub messaging
- Presence
- Message persistence
- Multi-protocol support
- Encryption
- Datadog integration
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?
Ably is most often brought in for building realtime chat or collaborative apps. The jobs each tool is most often brought in to do.
Ably
- Building realtime chat or collaborative appsnot Dgraph
- Delivering live data feeds like stock prices or sports scoresnot Dgraph
- Broadcasting notifications to many concurrent clientsnot Dgraph
- Running mission-critical realtime infrastructure with high uptime SLAsnot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Ably
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Ably
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Ably
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Ably
Where do Ably and Dgraph fall short?
Ably's most cited limit: 24/7 mission-critical support and 99.999% uptime SLAs are reserved for the custom-priced Enterprise tier. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Ably
- Standard and Pro plans layer usage-based charges for messages, connection minutes, and data transfer on top of the base subscription, adding cost complexity
- The jump from Standard ($29/month) to Pro ($399/month) is steep for teams needing more than 10k connections but not full Pro capacity
- 24/7 mission-critical support and 99.999% uptime SLAs are reserved for the custom-priced Enterprise tier
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 Ably and Dgraph cost?
Ably has a free plan, with paid plans from $29/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
Ably
Free- FreeFree
- 200 concurrent connections
- 500 messages/second
- 6M messages/month
- Standard$29/mo
- 10k concurrent channels
- 10k concurrent connections
- 2.5k messages/second
- Pro$399/mo
- 50k concurrent channels
- 50k concurrent connections
- 10k messages/second
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose Ably if
- You need pub/sub messaging.
- You want to start without paying.
- You work on Web, iOS, Android, API.
- You also want presence.
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 Ably or Dgraph better?
- It depends on the job. Ably fits building realtime chat or collaborative apps; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. Ably starts at Free and Dgraph at Free.
- Which is cheaper, Ably or Dgraph?
- Ably starts at Free and Dgraph at Free.
- Does Ably or Dgraph run on more platforms?
- Ably runs on Web, iOS, Android, API. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use Ably for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Ably best used for?
- Ably is most often used for building realtime chat or collaborative apps, delivering live data feeds like stock prices or sports scores, broadcasting notifications to many concurrent clients, running mission-critical realtime infrastructure with high uptime slas. Of those, building realtime chat or collaborative apps and delivering live data feeds like stock prices or sports scores are not what Dgraph is typically brought in for.
- What can Ably do that Dgraph cannot?
- Ably covers Pub/sub messaging, Presence, Message persistence, Multi-protocol support. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
Ably: What does Ably cost?
Ably offers a free plan with 200 concurrent connections, a Standard plan at $29/month plus usage, a Pro plan at $399/month plus usage, and custom Enterprise pricing with unlimited channels and connections.
SourceDgraph: 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.
Ably: Is there a free plan, and what are its limits?
Yes, the free plan includes 200 concurrent connections, 500 messages per second, and 6 million messages per month with community and best-effort email support.
SourceDgraph: 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.
Ably: How is usage metered?
Beyond plan limits, Ably charges usage-based rates of $2.50 per million messages, $1.00 per million connection minutes, $1.00 per million channel minutes, and $0.25 per GiB of data transfer, with volume discounts available.
SourceDgraph: 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.
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.
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
- Ably vs Pusher
- Ably vs PubNub
- Ably vs Liveblocks
- Ably vs Svix
- Ably vs Novu
- Ably vs Courier
- Ably vs Paymentology
- Ably vs Salt Edge
- Ably vs Convoy
- Ably vs Directus
- Ably vs Lithic
- Ably vs AWS API Gateway
- Ably vs Bud Financial
- Ably vs Dwolla
- Ably vs Mailgun
- Ably vs Parse Server
- Ably vs Payload CMS
- Ably vs Thunder Client
- Ably vs ArangoDB
- Ably vs Neo4j
- Ably vs Azure Cosmos DB
- Ably vs SurrealDB
- Ably vs Elasticsearch
- Ably vs Couchbase
- Ably vs Cassandra
- Ably vs Aerospike
- Ably vs Firebase Realtime Database
- Ably vs ScyllaDB
- Ably vs FaunaDB
- Ably vs RavenDB
- Ably vs Nile
- Ably vs Readyset
- Ably vs SAP HANA
- Ably vs Vertica
- Ably vs Airtable
- Ably vs Supabase
- Dgraph vs Pusher
- Dgraph vs PubNub
- Dgraph vs Liveblocks
- Dgraph vs Svix
- Dgraph vs Novu
- Dgraph vs Courier
- Dgraph vs Paymentology
- Dgraph vs Salt Edge
- Dgraph vs Convoy
- Dgraph vs Directus
- Dgraph vs Lithic
- Dgraph vs AWS API Gateway
- Dgraph vs Bud Financial
- Dgraph vs Dwolla
- Dgraph vs Mailgun
- Dgraph vs Parse Server
- Dgraph vs Payload CMS
- Dgraph vs Thunder Client
- 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
