-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
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 see the global state is the obvious roadblock for that scenario.
So I started to sketch a change to allow recreation of groupcache resources. I am keeping existing APIs unchanged and adding some alternative APIs with support for an extra argument for explicit state ("workspace") provided by the caller. Hence the caller would be able to drop references to workspace in order to allow the garbage collector to get rid of its resources.
Draft PR: #65
What do you think? Would this be generally useful for a wider audience?
Cheers,
Everton
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels