groupcache icon indicating copy to clipboard operation
groupcache copied to clipboard

Clone of golang/groupcache with TTL and Item Removal support

Results 17 groupcache issues
Sort by recently updated
recently updated
newest added

When there are more than 2 nodes, the `hotCache` is never updated when using the `Set()` method. Added a test which triggers the bug (you can test it by removing...

Hi! Is there any publicly available code for easily exposing groupcache metrics for Prometheus? I am sketching up the package below, but maybe I am reinventing the wheel here?! Please...

This WIP change moves global state to explicit variable in order to allow recreation of groupcache resources without application restart.

Hi, I have a use case for, while not restarting the application, bringing down groupcache allocated resources (let the GC release them), then recreate those resources with new configurations. I...

Thank you for providing your updated version! Do you think it is possible to implement a safe Redis SetNX() equivalent (only set(), if the key does not exist)? How would...

The [Protobuf API](https://pkg.go.dev/github.com/golang/protobuf/proto) used in this project is already outdated and cannot be used for Protobuf definitions that are compiled using a recent version of `protoc-gen-go` which uses [this package](https://pkg.go.dev/google.golang.org/protobuf/proto)...

### Proposal When a requested value is not found in the local or hot cache within `groupcache`, the system performs a consistent hash on the key to determine which instance...

While the LRU package has the ability to purge all items from cache, this functionality was not available to `ProtoGetter`, making it imposibile to clear the cache without restarting all...

Can you update a key's value directly? Or have to delete the key first, then set "key: new value"?

` func NewGroupCacheHandler(cfg *viper.Viper) (*GroupCacheHandler, error) { var ( endpoint = cfg.GetString("storage.kv.groupcache.endpoint") ports = cfg.GetStringSlice("storage.kv.groupcache.ports") cacheTTL = cfg.GetInt64("storage.kv.groupcache.cacheTTL") cacheServers []*http.Server group *groupcache.Group ) var kvHandler KVHandler var getterFunc groupcache.GetterFunc kvType...