Databases · head to head
Amazon MSK vs Dgraph

Amazon MSK
Databases
Managed Apache Kafka on AWS with Standard and Express broker types
- From
- $0.204/hour
- Free plan
- No

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
- Dgraph has a free plan, then $39/mo; Amazon MSK starts at $0.204/mo.
- Only Amazon MSK lists standard brokers; only Dgraph lists apache 2.0 licence.
- Where Amazon MSK falls short: brokers are billed whether or not traffic flows, so a quiet development cluster costs hundreds of dollars a month at the AWS example rate.
How do Amazon MSK and Dgraph differ?
Amazon MSK and Dgraph differ on starting price ($0.204/hour against Free), pricing model and free tier (No against Yes). Only the attributes on which Amazon MSK and Dgraph actually diverge.
| Attribute | Amazon MSK | Dgraph |
|---|---|---|
| Starting price | $0.204/hour | Free |
| Pricing model | Per broker hour plus per GB-month storage | Freemium |
| Free tier | No | Yes |
| Platforms | Web, Linux | Linux, macOS, Self-hosted, Web |
Not yet recorded: category for Amazon MSK, founded for Amazon MSK.
Which features does each one have?
They share no listed features; 6 appear only for Amazon MSK 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 Amazon MSK
- Standard brokers
- Express brokers
- MSK Connect
- MSK Replicator
- IAM access control
- Tiered storage
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?
Amazon MSK is most often brought in for migrating a self-managed Kafka cluster without rewriting clients. The jobs each tool is most often brought in to do.
Amazon MSK
- Event streaming between microservices where producers and consumers already speak Kafkanot Dgraph
- Feeding Amazon S3, OpenSearch or Redshift from application events with MSK Connectnot Dgraph
- Migrating a self-managed Kafka cluster without rewriting clientsnot Dgraph
- Cross-Region replication of topics for disaster recoverynot Dgraph
Dgraph
- An application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQLnot Amazon MSK
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Amazon MSK
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Amazon MSK
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Amazon MSK
Where do Amazon MSK and Dgraph fall short?
Amazon MSK's most cited limit: Cross-AZ replication and client traffic generate data transfer charges that are not in the broker price. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Amazon MSK
- You still choose broker counts, instance sizes and partition layout, so capacity planning and rebalancing remain your responsibility on Standard brokers
- Brokers are billed whether or not traffic flows, so a quiet development cluster costs hundreds of dollars a month at the AWS example rate
- The ecosystem around schema governance, managed connectors and stream processing is thinner than Confluent Cloud, so more components must be assembled
- Cross-AZ replication and client traffic generate data transfer charges that are not in the broker price
- Kafka version upgrades and client compatibility still require planning, and AWS lags upstream releases
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 Amazon MSK and Dgraph cost?
Amazon MSK starts at $0.204/mo; Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.
Amazon MSK
$0.204/hour- Standard broker$0.204/hour
- kafka.m7g.large $0.204 per hour, kafka.m5.large $0.21
- Storage $0.10 per GB-month
- Express broker$0.408/hour
- express.m7g.large $0.408 per hour, express.m8g.large $0.3468
- $0.01 per GB of data written
- Low-cost storage tier retrieval $0.0015 per GB
Dgraph
Free- CommunityFree
- Native GraphQL
- Graph queries
- Full-text search
- Cloud$39/mo
- Managed service
- Auto-scaling
- Enterprise support
Which should you pick?
Choose Amazon MSK if
- You need standard brokers.
- You work on Web, Linux.
- You also want express brokers.
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 Amazon MSK or Dgraph better?
- It depends on the job. Amazon MSK fits event streaming between microservices where producers and consumers already speak Kafka; Dgraph fits an application whose core data is a graph, such as permissions, social connections or product relationships, where the frontend already consumes GraphQL. Amazon MSK starts at $0.204/hour and Dgraph at Free.
- Which is cheaper, Amazon MSK or Dgraph?
- Dgraph has a free tier; the other does not. Paid plans start at $0.204/hour for Amazon MSK and Free for Dgraph.
- Does Amazon MSK or Dgraph run on more platforms?
- Amazon MSK runs on Web, Linux. Dgraph runs on Linux, macOS, Self-hosted, Web.
- Can I use Dgraph for free?
- Yes. Dgraph has a free tier, so you can try it without paying. Amazon MSK starts at $0.204/hour.
- What is Amazon MSK best used for?
- Amazon MSK is most often used for event streaming between microservices where producers and consumers already speak kafka, feeding amazon s3, opensearch or redshift from application events with msk connect, migrating a self-managed kafka cluster without rewriting clients, cross-region replication of topics for disaster recovery. Of those, event streaming between microservices where producers and consumers already speak kafka and feeding amazon s3, opensearch or redshift from application events with msk connect are not what Dgraph is typically brought in for.
- What can Amazon MSK do that Dgraph cannot?
- Amazon MSK covers Standard brokers, Express brokers, MSK Connect, MSK Replicator. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.
Answered from the vendors’ own pages
Amazon MSK: How much does Amazon MSK cost?
Standard kafka.m7g.large brokers are $0.204 per hour and express.m7g.large brokers $0.408 per hour, plus storage at $0.10 per GB-month, per the AWS page.
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.
Amazon MSK: What is the difference between Standard and Express brokers?
Express brokers are designed for higher throughput per broker and quicker scaling; Standard brokers give more control over configuration. Both are billed per broker hour.
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.
Amazon MSK: Is MSK compatible with Apache Kafka clients?
Yes. It runs Apache Kafka, so existing producers, consumers and Kafka Connect connectors work.
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.
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
- Amazon MSK vs Confluent Cloud
- Amazon MSK vs VMware vSphere
- Amazon MSK vs Exoscale
- Amazon MSK vs Google App Engine
- Amazon MSK vs Google Cloud Run
- Amazon MSK vs Rook
- Amazon MSK vs CloudAMQP
- Amazon MSK vs Nebius
- Amazon MSK vs Rackspace Technology
- Amazon MSK vs Azure Kubernetes Service
- Amazon MSK vs DigitalOcean
- Amazon MSK vs Red Hat OpenShift
- Amazon MSK vs HAProxy
- Amazon MSK vs Northflank
- Amazon MSK vs Scaleway
- Amazon MSK vs Akamai
- Amazon MSK vs IBM Cloud
- Amazon MSK vs Google Kubernetes Engine
- Amazon MSK vs ArangoDB
- Amazon MSK vs Neo4j
- Amazon MSK vs Azure Cosmos DB
- Amazon MSK vs SurrealDB
- Amazon MSK vs Elasticsearch
- Amazon MSK vs Couchbase
- Amazon MSK vs Cassandra
- Amazon MSK vs Aerospike
- Amazon MSK vs Firebase Realtime Database
- Amazon MSK vs ScyllaDB
- Amazon MSK vs FaunaDB
- Amazon MSK vs RavenDB
- Amazon MSK vs Estuary
- Amazon MSK vs Materialize
- Amazon MSK vs Memcached
- Amazon MSK vs Milvus
- Amazon MSK vs SQLite
- Amazon MSK vs TiDB
- Dgraph vs Confluent Cloud
- Dgraph vs VMware vSphere
- Dgraph vs Exoscale
- Dgraph vs Google App Engine
- Dgraph vs Google Cloud Run
- Dgraph vs Rook
- Dgraph vs CloudAMQP
- Dgraph vs Nebius
- Dgraph vs Rackspace Technology
- Dgraph vs Azure Kubernetes Service
- Dgraph vs DigitalOcean
- Dgraph vs Red Hat OpenShift
- Dgraph vs HAProxy
- Dgraph vs Northflank
- Dgraph vs Scaleway
- Dgraph vs Akamai
- Dgraph vs IBM Cloud
- Dgraph vs Google Kubernetes Engine
- 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 Estuary
- Dgraph vs Materialize
- Dgraph vs Memcached
- Dgraph vs Milvus
- Dgraph vs SQLite
- Dgraph vs TiDB
