Softwr

Cloud · head to head

Amazon S3 vs Dgraph

Amazon S3 logo

Amazon S3

Cloud

Amazon Web Services' pay-as-you-go object storage service

From
On request
Free plan
No
Dgraph logo

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 starts at $39/mo; Amazon S3 prices on request.
  • Only Amazon S3 lists object storage in buckets; only Dgraph lists apache 2.0 licence.
  • Where Amazon S3 falls short: billing depends on storage class, requests and transfer, so total cost is hard to predict.

How do Amazon S3 and Dgraph differ?

Amazon S3 and Dgraph differ on starting price (On request against Free), pricing model (Usage-based against Freemium) and free tier (No against Yes). Only the attributes on which Amazon S3 and Dgraph actually diverge.

Attributes where Amazon S3 and Dgraph differ
AttributeAmazon S3Dgraph
Starting priceOn requestFree
Pricing modelUsage-basedFreemium
Free tierNoYes
PlatformsWebLinux, macOS, Self-hosted, Web
CategoryCloudDatabases

Not yet recorded: founded for Amazon S3.

Which features does each one have?

They share no listed features; 9 appear only for Amazon S3 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 S3

  • Object storage in buckets
  • Multiple storage classes including Glacier
  • S3 Intelligent-Tiering
  • Versioning
  • Replication
  • Encryption by default
  • Static website hosting
  • Time-limited authenticated URLs

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 S3 is most often brought in for data lake storage for analytics. The jobs each tool is most often brought in to do.

Amazon S3

  • Data lake storage for analyticsnot Dgraph
  • Application and mobile app file storagenot Dgraph
  • Long-term archives in Glacier classesnot Dgraph
  • Static website hostingnot 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 S3
  • A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot Amazon S3
  • Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot Amazon S3
  • Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot Amazon S3

Where do Amazon S3 and Dgraph fall short?

Amazon S3's most cited limit: billing depends on storage class, requests and transfer, so total cost is hard to predict. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Amazon S3

  • Billing depends on storage class, requests and transfer, so total cost is hard to predict
  • Outbound internet data transfer is charged beyond the first 100 GB per month
  • Objects larger than 5 GB need multipart upload because single uploads are capped at 5 GB
  • Versioning is disabled by default and must be switched on per bucket
  • Available only on AWS; moving data elsewhere means egress and re-integration work

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 S3 and Dgraph cost?

Dgraph has a free plan, with paid plans from $39/mo. Plan by plan below, from each vendor's own pricing page.

Amazon S3

On request

No published plan breakdown. See the Amazon S3 review.

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 S3 if

  • You need object storage in buckets.
  • You also want multiple storage classes including glacier.

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 S3 or Dgraph better?
It depends on the job. Amazon S3 fits data lake storage for analytics; 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 S3 starts at On request and Dgraph at Free.
Which is cheaper, Amazon S3 or Dgraph?
Dgraph has a free tier; the other does not. Paid plans start at On request for Amazon S3 and Free for Dgraph.
Does Amazon S3 or Dgraph run on more platforms?
Amazon S3 runs on Web. 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 S3 starts at On request.
What is Amazon S3 best used for?
Amazon S3 is most often used for data lake storage for analytics, application and mobile app file storage, long-term archives in glacier classes, static website hosting. Of those, data lake storage for analytics and application and mobile app file storage are not what Dgraph is typically brought in for.
What can Amazon S3 do that Dgraph cannot?
Amazon S3 covers Object storage in buckets, Multiple storage classes including Glacier, S3 Intelligent-Tiering, Versioning. Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding.

Answered from the vendors’ own pages

Amazon S3: What is Amazon S3?

Amazon S3 is an object storage service from AWS, described as built to retrieve any amount of data from anywhere. It is used for data lakes, cloud-native applications and mobile apps.

Source
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 S3: How is S3 priced?

AWS says the cost depends on object size, storage duration and storage class, with no minimum charge. Inbound transfer from the internet is free, as are transfers between buckets in the same Region, and the first 100 GB per month out to the internet is free.

Source
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 S3: What is the maximum object size in S3?

Objects can be up to 5 TB. A single upload operation is capped at 5 GB, so larger objects use the multipart upload API.

Source
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.

Amazon S3: Is S3 versioning on by default?

No. Versioning is available but disabled by default. Default bucket-level encryption was added in November 2017.

Source
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.

Share

Related pages

Other head to heads