BigCache VS cockroach

Compare BigCache vs cockroach and see what are their differences.

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
BigCache cockroach
1 109
7,673 30,461
0.6% 0.5%
5.3 10.0
19 days ago about 24 hours ago
Go Go
Apache License 2.0 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.

BigCache

Posts with mentions or reviews of BigCache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-29.
  • Recommendation for Key/Value storage
    9 projects | /r/golang | 29 Dec 2021
    There are also different packages used as a wrapper on top of the Go map based on what your requirements are (storing a lot of data) https://github.com/allegro/bigcache or (need performance) https://github.com/dgraph-io/ristretto. For basic use-cases, the standard Go map should be enough. Just keep in mind whether you need concurrent access to your data structure, in which case you should guard your map with a mutex .

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-03.
  • 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.
  • 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

What are some alternatives?

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

go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.

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

GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC

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

groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

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

fastcache - Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead

yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

ristretto - A high performance memory-bound Go cache

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

badger - Fast key-value DB in Go.

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

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?