BigCache
GCache

BigCache | GCache | |
---|---|---|
1 | - | |
7,686 | 2,629 | |
0.8% | 0.3% | |
5.3 | 0.0 | |
28 days ago | 12 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.
BigCache
-
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 .
GCache
We haven't tracked posts mentioning GCache yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
cache2go - Concurrency-safe Go caching library with expiration capabilities and access counters
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
bcache - Eventually consistent distributed in-memory cache Go library
badger - Fast key-value DB in Go.
polluter - The easiest solution to seed database with Go
ledisdb - A high performance NoSQL Database Server powered by Go
goavro - Goavro is a library that encodes and decodes Avro data.
