On Jul 30, 2007, at 20:01 , John.H wrote:

I have two clients, one is runing 'set' keys only,another is 'get' keys only. My question is will the two operation conflict when the two client 'set' and 'get' the same key at the same time?

Conflict in what way? If you don't have deterministic ordering on your operations, you won't have predictable results, but the cache will be internally consistent.

Under classic memcached, no two operations are executed at the same time (it's single-threaded). I don't fully understand the new multi- threaded code, but it's probably safe to assume that no two operations touch the same cache element at the same time.

--
Dustin Sallings


Reply via email to