<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
Hi!<div><br class="webkit-block-placeholder"></div><div>So why implement another C client library? (since that is the first question I expect some one to ask)</div><div><br class="webkit-block-placeholder"></div><div>1) The libmemache library I was using for a while for the MySQL memcached storage engine leaks memory and after toying with it I decided I didn't want to fix it.</div><div>2) The APR one has the drawback that its the APR. I don't need/want the entire APR and I don't really want to deal with the Apache License either (great license, I use it myself, but not what I want)</div><div><br class="webkit-block-placeholder"></div><div>So I wrote one for myself :)</div><div><br class="webkit-block-placeholder"></div><div>It is BSD and implements the (I believe) full text protocol as documented, including the multi get bit. </div><div>According to Valgrind it does not leak memory (I am sure there are other bugs though). </div><div><br class="webkit-block-placeholder"></div><div>As soon as I can get my hands on the binary protocol I will implement that as well. If I am feeling bored I might write the UDP one (at the moment I don't see a need for it in what I am doing). </div><div><br class="webkit-block-placeholder"></div><div>I have also created a few utilities while I was at it:</div><div><div>memcat - Copy the value of a key to standard output</div><div>memflush - Flush the contents of your servers.</div><div>memrm - Remove a key(s) from the serrver.</div><div>memstat - Dump the stats of your servers to standard output</div><div><br></div><div>(And some thanks should go to Mark Atwood who worked on some of the client tools and has been giving me feedback on the API).</div><div><br class="webkit-block-placeholder"></div><div>What I would love:</div><div>1) Feedback on the API (especially on the leaving it up to a user to free each value coming back from multiget).</div><div>2) Patches on bugs.</div><div>3) Well... email on bugs would be nice...</div><div><br class="webkit-block-placeholder"></div><div>I'm very open to supporting the additional protocol bits other memcached like servers have implemented. The library is more tested then the tools at this point. Mark has mentioned wanting a benchmark tool and I will probably write one of those in the next few days.</div><div><br class="webkit-block-placeholder"></div><div>Homepage:</div><div><a href="http://tangent.org/552/libmemcached.html">http://tangent.org/552/libmemcached.html</a></div><div><br class="webkit-block-placeholder"></div><div>Download:</div><div><a href="http://download.tangent.org/libmemcached-0.2.tar.gz">http://download.tangent.org/libmemcached-0.2.tar.gz</a></div><div><br class="webkit-block-placeholder"></div><div>Cheers,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>-Brian<br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></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; "><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="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Brian "Krow" Aker, brian at tangent.org</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Seattle, Washington</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://krow.net/"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; ">http://krow.net</span></span></a>/                     &lt;-- Me</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://tangent.org/"><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 0, 238); -khtml-text-decorations-in-effect: underline; ">http://tangent.org</span></span></a>/                &lt;-- Software</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://exploitseattle.com">http://exploitseattle.com</a>/    &lt;-- Fun</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">You can't grep a dead tree.</div><br class="Apple-interchange-newline"></span></span> </div><br></div></body></html>