Databases · head to head
Dgraph vs HashiCorp Boundary

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

HashiCorp Boundary
Cybersecurity
Identity-aware session broker for infrastructure access without distributing credentials
- From
- Free
- Free plan
- Yes
The short version
- HashiCorp Boundary is free; Dgraph starts at $39/mo.
- Only Dgraph lists apache 2.0 licence; only HashiCorp Boundary lists just-in-time credentials.
How do Dgraph and HashiCorp Boundary differ?
Dgraph and HashiCorp Boundary differ on pricing model, platforms and category (Databases against Cybersecurity). Only the attributes on which Dgraph and HashiCorp Boundary actually diverge.
| Attribute | Dgraph | HashiCorp Boundary |
|---|---|---|
| Pricing model | Freemium | Open source, no licence fee |
| Platforms | Linux, macOS, Self-hosted, Web | Linux, macOS, Windows, Web |
| Category | Databases | Cybersecurity |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for HashiCorp Boundary.
Which features does each one have?
They share no listed features; 10 appear only for Dgraph and 8 only for HashiCorp Boundary. 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 HashiCorp Boundary
- Identity-based access
- Just-in-time credentials
- Dynamic host catalogues
- Session recording
- Transparent sessions
- Multi-hop workers
- Audit logging
- Terraform provider
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 HashiCorp Boundary
- A knowledge graph that outgrew a single machine and needs storage distributed across nodes without a per-core licence negotiationnot HashiCorp Boundary
- Recommendation or fraud-detection features that traverse several hops at request time, where a relational join chain has become the bottlenecknot HashiCorp Boundary
- Teams that want a graph database they can read, fork and self-host under a permissive licence rather than a source-available onenot HashiCorp Boundary
HashiCorp Boundary
- A platform team replacing shared SSH keys and a bastion host so that leavers lose access the moment they are removed from the identity providernot Dgraph
- Granting contractors time-boxed database access without ever issuing them a credential they could keepnot Dgraph
- An estate where autoscaling replaces hosts continuously and a static access list is always out of datenot Dgraph
- Producing session recordings as evidence for an audit that requires proof of who touched production and what they rannot Dgraph
Where do Dgraph and HashiCorp Boundary 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
HashiCorp Boundary
- HashiCorp was acquired by IBM in February 2025 and Enterprise licensing now runs through IBM Passport Advantage; IBM has already retired HCP Vault Secrets, so Boundary's roadmap depends on IBM portfolio decisions rather than HashiCorp's own product strategy
- Enterprise pricing is not published anywhere, and the features most organisations actually need for compliance, notably session recording, are Enterprise only, so the free community edition is rarely the version you end up buying
- It solves access to infrastructure, not to applications; browser-based internal tools, SaaS admin consoles and APIs need a separate control, so Boundary is one component of a zero-trust programme rather than the whole thing
- Running it yourself means operating controllers, worker nodes and a Postgres database in a highly available configuration, and if that control plane is down nobody can reach production, which makes it a new critical dependency
- It is materially easier to adopt if you already run Vault and Terraform; teams without that ecosystem face a steeper learning curve than a device-based mesh product like Tailscale, for a similar access outcome
How much do Dgraph and HashiCorp Boundary cost?
Dgraph has a free plan, with paid plans from $39/mo; HashiCorp Boundary 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
HashiCorp Boundary
Free- Boundary Community EditionFree
- MPL 2.0 open source
- Self-hosted controllers and workers
- Identity-based target access
- Boundary EnterpriseOn request
- Session recording and playback
- Multi-hop and transparent sessions
- Multi-tenancy via scopes
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 HashiCorp Boundary if
- You need identity-based access.
- You want to start without paying.
- You work on Linux, macOS, Windows, Web.
- You also want just-in-time credentials.
Questions people ask
- Is Dgraph or HashiCorp Boundary 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; HashiCorp Boundary fits a platform team replacing shared SSH keys and a bastion host so that leavers lose access the moment they are removed from the identity provider. Dgraph starts at Free and HashiCorp Boundary at Free.
- Which is cheaper, Dgraph or HashiCorp Boundary?
- Dgraph starts at Free and HashiCorp Boundary at Free.
- Does Dgraph or HashiCorp Boundary run on more platforms?
- Dgraph runs on Linux, macOS, Self-hosted, Web. HashiCorp Boundary runs on Linux, macOS, Windows, Web.
- 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 HashiCorp Boundary is typically brought in for.
- What can Dgraph do that HashiCorp Boundary cannot?
- Dgraph covers Apache 2.0 licence, Generated GraphQL API, DQL query language, Predicate sharding. HashiCorp Boundary covers Identity-based access, Just-in-time credentials, Dynamic host catalogues, Session recording.
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.
HashiCorp Boundary: Is Boundary open source?
The community edition is, under MPL 2.0. Boundary Enterprise is commercial and is now sold through IBM Passport Advantage.
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.
HashiCorp Boundary: Does it replace a VPN?
For infrastructure access, largely yes. It grants a session to a specific target rather than putting the user on a network, but it does not cover browser-based internal applications.
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.
HashiCorp Boundary: What does Boundary Enterprise cost?
HashiCorp does not publish Boundary pricing. It is quoted, and since the IBM acquisition it is transacted on IBM licensing paper.
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.
HashiCorp Boundary: Do I need Vault to use it?
No, but the just-in-time credential brokering that makes Boundary worthwhile depends on Vault or an equivalent secrets store.
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
More on HashiCorp Boundary
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 Teleport
- Dgraph vs Okta
- Dgraph vs Delinea
- Dgraph vs Infisical
- Dgraph vs Dashlane
- Dgraph vs LastPass
- Dgraph vs Zscaler Internet Access
- Dgraph vs One Identity
- Dgraph vs Microsoft Entra ID
- Dgraph vs Saviynt
- Dgraph vs Logto
- Dgraph vs Netskope
- Dgraph vs Wazuh
- Dgraph vs WorkOS
- Dgraph vs Yoti
- Dgraph vs Bitdefender VPN
- Dgraph vs Cosign
- Dgraph vs Dahua Technology
- HashiCorp Boundary vs ArangoDB
- HashiCorp Boundary vs Neo4j
- HashiCorp Boundary vs Azure Cosmos DB
- HashiCorp Boundary vs SurrealDB
- HashiCorp Boundary vs Elasticsearch
- HashiCorp Boundary vs Couchbase
- HashiCorp Boundary vs Cassandra
- HashiCorp Boundary vs Aerospike
- HashiCorp Boundary vs Firebase Realtime Database
- HashiCorp Boundary vs ScyllaDB
- HashiCorp Boundary vs FaunaDB
- HashiCorp Boundary vs RavenDB
- HashiCorp Boundary vs Nile
- HashiCorp Boundary vs Readyset
- HashiCorp Boundary vs SAP HANA
- HashiCorp Boundary vs Vertica
- HashiCorp Boundary vs Airtable
- HashiCorp Boundary vs Supabase
- HashiCorp Boundary vs Teleport
- HashiCorp Boundary vs Okta
- HashiCorp Boundary vs Delinea
- HashiCorp Boundary vs Infisical
- HashiCorp Boundary vs Dashlane
- HashiCorp Boundary vs LastPass
- HashiCorp Boundary vs Zscaler Internet Access
- HashiCorp Boundary vs One Identity
- HashiCorp Boundary vs Microsoft Entra ID
- HashiCorp Boundary vs Saviynt
- HashiCorp Boundary vs Logto
- HashiCorp Boundary vs Netskope
- HashiCorp Boundary vs Wazuh
- HashiCorp Boundary vs WorkOS
- HashiCorp Boundary vs Yoti
- HashiCorp Boundary vs Bitdefender VPN
- HashiCorp Boundary vs Cosign
- HashiCorp Boundary vs Dahua Technology
