Software Alternatives, Accelerators & Startups

Hasura VS Dgraph

Compare Hasura VS Dgraph and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

Hasura logo Hasura

Hasura is an open platform to build scalable app backends, offering a built-in database, search, user-management and more.

Dgraph logo Dgraph

A fast, distributed graph database with ACID transactions.
  • Hasura Landing page
    Landing page //
    2023-10-21
  • Dgraph Landing page
    Landing page //
    2023-05-02

Hasura features and specs

  • Real-Time Data
    Hasura provides built-in support for GraphQL subscriptions, allowing you to easily implement real-time data updates in your applications.
  • Auto-Generated APIs
    With Hasura, you can instantly generate a fully-functional, scalable GraphQL API from your existing databases without writing any code.
  • Authorization and Authentication
    Hasura provides granular authorization controls and integrates well with various authentication services, helping to secure your data access.
  • Microservices & Event Triggers
    Hasura allows you to create event-driven architectures by allowing you to trigger webhooks based on specified database events.
  • Scalability
    Designed for performance, Hasura can handle large-scale applications by optimizing database queries and offering load-balancing capabilities.
  • Multi-Data Source Support
    Hasura can connect to multiple data sources and databases, making it a versatile choice for complex architectures.
  • Developer Productivity
    The tool significantly reduces the time required for backend development, allowing developers to focus on building frontend features and improving user experience.
  • Community and Support
    Hasura has a growing community and offers comprehensive documentation, which can be invaluable for troubleshooting and getting the most out of the platform.

Possible disadvantages of Hasura

  • Complex Initial Setup
    Although Hasura simplifies many tasks, setting it up initially can be complex and may require a good understanding of both GraphQL and your underlying database.
  • Vendor Lock-In Concerns
    Depending heavily on Hasura can create vendor lock-in situations, making it difficult to switch technologies later without significant redevelopment effort.
  • Learning Curve
    Developers unfamiliar with GraphQL, event-driven architectures, or advanced database concepts may face a steep learning curve when adopting Hasura.
  • Limited Customization
    Some advanced use cases may require lower-level customizations not easily achievable through Hasura’s auto-generated APIs.
  • Performance Overhead
    Although optimized for performance, the additional layer Hasura introduces can still introduce latency, especially in highly complex queries.
  • Debugging Complexity
    Diagnosing issues can sometimes be complicated due to the number of components involved, including the database, Hasura, and the generated APIs.
  • Cost
    While Hasura offers a free tier, advanced features and enterprise-level support come at a cost, which can add up as your project scales.

Dgraph features and specs

  • High Performance
    Dgraph is optimized for high-throughput and low-latency scenarios, making it suitable for real-time applications with large datasets.
  • Horizontal Scalability
    Dgraph offers seamless horizontal scalability, allowing the system to expand across multiple nodes to handle increased workloads.
  • GraphQL Compatibility
    Dgraph provides native support for GraphQL, allowing developers to use a widely accepted query language with their graph database.
  • Distributed Architecture
    Being a distributed graph database, Dgraph ensures data replication and high availability across different geographical locations.
  • Strong Consistency
    Dgraph offers strong consistency guarantees, ensuring that all nodes see the same data at the same time, which is crucial for many applications.

Possible disadvantages of Dgraph

  • Complex Setup
    Setting up and managing Dgraph can be complex, especially for users not familiar with distributed systems.
  • Resource Intensive
    Running Dgraph in a production environment can be resource-intensive, requiring significant computational resources and memory.
  • Learning Curve
    For developers new to graph databases, there may be a steep learning curve compared to more traditional relational databases.
  • Limited Tooling Ecosystem
    Compared to some older graph databases, Dgraph's ecosystem, in terms of third-party tools and integrations, is not as mature.
  • Community Support
    As a relatively newer entrant in the database market, Dgraph may have less community-driven support compared to more established databases.

Hasura videos

Scott Tries Hasura - A Realtime GraphQL API Builder

