News for hackers. Stuff that matters.
Re:Groupcache: an alternative to memcached, written in Go by JulianMorrison on Monday July 29, 2013 @03:07PM (#6123162)
So your key is key + transaction ID, where the transaction ID is simply a value that changes when the data changes. You search the cache with the current value of the ID, and if the data changed the cache entry will be regenerated.

An example of a good transaction ID would be SHA1(data).

There are no comments on this comment yet.