dgraph VS cockroach

Compare dgraph vs cockroach and see what are their differences.

dgraph

high-performance graph database for real-time use cases (by hypermodeinc)

cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement. (by cockroachdb)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
dgraph cockroach
36 111
20,731 30,632
0.6% 0.7%
9.4 10.0
5 days ago 5 days ago
Go Go
GNU General Public License v3.0 or later GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

dgraph

Posts with mentions or reviews of dgraph. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-19.

cockroach

Posts with mentions or reviews of cockroach. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-16.
  • CockroachDB has changed their license, again
    1 project | news.ycombinator.com | 18 Mar 2025
  • RocksDB: Your Key-Value Store Powerhouse (and Why You Should Care)
    5 projects | dev.to | 16 Feb 2025
  • Outgrowing Postgres: Handling increased user concurrency
    13 projects | dev.to | 3 Feb 2025
    Postgres-compatible DSQL solutions: Distributed SQL databases that are either Postgres or Postgres-compatible like Citus, Aurora DSQL, and CockroachDB might be the right approach for handling your scale without forcing you to change much of your code. They each have their strengths and weaknesses and the right one for you depends on your use cases and needs.
  • 7 Databases in 7 Weeks for 2025
    10 projects | news.ycombinator.com | 5 Dec 2024
    Still very much "open-source": https://github.com/cockroachdb/cockroach

    But relicensed to the "CockroachDB Software License" as a form of BSL to prevent reselling.

  • CockroachDB License Change
    6 projects | news.ycombinator.com | 15 Aug 2024
    code in a given file is licensed under the BSL and ..." That is sucky.

    [0] https://github.com/cockroachdb/cockroach?tab=License-1-ov-fi...

  • List of 45 databases in the world
    27 projects | dev.to | 9 Jul 2024
    CockroachDB — Distributed SQL database built for cloud applications.
  • Which Database is Perfect for You? A Comprehensive Guide to MySQL, PostgreSQL, NoSQL, and More
    10 projects | dev.to | 26 Jun 2024
    CockroachDB is a distributed SQL database designed for cloud applications. It provides strong consistency, horizontal scalability, and high availability.
  • Round Rects Are Everywhere
    3 projects | news.ycombinator.com | 24 Jun 2024
    Round rectangles can look not round enough on low-DPI displays, and the colors can also be wrong due to incorrect averaging in non-linear color space. Example: https://github.com/ClickHouse/ClickHouse/pull/33453#issuecom...

    It is similar to how subtle gradients look striped and dirty on many websites if displayed with only 24-bit color: https://github.com/cockroachdb/cockroach/issues/91316

  • Show HN: Restate, low-latency durable workflows for JavaScript/Java, in Rust
    9 projects | news.ycombinator.com | 12 Jun 2024
    Restate is built as a sharded replicated state machine similar to how TiKV (https://tikv.org/), Kudu (https://kudu.apache.org/kudu.pdf) or CockroachDB (https://github.com/cockroachdb/cockroach) are designed. Instead of relying on a specific consensus implementation, we have decided to encapsulate this part into a virtual log (inspired by Delos https://www.usenix.org/system/files/osdi20-balakrishnan.pdf) since it makes it possible to tune the system more easily for different deployment scenarios (on-prem, cloud, cost-effective blob storage). Moreover, it allows for some other cool things like seamlessly moving from one log implementation to another. Apart from that the whole system design has been influenced by ideas from stream processing systems such as Apache Flink (https://flink.apache.org/), log storage systems such as LogDevice (https://logdevice.io/) and others.

    We plan to publish a more detailed follow-up blog post where we explain why we developed a new stateful system, how we implemented it, and what the benefits are. Stay tuned!

  • 11 Planetscale alternatives with free tiers
    8 projects | dev.to | 11 Apr 2024
    CockroachDB is an open source distributed SQL database designed for scalability and resilience. While it offers SQL databases, CockroachDB is also compatible with PostgreSQL.

What are some alternatives?

When comparing dgraph and cockroach you can also consider the following projects:

Hasura - Blazing fast, instant realtime GraphQL APIs on all your data with fine grained access control, also trigger webhooks on database events.

tidb - TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.

TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.

neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

go-mysql - a powerful mysql toolset with Go

vitess - Vitess is a database clustering system for horizontal scaling of MySQL.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

Did you know that Go is
the 4th most popular programming language
based on number of references?