ristretto VS go-cache

Compare ristretto vs go-cache and see what are their differences.

ristretto

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

go-cache

A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern. (by viney-shih)
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 go-cache
1 1
89 128
- -
2.0 0.0
3 months ago 9 months ago
Go Go
Apache License 2.0 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.

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.

go-cache

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

What are some alternatives?

When comparing ristretto and go-cache you can also consider the following projects:

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

depth - Visualize Go Dependency Trees

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

golang-tutorials - Golang Tutorials. Learn Golang from Scratch with simple examples.

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

Golang-PDF-to-Image-Converter - This project will help you to convert PDF file to IMAGE using golang.

ristretto - A high performance memory-bound Go cache

richgo - Enrich `go test` outputs with text decorations.

typex - [TOOL/CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.

JSON-to-Go - Translates JSON into a Go type in your browser instantly (original)

go-callvis - Visualize call graph of a Go program using Graphviz

colorgo - Colorize (highlight) `go build` command output