Alternatives to Dgraph logo

Alternatives to Dgraph

Neo4j, Titan, ArangoDB, Cayley, and GraphQL are the most popular alternatives and competitors to Dgraph.
126
221
+ 1
9

What is Dgraph and what are its top alternatives?

Dgraph is a distributed, transactional, and scalable graph database built specifically for handling massive datasets and complex queries in real-time. Its key features include horizontal scalability, distributed architecture, sharding, GraphQL support, ACID transactions, and customizable indexing. However, some limitations of Dgraph include a relatively steep learning curve for beginners, limited driver support compared to other graph databases, and potential performance bottlenecks under heavy write workloads.

  1. Neo4j: Neo4j is a popular graph database known for its high performance and powerful query language, Cypher. Key features include ACID transactions, native graph storage, and flexible schema. Pros include strong community support, comprehensive documentation, and a user-friendly interface. However, Neo4j can be resource-intensive and costly for large-scale deployments.
  2. ArangoDB: ArangoDB is a multi-model database that supports documents, key-value pairs, and graphs. It offers a flexible data model, distributed architecture, and a rich query language (AQL). Pros include multi-model capabilities, horizontal scalability, and strong community support. However, ArangoDB may not be as optimized for graph-specific workloads as Dgraph.
  3. TigerGraph: TigerGraph is a high-performance graph database designed for real-time deep link analytics. Key features include parallel graph processing, scalable graph storage, and built-in machine learning algorithms. Pros include fast query performance, easy data import/export, and strong support for complex graph algorithms. However, TigerGraph may be overkill for simpler graph applications compared to Dgraph.
  4. Amazon Neptune: Amazon Neptune is a fully managed graph database service offered by AWS. It supports both property graph and RDF models, with features like high availability, automatic backups, and encryption at rest. Pros include seamless integration with other AWS services, global scalability, and managed infrastructure. However, Neptune may have limitations in terms of customization and control compared to self-managed solutions like Dgraph.
  5. JanusGraph: JanusGraph is an open-source distributed graph database built on the Apache TinkerPop stack. It offers support for various storage backends, graph analytics, and integration with popular big data tools like Apache Hadoop and Apache Spark. Pros include flexibility in storage options, strong community backing, and robust scalability. However, JanusGraph may require more manual configuration and maintenance compared to Dgraph.
  6. OrientDB: OrientDB is a multi-model database that supports documents, graphs, and key-value pairs. It offers features like ACID transactions, distributed architecture, and a SQL-like query language. Pros include versatile data modeling capabilities, built-in visualization tools, and active community support. However, OrientDB may lack specialized optimizations for graph-specific workloads compared to Dgraph.
  7. AllegroGraph: AllegroGraph is an RDF triplestore and graph database designed for semantic data management. It provides features such as semantic reasoning, SPARQL query support, and geospatial querying. Pros include advanced semantic data processing capabilities, high performance for graph analytics, and cross-platform compatibility. However, AllegroGraph may have a steeper learning curve and higher resource requirements compared to Dgraph.
  8. GraphBase: GraphBase is a distributed graph database that focuses on high availability and fault tolerance. It offers features like real-time data replication, automatic failover, and distributed query processing. Pros include robust data consistency guarantees, performance optimizations for distributed systems, and ease of integration with existing infrastructure. However, GraphBase may have limitations in terms of query expressiveness and advanced graph algorithms compared to Dgraph.
  9. AnzoGraph DB: AnzoGraph DB is a scalable graph database designed for analyzing complex relationships in large datasets. It offers features like MPP query processing, GPU acceleration, and native RDF support. Pros include fast query performance on large graphs, easy data loading capabilities, and compatibility with semantic web standards. However, AnzoGraph DB may be more specialized for RDF-based applications compared to the general-purpose capabilities of Dgraph.
  10. AllegroGraph: AllegroGraph is a powerful RDF triplestore and graph database that offers support for semantic reasoning, geospatial querying, and SPARQL query language. Its key features include high-performance inferencing, graph analytics, & integration with RDF ontologies. Pros include comprehensive toolset for ontologies, customizable inferencing rules, & scalable architecture. However, AllegroGraph may have a higher learning curve due to its focus on semantic data processing and querying compared to Dgraph.

Top Alternatives to Dgraph

  • Neo4j
    Neo4j

    Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions. ...

  • Titan
    Titan

    Titan is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. Titan is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time. ...

  • ArangoDB
    ArangoDB

    A distributed free and open-source database with a flexible data model for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions. ...

  • Cayley
    Cayley

    Cayley is an open-source graph inspired by the graph database behind Freebase and Google's Knowledge Graph. Its goal is to be a part of the developer's toolbox where Linked Data and graph-shaped data (semantic webs, social networks, etc) in general are concerned. ...

  • GraphQL
    GraphQL

    GraphQL is a data query language and runtime designed and used at Facebook to request and deliver data to mobile and web apps since 2012. ...

  • MongoDB
    MongoDB

    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding. ...

  • JanusGraph
    JanusGraph

    It is a scalable graph database optimized for storing and querying graphs containing hundreds of billions of vertices and edges distributed across a multi-machine cluster. It is a transactional database that can support thousands of concurrent users executing complex graph traversals in real time. ...

  • Neptune
    Neptune

    It brings organization and collaboration to data science projects. All the experiement-related objects are backed-up and organized ready to be analyzed, reproduced and shared with others. Works with all common technologies and integrates with other tools. ...

Dgraph alternatives & related posts

Neo4j logo

Neo4j

1.2K
351
The world’s leading Graph Database
1.2K
351
PROS OF NEO4J
  • 69
    Cypher – graph query language
  • 61
    Great graphdb
  • 33
    Open source
  • 31
    Rest api
  • 27
    High-Performance Native API
  • 23
    ACID
  • 21
    Easy setup
  • 17
    Great support
  • 11
    Clustering
  • 9
    Hot Backups
  • 8
    Great Web Admin UI
  • 7
    Powerful, flexible data model
  • 7
    Mature
  • 6
    Embeddable
  • 5
    Easy to Use and Model
  • 4
    Highly-available
  • 4
    Best Graphdb
  • 2
    It's awesome, I wanted to try it
  • 2
    Great onboarding process
  • 2
    Great query language and built in data browser
  • 2
    Used by Crunchbase
CONS OF NEO4J
  • 9
    Comparably slow
  • 4
    Can't store a vertex as JSON
  • 1
    Doesn't have a managed cloud service at low cost

related Neo4j posts

Shared insights
on
Neo4jNeo4jKafkaKafkaMySQLMySQL

Hello Stackshare. I'm currently doing some research on real-time reporting and analytics architectures. We have a use case where 1million+ records of users, 4million+ activities, and messages that we want to report against. The start was to present it directly from MySQL, which didn't go well and puts a heavy load on the database. Anybody can suggest something where we feed the data and can report in realtime? Read some articles about ElasticSearch and Kafka https://medium.com/@D11Engg/building-scalable-real-time-analytics-alerting-and-anomaly-detection-architecture-at-dream11-e20edec91d33 EDIT: also considering Neo4j

See more
Stephen Gheysens
Lead Solutions Engineer at Inscribe · | 7 upvotes · 485.8K views

Google Maps lets "property owners and their authorized representatives" upload indoor maps, but this appears to lack navigation ("wayfinding").