More videos:

  • Review - Evaluating Hasura
  • Review - The founder of Hasura teaching me about Hasura - FUN!

Dgraph videos

Intro to Slash GraphQL from Dgraph

More videos:

  • Review - Getting started with Dgraph #5: Tweet graph, string indices, and keyword-based searching
  • Review - Graph Database: Intro to Dgraph's Query Language (2017)

Category Popularity

0-100% (relative to Hasura and Dgraph)
GraphQL
100 100%
0% 0
Graph Databases
0 0%
100% 100
Realtime Backend / API
100 100%
0% 0
Databases
0 0%
100% 100

User comments

Share your experience with using Hasura and Dgraph. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Hasura should be more popular than Dgraph. It has been mentiond 122 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Hasura mentions (122)

  • Supabase Alternatives 🔄 in 2025 😼
    Hasura is a neck-to-neck competitor to Supabase as a BaaS, but with a crucial difference: its GraphQL-first approach. Unlike Supabase, Hasura doesn't bundle database services, allowing it to work with virtually any database including Supabase's own Postgres, Neon, and others. - Source: dev.to / 2 months ago
  • Automatically Generate REST and GraphQL APIs From Your Database
    Hasura and PostGraphile lead the PostgreSQL GraphQL landscape. Hasura provides real-time subscriptions and a powerful permissions system, while PostGraphile offers deep PostgreSQL integration and excellent performance for complex queries. - Source: dev.to / 5 months ago
  • The Myth of GraphQL
    Here is an example data schema we get for a query using Hasura and GraphQL-Codegen. - Source: dev.to / 7 months ago
  • Hasura CLI on NixOS: A Working Solution
    Hasura is a great tool. I was worried about a few things such as huge RAM consumption, excessive focus on new features and functions despite many outstanding issues, long time rewrite of the server in Rust, etc... - Source: dev.to / 10 months ago
  • Haskell Certification Program
    Hasura has commercial use: https://hasura.io/. - Source: Hacker News / 11 months ago
View more

Dgraph mentions (21)

  • List of 45 databases in the world
    Dgraph — Distributed, fast graph database. - Source: dev.to / 10 months ago
  • How to choose the right type of database
    Dgraph: A distributed and scalable graph database known for high performance. It's a good fit for large-scale graph processing, offering a GraphQL-like query language and gRPC API support. - Source: dev.to / about 1 year ago
  • Getting Started with Serverless Edge - Exploring the Options
    DGraph – A distributed GraphQL database with a graph backend. - Source: dev.to / over 2 years ago
  • Fluree DB - A datomic like database that I just discovered
    How does it compare to, say grakn (renamed https://vaticle.com/, I think?), or draph (https://dgraph.io/), or Ontotext's GraphDB (https://www.ontotext.com/products/graphdb/), or Datomic? Source: over 2 years ago
  • GKE with Consul Service Mesh
    Consul Connect service mesh has a higher memory footprint, so on a small cluster with e5-medium nodes (2 vCPUs, 4 GB memory), you will only be able to support a maximum of 6 side-car proxies. In order to get an application like Dgraph working, which will have 6 nodes (3 Dgraph Alpha pods and 3 Dgraph Zero pods) for high availability along with at least one client, a larger footprint with more robust Kubernetes... - Source: dev.to / over 2 years ago
View more

What are some alternatives?

When comparing Hasura and Dgraph, you can also consider the following products

Supabase - An open source Firebase alternative

neo4j - Meet Neo4j: The graph database platform powering today's mission-critical enterprise applications, including artificial intelligence, fraud detection and recommendations.

GraphQl Editor - Editor for GraphQL that lets you draw GraphQL schemas using visual nodes

OrientDB - OrientDB - The World's First Distributed Multi-Model NoSQL Database with a Graph Database Engine.

Stellate.co - Everything you need to run your GraphQL API at scale

Memgraph - Memgraph is an open source graph database built for real-time streaming and compatible with Neo4j. Whether you're a developer or a data scientist with interconnected data, Memgraph will get you the immediate actionable insights fast.