gocache VS ristretto

Compare gocache vs ristretto and see what are their differences.

gocache

☔️ A complete Go cache library that brings you multiple ways of managing your caches (by eko)

ristretto

A high performance memory-bound Go cache (by dgraph-io)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
gocache ristretto
2 19
2,221 5,299
- 1.3%
6.1 6.1
2 days ago 21 days ago
Go Go
MIT License Apache License 2.0
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.

gocache

Posts with mentions or reviews of gocache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-27.

ristretto

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

What are some alternatives?

When comparing gocache and ristretto you can also consider the following projects:

ttlcache - An in-memory cache with item expiration and generics [Moved to: https://github.com/jellydator/ttlcache]

go-cache-benchmark - Cache benchmark for Golang

golang-set - A simple, battle-tested and generic set type for the Go language. Trusted by Docker, 1Password, Ethereum and Hashicorp.

BigCache - Efficient cache for gigabytes of data written in Go.

gota - Gota: DataFrames and data wrangling in Go (Golang)

stretto - Stretto is a Rust implementation for Dgraph's ristretto (https://github.com/dgraph-io/ristretto). A high performance memory-bound Rust cache.

fsm - Finite State Machine for Go

moka - A high performance concurrent caching library for Rust

null - Nullable Go types that can be marshalled/unmarshalled to/from JSON.

parquet-go - Go library to read/write Parquet files

mspm - Multi-String Pattern Matching Algorithm Using TrieNode

IceFireDB - @IceFireLabs -> IceFireDB is a database built for web3.0 It strives to fill the gap between web2 and web3.0 with a friendly database experience, making web3 application data storage more convenient, and making it easier for web2 applications to achieve decentralization and data immutability.