Groupcache: an alternative to memcached, written in Go
I want to use this, but since the keys are immutable, how can I store data like sessions which can change and would sometimes have to be invalidated from the server side (i.e. you can't simply change the session ID in the cookie and use a new cache entry, because bad-guy could still be holding on to an old stolen session ID)?In general, how can one learn to think in an immutable fashion to effectively exploit this?