ristretto
go-cache
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 |
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
-
A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.
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
-
A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.
Write a flexible multi-layered caching library interacts with private (in-memory) cache and shared cache (i.e. Redis) in Go ( https://github.com/viney-shih/go-cache ). It provides `Cache-Aside` strategy when dealing with both. But more advanced, it maintains the consistency of private cache between distributed systems by `Pub-Sub` pattern.
What are some alternatives?
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