<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Nov 15, 2007, at 14:33 , Rakesh Rajan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><span style="white-space: pre;"></span>If you want to play with it, I can help you get it up and running. </div></div></blockquote><div>&nbsp;</div><div>Yups, I would love to take a look at this. Could you point me to any resource to set it up ?<br></div></div></blockquote><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>My latest tree is always here:<br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><span class="Apple-tab-span" style="white-space:pre">        </span><a href="http://hg.west.spy.net/hg/hacks/memcached-binary-full/archive/tip.tar.gz">http://hg.west.spy.net/hg/hacks/memcached-binary-full/archive/tip.tar.gz</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><br class="webkit-block-placeholder"></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; "><span class="Apple-tab-span" style="white-space:pre">        </span>It doesn't have the very latest CAS stuff from the last couple of days, and it is failing a CAS unit test right now since I've started work on updating it with recent changes, so I'd say it's about three days behind memcached trunk and with one remaining bug.<br class="webkit-block-placeholder"></div></div><br><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><div><blockquote type="cite"><div class="gmail_quote"><div><span class="Apple-style-span" style="-webkit-text-stroke-width: -1; ">I think I was not clear in putting my point across. Let me explain with an example</span></div></div></blockquote></div></div></div></blockquote><div><br><b>Case 1:</b><br><br>&nbsp; Set&lt;Integer&gt; idSet&nbsp; = new HashSet&lt;Integer&gt;() {{add(1); add(2); add(3) } }; <br>&nbsp; cache.set("test1",idSet); <br><br>In this case the collection's serialized  version would be stored ( without any optimization ).<br><br><b>Case 2:</b><br><br>Class A implement Serializable {<br>&nbsp;&nbsp; int a ; <br>&nbsp;&nbsp; float b ;<br>&nbsp;&nbsp; Date now ;<br>}<br>cache.set("test2",new A());&nbsp; <br><br>Again the individual members in this class would not be compressed. Atleast in this case I can think of making this class implement Externalizable and perform the compression of the individual class member, if possible. </div></div></blockquote><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Ah, yes. &nbsp;I haven't considered doing anything with that, but it doesn't sound too hard. &nbsp;It'd need to recurse on my transcoder, though, and I'd have to deal with cycle suppression. &nbsp;That's pluggable, though, so an experimental transcoder could easily co-exist with the current one.</div><div><br class="webkit-block-placeholder"></div><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><span style="white-space: pre;"></span>1.2.4 is imminent, but isn't a particularly exciting release for me. </div></div></blockquote><div>&nbsp;</div><div>Hmm.. This is surprising. I was greatly looking forward for features like 64 bit counter, atomic operations, tags :)&nbsp; The feature that I am really waiting for is atomic operations. Currently the memcache code that I have written are not "thread-safe" ( concurrent read and write ). So hoping that java library would start supporting CAS soon. <br> </div></div></blockquote><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Well, tags aren't there yet, but yeah, some of the other stuff is marginally interesting to me, but I'm mostly interested in some of the 1.3 stuff. &nbsp;I think we'll be able to do some really nice stuff.</div><div><br class="webkit-block-placeholder"></div><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 style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><div>--&nbsp;</div><div>Dustin Sallings</div></div><br class="Apple-interchange-newline"></span> </div><br></body></html>