ristretto
fastcache
ristretto | fastcache | |
---|---|---|
1 | 3 | |
89 | 1,996 | |
- | 1.6% | |
2.0 | 3.4 | |
3 months ago | 6 months ago | |
Go | Go | |
Apache License 2.0 | MIT License |
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.
fastcache
-
Ask HN: Who wants to be hired? (June 2023)
https://github.com/fmstephe/P2P-Distributed-Sat-Solver
Here is an example of a bug-fix I made to an existing open source project https://github.com/VictoriaMetrics/fastcache/pull/17
-
fastcache VS directcache - a user suggested alternative
2 projects | 16 Jun 2022
-
Implementing robust in-memory cache with Go
If serialization is not a problem fastcache is the best for its outstanding memory usage.
What are some alternatives?
go-cache - A flexible multi-layer Go caching library to deal with in-memory and shared cache by adopting Cache-Aside pattern.
BigCache - Efficient cache for gigabytes of data written in Go.
GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC
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
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
ristretto - A high performance memory-bound Go cache
buntdb - BuntDB is an embeddable, in-memory key/value database for Go with custom indexing and geospatial support
dgraph - The high-performance database for modern applications
bolt
tidb - TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.