yugabyte-db VS cockroach

Compare yugabyte-db vs cockroach and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
yugabyte-db cockroach
91 101
8,580 29,373
1.1% 1.0%
10.0 10.0
4 days ago 4 days ago
C 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.

yugabyte-db

Posts with mentions or reviews of yugabyte-db. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-02.
  • Crash on clock skew: performance vs availability
    1 project | dev.to | 11 May 2024
    In a distributed database, NTP synchronization is essential and should be carefully monitored and fixed in case of any failures. To allow some time drift, a maximum clock skew is set. This skew should be kept low enough for performance to avoid too many read retries and high enough for availability to avoid any node evictions caused by network errors. It is a good idea to check the NTP synchronization when starting a YugabyteDB node. This will be implemented by 22255.
  • Advisory/Custom/Application Lock with YugabyteDB
    1 project | dev.to | 9 May 2024
    Different ways exist to implement locking mechanisms on arbitrary values. For example, PostgreSQL provides pg_advisory_lock, MySQL has get_lock, Oracle Database offers dbms_lock, and SQL Server use sp_getapplock. For YugabyteDB, the PostgreSQL version is not currently supported (#3642).
  • A lightweight YugabyteDB docker image for CI/CD
    1 project | dev.to | 7 May 2024
    When it comes to production, it is recommended to use the official docker image for YugabyteDB. You can either obtain it from Docker Hub or build it yourself using the Dockerfile. If you are using CI/CD pipelines, it may be helpful to reduce the size of the image. One way to do this is to remove the debug symbols from the compiled binaries. These symbols are useful for troubleshooting but not essential for automated testing. If you encounter any issues, you can easily reproduce them using the regular image.
  • Multi-region YugabyteDB deployment on AWS EKS with Istio
    3 projects | dev.to | 2 May 2024
    YugabyteDB is a transactional database that brings together four must-have needs of cloud native apps – namely SQL as a flexible query language, low-latency performance, continuous availability, and globally-distributed scalability. Other databases do not serve all 4 of these needs simultaneously.
  • Best Practice: use the same datatypes for comparisons, like joins and foreign keys
    1 project | dev.to | 1 Feb 2024
    It is possible to apply Batched Nested Loop but with additional code that checks the range of the outer bigint and compare it only if it matches the range of integer. This has been added in YugabyteDB 2.21 with #20715 YSQL: Allow BNL on joins over different integer types to help migrations from PostgreSQL with such datatype inconsistencies.
  • Jonathan Katz: Thoughts on PostgreSQL in 2024
    3 projects | news.ycombinator.com | 2 Jan 2024
    It can be done like https://github.com/yugabyte/yugabyte-db/ has.
  • Is co-partition or interleave necessary in Distributed SQL?
    1 project | dev.to | 6 Nov 2023
    Therefore, interleaving or co-partitioning is probably not necessary, and would reduce agility and scalability more than improving the performance. Unless you have a good reason for it that you can share on Issue #79. But, first, test and tune the queries to see if you need something else.
  • PostGIS on YugabyteDB Alma8 (workarounds)
    2 projects | dev.to | 3 Oct 2023
    This is a workaround, not supported. I've opened the following issue to get it solve in the YugabyteDB deployment: https://github.com/yugabyte/yugabyte-db/issues/19389
  • Bitmap Scan in YugabyteDB
    1 project | dev.to | 21 Sep 2023
    Note that there may still be a need for bitmaps, especially with disjunctions (OR) as the following is about conjunction (AND), and it can still be implemented, differently than PostgreSQL. This is tracked by #4634.
  • Yugabyte – distributed PostgreSQL, 100% open source
    1 project | news.ycombinator.com | 6 Sep 2023

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 2024-06-12.
  • 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.
  • A MySQL compatible database engine written in pure Go
    10 projects | news.ycombinator.com | 9 Apr 2024
    cockroachdb might be close: https://github.com/cockroachdb/cockroach
  • No More Free Tier on PlanetScale, Here Are Free Alternatives
    3 projects | dev.to | 8 Mar 2024
    CockroachDB - SQL
  • Is it bad to create a publicly accessible RDS database for my serverless web app?
    2 projects | /r/aws | 11 Aug 2023
    For example, when you create a serverless postgres database with a platform like CockroachDB or Neon, you effectively get a connection string with a strong password. Anyone can connect to your database from anywhere so long as they have the right connection string. There are no security settings in these services to change this behavior.
  • Linux surpasses the Mac among Steam gamers
    2 projects | news.ycombinator.com | 4 Aug 2023
    > Yes you can on the android emulator. The biggest issue is compu arch in that case.

    I can also download VirtualBox and run all Windows programs, that would mean that all Windows apps are Linux apps?

    > Yes you can for the most part

    You can't statically link glibc: https://github.com/cockroachdb/cockroach/issues/3392

    glibc can break stuff: https://www.gamingonlinux.com/2022/08/valve-dev-understandab...

    I had binaries break because the newer version if openssl was put under a slightly different name.

  • How do small SaaS's handle databases?
    2 projects | /r/SaaS | 11 Jul 2023
    Also, worth noting, if you're already using PostgreSQL (or plan to) you might want to take a look at https://www.cockroachlabs.com/ they have a free tier too and CockroachDB has a PostgreSQL interface.
  • Go Dependency management in large company projects - How do you do it?
    5 projects | /r/golang | 8 Jul 2023
    I know that some projects like cockroach use custom build tools like bazel. But we actually really like to use to be able to build our projects simply with the great go toolchain and don't really aim to dive deep into custom build solutions.
  • Eli5: Why do companies use the products of Oracle to store information, when they can just use spreadsheets like Excel, or make their own spreadsheet software?
    1 project | /r/explainlikeimfive | 28 May 2023
    CockroachDB is designed to be globally distributed. It has to handle causality when resolving collisions. It has to account for having a write operation to arrive after another and still have time priority because it was sent out a few milliseconds earlier.
  • rage - a minimalistic load testing tool
    2 projects | /r/golang | 27 May 2023
    Cockroachdb created a go runtime patch which measures the Grunning time of a goroutine: https://github.com/cockroachdb/cockroach/pull/82356. It doesn't entirely solve the problem though.

What are some alternatives?

When comparing yugabyte-db and cockroach you can also consider the following projects:

citus - Distributed PostgreSQL as an extension

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

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

psycopg2 - PostgreSQL database adapter for the Python programming language

tidb - TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/

realtime - Broadcast, Presence, and Postgres Changes via WebSockets

Trino - Official repository of Trino, the distributed SQL query engine for big data, former

Apache AGE - Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL. [Moved to: https://github.com/apache/age]

InfluxDB - Scalable datastore for metrics, events, and real-time analytics

postgres-ha - Postgres + Stolon for HA clusters as Fly apps.

rqlite - The lightweight, distributed relational database built on SQLite.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured