add vs set
Jehiah Czebotar
jehiah at gmail.com
Tue Jul 31 15:06:07 UTC 2007
If you have an item with key K in the cache already, then an ADD
operation on K will fail because it's already there. (an add operation
only succeeds when that key does not already exist). A set operation
will always succeed overwriting the existing value if any.
The speed of both should be the same.
--
Jehiah
On 7/31/07, Hanson Char <hanson.char at gmail.com> wrote:
> If an item with key K already exists in memcached, would an add
> operation of the same key K be faster than a set operation in general
> ?
>
> Hanson
>
More information about the memcached
mailing list