minicache
Distributed cache with client-side consistent hashing, distributed leader-elections, and dynamic node discovery. Supports both REST and gRPC interfaces secured with mTLS. (by danielvegamyhre)
groupcache
Clone of golang/groupcache with TTL and Item Removal support (by mailgun)
minicache | groupcache | |
---|---|---|
4 | 4 | |
281 | 453 | |
- | 0.9% | |
0.0 | 1.5 | |
over 1 year ago | 9 days 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.
minicache
Posts with mentions or reviews of minicache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-14.
groupcache
Posts with mentions or reviews of groupcache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-02.
-
A Kubernetes cache
You can use https://github.com/mailgun/groupcache as a sidecar in your application and use Kubernetes services as the discovery mechanism.
-
Seeking feedback on my first big Go project - minicache: a distributed cache with client-side consistent hashing, arbitrary cluster sizes, support for both HTTP/gRPC interfaces, secured with mTLS
I'm the current maintainer of https://github.com/mailgun/groupcache
-
In-memory caching solutions
I use a fork of Google's groupcache by mailgun in production mostly to cache api requests in memory as protocol buffers. Google's implmentation is strictly a victim cache whereas the fork allows you to expire or delete keys from the cache which is important for me sepcifc usecase but it works quite well https://github.com/mailgun/groupcache
What are some alternatives?
When comparing minicache and groupcache you can also consider the following projects:
GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC
encoding - Go package containing implementations of efficient encoding, decoding, and validation APIs.
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
ristretto - A high performance memory-bound Go cache
redis-operator - Redis Operator creates/configures/manages high availability redis with sentinel automatic failover atop Kubernetes.
gf - GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
holster - A place to keep useful golang functions and small libraries