The general approach is to store initial values and then changesets to those objects.
For example git has loads of immutable data (every commit, tree and blob is immutable), and only very little mutable data (the refs) that point to some of those immutable objects.
You simply wouldn't use groupcache for session data; you'd use memcached.
For example git has loads of immutable data (every commit, tree and blob is immutable), and only very little mutable data (the refs) that point to some of those immutable objects.
You simply wouldn't use groupcache for session data; you'd use memcached.