OOh! Many thanks, though, after reading I think I have a simpler idea:
Instead of incrementing that namespaces, I though another aproach:
Just, prior to get anything from cache, get the 'namespace' data and
ignore its content, just see if exists or not.
if it exists, then you can proceed to gather the cache data you need
if not, then recreate the cache with the data you have (from DB,
etc...)
To invalidate, remove that key
As I see it, only race condition is posible at the time to invalidate
the namespace and the effect of that race condition is not that
important.
Thanks for the tip :)
> Brian.
http://brian.moonspot.net