"YOU AND THE ART OF ONLINE DATING" is the only product on the market that will take you step-by-step through the process of online dating, provide you with the resources to help ensure success. Get it now!
I believe the memcache client is synchronous, but the replication is async, so if you are using replication perhaps the value is being written to one server and read from another before the replication completes. If you are using replication, see if you can reproduce the error without replication.
Up vote 0 down vote favorite share g+ share fb share tw.
We're using memcached from PHP. I've been trying to figure out why we're seeing some issues where memcached doesn't seem to be updating. Can you think of any reason why a call to memcache->replace() wouldn't actually update the object?
We're simply calling memcache->replace() on an array type object. The array does contain a lot of data, though I don't think we're exceeding the 1MB cap. The failure seems to happen intermittently.
Most of the time it works but the occasional times it doesn't are a big deal to us. Also, does memcached execute synchronously or could it be asynchronous? If it's asynchronous, there could be a race condition at work here.
Memcached link|improve this question asked Nov 3 '10 at 15:12weotch587214 82% accept rate.
The semantics around replace allow it to fail if you're not overwriting data -- no data in particular, just some data. If you want to overwrite specific data, use cas. If you just want to store data, use set.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.