<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Sep 8, 2007, at 1:07, Chris Goffinet wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">So with every object having a 64 bit unique value, if I call gets, I retrieve a value for the object (unique value), then send memcache this old value (64 bit unique), new value (new update of object) and if the unique is still the same for object, it will push the change? <BR class="khtml-block-placeholder"></SPAN></BLOCKQUOTE><BR></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>Right, that's the idea. Otherwise, it'll tell you that the key has expired (or otherwise gone missing) or that it's changed since you last looked at it.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>gets gives you both the value and the value identifier at the same time (otherwise, there wouldn't be much of a point).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>The regular get operation(s) could potentially return the same thing, but it would require protocol extensions that may confuse clients in the ascii protocol, and would definitely do so in the binary protocol.</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- </DIV><DIV>Dustin Sallings</DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>