View Single Post
  #36 (permalink)  
Old 04-29-2008, 11:36 PM
Jeyaseelansarc Jeyaseelansarc is offline
D-Web Genius
 
Join Date: Mar 2007
Location: Chennai
Posts: 1,162
Jeyaseelansarc is on a distinguished road
Send a message via AIM to Jeyaseelansarc
Default Re: Why we need Memcache?

<command name> is "set", "add", "replace", "append" or "prepend"

"set" means "store this data".

"add" means "store this data, but only if the server *doesn't* already
hold data for this key".

"replace" means "store this data, but only if the server *does*
already hold data for this key".

"append" means "add this data to an existing key after existing data".

"prepend" means "add this data to an existing key before existing data".

The append and prepend commands do not accept flags or exptime.
They update existing data portions, and ignore new flag and exptime
settings.

"cas" is a check and set operation which means "store this data but
only if no one else has updated since I last fetched it."
__________________
With,
J. Jeyaseelan

Everything Possible
Reply With Quote