ristretto VS GCache

Compare ristretto vs GCache and see what are their differences.

ristretto

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

GCache

An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC (by bluele)
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 GCache
1 -
89 2,510
- -
2.0 0.0
3 months ago over 1 year 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.

GCache

Posts with mentions or reviews of GCache. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning GCache yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing ristretto and GCache 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.

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

gocache - ☔️ A complete Go cache library that brings you multiple ways of managing your caches

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

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

noms - The versioned, forkable, syncable database

ristretto - A high performance memory-bound Go cache

cache2go - Concurrency-safe Go caching library with expiration capabilities and access counters

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

badger - Fast key-value DB in Go.

Tile38 - Real-time Geospatial and Geofencing

prometheus - The Prometheus monitoring system and time series database.