ristretto VS gocache

Compare ristretto vs gocache and see what are their differences.

ristretto

A high performance memory-bound Go cache (by outcaste-io)

gocache

☔️ A complete Go cache library that brings you multiple ways of managing your caches (by eko)
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
ristretto gocache
1 2
89 2,263
- -
2.0 6.6
3 months ago 5 days ago
Go Go
Apache License 2.0 MIT License
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.

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 2022-06-12.
  • A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.
    2 projects | /r/golang | 12 Jun 2022
    I think the non-guarantee is in respect to tinylfu acting as a filter, so a new arrival may be immediately discarded. However, if all writes go through this buffer then an update and create are delayed within the hash table. The rational was performance in a microbenchmark to flip the behavior for publishing an article. I recall them admitting it was a mistake due to the surprises it caused and that they hoped to later change it back. You can ask on their new github and maybe send a pr.

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.

What are some alternatives?

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

go-cache - A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.

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

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

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

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

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

ristretto - A high performance memory-bound Go cache

fsm - Finite State Machine for Go

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

mspm - Multi-String Pattern Matching Algorithm Using TrieNode

go-mcache - Fast in-memory key:value store/cache with TTL

boomfilters - Probabilistic data structures for processing continuous, unbounded streams.