fastcache
Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead (by VictoriaMetrics)
BigCache
Efficient cache for gigabytes of data written in Go. (by allegro)
fastcache | BigCache | |
---|---|---|
3 | 1 | |
2,190 | 7,747 | |
0.9% | 1.0% | |
2.3 | 5.3 | |
9 months ago | 2 months ago | |
Go | Go | |
MIT License | 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.
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.
fastcache
Posts with mentions or reviews of fastcache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-01.
-
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.
BigCache
Posts with mentions or reviews of BigCache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-29.
-
Recommendation for Key/Value storage
There are also different packages used as a wrapper on top of the Go map based on what your requirements are (storing a lot of data) https://github.com/allegro/bigcache or (need performance) https://github.com/dgraph-io/ristretto. For basic use-cases, the standard Go map should be enough. Just keep in mind whether you need concurrent access to your data structure, in which case you should guard your map with a mutex .
What are some alternatives?
When comparing fastcache and BigCache you can also consider the following projects:
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
nscache - A Go caching framework that supports multiple data source drivers
GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.