On 2/3/11 11:40 PM, Roberto Spadim wrote:

LOCK (create a key-value, always return value)
UNLOCK (delete key-value, if key-value=sent(key-value) delete, return
before delete value, if not exist return blank or null)

that's it easy not?

What happens when the server holding the lock value is rebooted? Or needs to evict values from memory? For memcache's real purpose those things don't affect operation because the client will reload the correct values on the next access. Where is the persistent backing store for this value?

> timeout could work too (it's key-value based)

Memcache is a cache, not a key-value store.

--
  Les Mikesell
   lesmikes...@gmail.com

Reply via email to