<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Agreed.&nbsp;<div><br class="webkit-block-placeholder"></div><div>Does "gets" only assign when called at that point the 64 bit&nbsp;unique&nbsp;value, or are you setting every object that is cache a unique identifier?</div><div><br class="webkit-block-placeholder"></div><div>Is your prototype in python or patched diff against trunk?&nbsp;<br><div contenteditable="false"> <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; "><br class="Apple-interchange-newline"><div><br class="khtml-block-placeholder"></div><div>Chris Goffinet</div><div><a href="mailto:goffinet@yahoo-inc.com">goffinet@yahoo-inc.com</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span> </div><br><div><div>On Sep 8, 2007, at 1:12 AM, Dustin Sallings wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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?&nbsp;<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.&nbsp; 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>--&nbsp;</div><div>Dustin Sallings</div><br class="Apple-interchange-newline"></span> </div><br></div></blockquote></div><br></div></body></html>