MappedIn is a platform and has SDKs for building indoor mapping experiences (https://www.mappedin.com/) and ESRI ArcGIS also offers some indoor mapping tools (https://www.esri.com/en-us/arcgis/indoor-gis/overview). Finally, there used to be a company called LocusLabs that is now a part of Atrius and they were often integrated into airlines' apps to provide airport maps with wayfinding (https://atrius.com/solutions/personal-experiences/personal-wayfinder/).

I previously worked at Mapbox and while I believe that it's a great platform for building map-based experiences, they don't have any simple solutions for indoor wayfinding. If I were doing this for fun as a side-project and prioritized saving money over saving time, here is what I would do:

  • Create a graph-based dataset representing the walking paths around your university, where nodes/vertexes represent the intersections of paths, and edges represent paths (literally paths outside, hallways, short path segments that represent entering rooms). You could store this in a hosted graph-based database like Neo4j, Amazon Neptune , or Azure Cosmos DB (with its Gremlin API) and use built-in "shortest path" queries, or deploy a PostgreSQL service with pgRouting.

  • Add two properties to each edge: one property for the distance between its nodes (libraries like @turf/helpers will have a distance function if you have the latitude & longitude of each node), and another property estimating the walking time (based on the distance). Once you have these values saved in a graph-based format, you should be able to easily query and find the data representation of paths between two points.

  • At this point, you'd have the routing problem solved and it would come down to building a UI. Mapbox arguably leads the industry in developer tools for custom map experiences. You could convert your nodes/edges to GeoJSON, then either upload to Mapbox and create a Tileset to visualize the paths, or add the GeoJSON to the map on the fly.

*You might be able to use open source routing tools like OSRM (https://github.com/Project-OSRM/osrm-backend/issues/6257) or Graphhopper (instead of a custom graph database implementation), but it would likely be more involved to maintain these services.

See more
Titan logo

Titan

38
0
Distributed Graph Database
38
0
PROS OF TITAN
    Be the first to leave a pro
    CONS OF TITAN
      Be the first to leave a con

      related Titan posts

      ArangoDB logo

      ArangoDB

      275
      192
      A distributed open-source database with a flexible data model for documents, graphs, and key-values.
      275
      192
      PROS OF ARANGODB
      • 37
        Grahps and documents in one DB
      • 26
        Intuitive and rich query language
      • 25
        Good documentation
      • 25
        Open source
      • 21
        Joins for collections
      • 15
        Foxx is great platform
      • 14
        Great out of the box web interface with API playground
      • 6
        Good driver support
      • 6
        Low maintenance efforts
      • 6
        Clustering
      • 5
        Easy microservice creation with foxx
      • 4
        You can write true backendless apps
      • 2
        Managed solution available
      • 0
        Performance
      CONS OF ARANGODB
      • 3
        Web ui has still room for improvement
      • 2
        No support for blueprints standard, using custom AQL

      related ArangoDB posts

      We have an in-house build experiment management system. We produce samples as input to the next step, which then could produce 1 sample(1-1) and many samples (1 - many). There are many steps like this. So far, we are tracking genealogy (limited tracking) in the MySQL database, which is becoming hard to trace back to the original material or sample(I can give more details if required). So, we are considering a Graph database. I am requesting advice from the experts.

      1. Is a graph database the right choice, or can we manage with RDBMS?
      2. If RDBMS, which RDMS, which feature, or which approach could make this manageable or sustainable
      3. If Graph database(Neo4j, OrientDB, Azure Cosmos DB, Amazon Neptune, ArangoDB), which one is good, and what are the best practices?

      I am sorry that this might be a loaded question.

      See more

      Hello All, I'm building an app that will enable users to create documents using ckeditor or TinyMCE editor. The data is then stored in a database and retrieved to display to the user, these docs can contain image data also. The number of pages generated for a single document can go up to 1000. Therefore by design, each page is stored in a separate JSON. I'm wondering which database is the right one to choose between ArangoDB and PostgreSQL. Your thoughts, advice please. Thanks, Kashyap

      See more
      Cayley logo

      Cayley

      25
      7
      An open-source graph database
      25
      7
      PROS OF CAYLEY
      • 7
        Full open source
      CONS OF CAYLEY
        Be the first to leave a con

        related Cayley posts

        GraphQL logo

        GraphQL

        34.3K
        309
        A data query language and runtime
        34.3K
        309
        PROS OF GRAPHQL
        • 75
          Schemas defined by the requests made by the user
        • 63
          Will replace RESTful interfaces
        • 62
          The future of API's
        • 49
          The future of databases
        • 12
          Get many resources in a single request
        • 12
          Self-documenting
        • 6
          Ask for what you need, get exactly that
        • 6
          Query Language
        • 3
          Fetch different resources in one request
        • 3
          Type system
        • 3
          Evolve your API without versions
        • 2
          Ease of client creation
        • 2
          GraphiQL
        • 2
          Easy setup
        • 1
          "Open" document
        • 1
          Fast prototyping
        • 1
          Supports subscription
        • 1
          Standard
        • 1
          Good for apps that query at build time. (SSR/Gatsby)
        • 1
          1. Describe your data
        • 1
          Better versioning
        • 1
          Backed by Facebook
        • 1
          Easy to learn
        CONS OF GRAPHQL
        • 4
          Hard to migrate from GraphQL to another technology
        • 4
          More code to type.
        • 2
          Takes longer to build compared to schemaless.
        • 1
          No support for caching
        • 1
          All the pros sound like NFT pitches
        • 1
          No support for streaming
        • 1
          Works just like any other API at runtime
        • 1
          N+1 fetch problem
        • 1
          No built in security

        related GraphQL posts

        Shared insights
        on
        Node.jsNode.jsGraphQLGraphQLMongoDBMongoDB

        I just finished the very first version of my new hobby project: #MovieGeeks. It is a minimalist online movie catalog for you to save the movies you want to see and for rating the movies you already saw. This is just the beginning as I am planning to add more features on the lines of sharing and discovery

        For the #BackEnd I decided to use Node.js , GraphQL and MongoDB:

        1. Node.js has a huge community so it will always be a safe choice in terms of libraries and finding solutions to problems you may have

        2. GraphQL because I needed to improve my skills with it and because I was never comfortable with the usual REST approach. I believe GraphQL is a better option as it feels more natural to write apis, it improves the development velocity, by definition it fixes the over-fetching and under-fetching problem that is so common on REST apis, and on top of that, the community is getting bigger and bigger.

        3. MongoDB was my choice for the database as I already have a lot of experience working on it and because, despite of some bad reputation it has acquired in the last months, I still believe it is a powerful database for at least a very long list of use cases such as the one I needed for my website

        See more
        Nick Rockwell
        SVP, Engineering at Fastly · | 46 upvotes · 4.4M views

        When I joined NYT there was already broad dissatisfaction with the LAMP (Linux Apache HTTP Server MySQL PHP) Stack and the front end framework, in particular. So, I wasn't passing judgment on it. I mean, LAMP's fine, you can do good work in LAMP. It's a little dated at this point, but it's not ... I didn't want to rip it out for its own sake, but everyone else was like, "We don't like this, it's really inflexible." And I remember from being outside the company when that was called MIT FIVE when it had launched. And been observing it from the outside, and I was like, you guys took so long to do that and you did it so carefully, and yet you're not happy with your decisions. Why is that? That was more the impetus. If we're going to do this again, how are we going to do it in a way that we're gonna get a better result?

        So we're moving quickly away from LAMP, I would say. So, right now, the new front end is React based and using Apollo. And we've been in a long, protracted, gradual rollout of the core experiences.

        React is now talking to GraphQL as a primary API. There's a Node.js back end, to the front end, which is mainly for server-side rendering, as well.

        Behind there, the main repository for the GraphQL server is a big table repository, that we call Bodega because it's a convenience store. And that reads off of a Kafka pipeline.

        See more
        MongoDB logo

        MongoDB

        95K
        4.1K
        The database for giant ideas
        95K
        4.1K
        PROS OF MONGODB
        • 829
          Document-oriented storage
        • 594
          No sql
        • 554
          Ease of use
        • 465
          Fast
        • 410
          High performance
        • 255
          Free
        • 219
          Open source
        • 180
          Flexible
        • 145
          Replication & high availability
        • 112
          Easy to maintain
        • 42
          Querying
        • 39
          Easy scalability
        • 38
          Auto-sharding
        • 37
          High availability
        • 31
          Map/reduce
        • 27
          Document database
        • 25
          Easy setup
        • 25
          Full index support
        • 16
          Reliable
        • 15
          Fast in-place updates
        • 14
          Agile programming, flexible, fast
        • 12
          No database migrations
        • 8
          Easy integration with Node.Js
        • 8
          Enterprise
        • 6
          Enterprise Support
        • 5
          Great NoSQL DB
        • 4
          Support for many languages through different drivers
        • 3
          Schemaless
        • 3
          Aggregation Framework
        • 3
          Drivers support is good
        • 2
          Fast
        • 2
          Managed service
        • 2
          Easy to Scale
        • 2
          Awesome
        • 2
          Consistent
        • 1
          Good GUI
        • 1
          Acid Compliant
        CONS OF MONGODB
        • 6
          Very slowly for connected models that require joins
        • 3
          Not acid compliant
        • 2
          Proprietary query language

        related MongoDB posts

        Jeyabalaji Subramanian

        Recently we were looking at a few robust and cost-effective ways of replicating the data that resides in our production MongoDB to a PostgreSQL database for data warehousing and business intelligence.

        We set ourselves the following criteria for the optimal tool that would do this job: - The data replication must be near real-time, yet it should NOT impact the production database - The data replication must be horizontally scalable (based on the load), asynchronous & crash-resilient

        Based on the above criteria, we selected the following tools to perform the end to end data replication:

        We chose MongoDB Stitch for picking up the changes in the source database. It is the serverless platform from MongoDB. One of the services offered by MongoDB Stitch is Stitch Triggers. Using stitch triggers, you can execute a serverless function (in Node.js) in real time in response to changes in the database. When there are a lot of database changes, Stitch automatically "feeds forward" these changes through an asynchronous queue.

        We chose Amazon SQS as the pipe / message backbone for communicating the changes from MongoDB to our own replication service. Interestingly enough, MongoDB stitch offers integration with AWS services.

        In the Node.js function, we wrote minimal functionality to communicate the database changes (insert / update / delete / replace) to Amazon SQS.

        Next we wrote a minimal micro-service in Python to listen to the message events on SQS, pickup the data payload & mirror the DB changes on to the target Data warehouse. We implemented source data to target data translation by modelling target table structures through SQLAlchemy . We deployed this micro-service as AWS Lambda with Zappa. With Zappa, deploying your services as event-driven & horizontally scalable Lambda service is dumb-easy.

        In the end, we got to implement a highly scalable near realtime Change Data Replication service that "works" and deployed to production in a matter of few days!

        See more
        Robert Zuber

        We use MongoDB as our primary #datastore. Mongo's approach to replica sets enables some fantastic patterns for operations like maintenance, backups, and #ETL.

        As we pull #microservices from our #monolith, we are taking the opportunity to build them with their own datastores using PostgreSQL. We also use Redis to cache data we’d never store permanently, and to rate-limit our requests to partners’ APIs (like GitHub).

        When we’re dealing with large blobs of immutable data (logs, artifacts, and test results), we store them in Amazon S3. We handle any side-effects of S3’s eventual consistency model within our own code. This ensures that we deal with user requests correctly while writes are in process.

        See more
        JanusGraph logo

        JanusGraph

        42
        0
        Open-source, distributed graph database
        42
        0
        PROS OF JANUSGRAPH
          Be the first to leave a pro
          CONS OF JANUSGRAPH
            Be the first to leave a con

            related JanusGraph posts

            Neptune logo

            Neptune

            16
            2
            The most lightweight experiment tracking tool for machine learning
            16
            2
            PROS OF NEPTUNE
            • 1
              Aws managed services
            • 1
              Supports both gremlin and openCypher query languages
            CONS OF NEPTUNE
            • 1
              Doesn't have much support for openCypher clients
            • 1
              Doesn't have proper clients for different lanuages
            • 1
              Doesn't have much community support

            related Neptune posts