Re: Memcache set and get command. Are they atomic?

2008-12-29 Thread dormando
> > Yeah, other search results are probably about get+set sequence, so > > seems that i have somewhat exaggerated confusion about memcache > > atomicity, sorry. > > > > Still, i think this simple question should be in memcached faq. > > Agreed -- it needs to be clear. > Is now: http://code.goog

Re: Memcache set and get command. Are they atomic?

2008-10-04 Thread Dustin
On Oct 4, 9:53 pm, "Kevac Marko" <[EMAIL PROTECTED]> wrote: > On Sun, Oct 5, 2008 at 8:29 AM, Dustin <[EMAIL PROTECTED]> wrote: > > >  The first search result I found *implied* they were talking about a > > ``get [something] set'' sequence isn't atomic. > > >  Are there particular places you're l

Re: Memcache set and get command. Are they atomic?

2008-10-04 Thread Kevac Marko
On Sun, Oct 5, 2008 at 8:29 AM, Dustin <[EMAIL PROTECTED]> wrote: > > The first search result I found *implied* they were talking about a > ``get [something] set'' sequence isn't atomic. > > Are there particular places you're looking? > > If people believe this, we should work to correct them.

Re: Memcache set and get command. Are they atomic?

2008-10-04 Thread Dustin
On Oct 4, 8:18 pm, Marko Kevac <[EMAIL PROTECTED]> wrote: > I understand that and i know it by experience, but had stumbled upon > presentation in which it is said that get and set aren't atomic. > So i asked google to be sure and almost every link said that they > aren't atomic (try it for your

Re: Memcache set and get command. Are they atomic?

2008-10-04 Thread Marko Kevac
On Oct 5, 12:02 am, Dustin <[EMAIL PROTECTED]> wrote: >   Depends on what you mean.  get is atomic and set is atomic, but you > can't do an atomic get+set (though CAS will allow you to emulate it). I mean just what i said :-) get and set separately, not together >   No two sets for the same key

Re: Memcache set and get command. Are they atomic?

2008-10-04 Thread Dustin
On Oct 4, 9:28 am, Marko Kevac <[EMAIL PROTECTED]> wrote: > Hello. > > Simple question, so simple answer pls. > > Are get and set commands atomic? Depends on what you mean. get is atomic and set is atomic, but you can't do an atomic get+set (though CAS will allow you to emulate it). No two

Re: Memcache set and get command. Are they atomic?

2008-10-04 Thread Boris Partensky
That was my answer exactly :). Word to word. On Sat, Oct 4, 2008 at 1:20 PM, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > Yes. > > > > > On Oct 4, 2008, at 11:28 AM, Marko Kevac <[EMAIL PROTECTED]> wrote: > > >> Hello. >> >> Simple question, so simple answer pls. >> >> Are get and set commands ato

Re: Memcache set and get command. Are they atomic?

2008-10-04 Thread Jeremy Dunck
Yes. On Oct 4, 2008, at 11:28 AM, Marko Kevac <[EMAIL PROTECTED]> wrote: Hello. Simple question, so simple answer pls. Are get and set commands atomic?

Memcache set and get command. Are they atomic?

2008-10-04 Thread Marko Kevac
Hello. Simple question, so simple answer pls. Are get and set commands atomic?