Hi I am evaluating memcached for my DB performance / scalability. For my purposes Data Correctness is Key constraint.
I have potential problem of Data getting stale ( cache inconsistency coherency ) because I have multiple readers and writers on the same data set. Q1: Is memcached only suitable for data where correctness MUST not be important ? Q2 : Is it possible for me to reliably enforce cache consistency in memcached ? Are there any lock / unlock apis available for C++ in memcached framework ? Q3 : What if my cache invalidation / removal fails ? Again I need locks for that so that I restrict my readers ? and many other related issues. Please provide pointers. Regards, Gaurav Jain
