2 ms·
Here is the code for groupcache: https://github.com/golang/groupcache https://github.com/golang/groupcache There is no "distributed mode" as far as I can see.
by eternalban 7y ago
Here is the code for groupcache:
https://github.com/golang/groupcache https://github.com/golang/groupcache
There is no "distributed mode" as far as I can see. It is an in memory library for a K/V cache that you use in your code. That's it.
- boulos 7y agoThe description is somewhat clumsy (I’ll have Bradfitz update it) but “peers” allows for distributed. There are lots of things I don’t like about groupcache (e.g., immutability / need to version) but it is where the “group” part comes from.
- eternalban 7y agoCan't believe I missed that! Thanks for clarifying that.