<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Very, very cool.&nbsp; Keep this up. :-)<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: "HIROSE, Masaaki" &lt;hirose@klab.org&gt;<br>To: memcached@lists.danga.com<br>Sent: Thursday, November 1, 2007 11:38:06 PM<br>Subject: pre-release repcached (data replication patch)<br><br>
Hi!<br><br>I said "I am also working for memcached replication" before:<br><br>&nbsp; memcached replication<br>&nbsp; <a href="http://lists.danga.com/pipermail/memcached/2007-September/005155.html" target="_blank">http://lists.danga.com/pipermail/memcached/2007-September/005155.html</a><br><br>Finally, We implements all planned features and named this product<br>"repcaced".<br><br>We release pre patch at following URL and will relase first version if
 no<br>critical bug found.<br><br>&nbsp; repcached-1.0RC4-1.2.2.patch.gz<br>&nbsp; <a href="http://sourceforge.net/projects/repcached/" target="_blank">http://sourceforge.net/projects/repcached/</a><br><br>Any comments or advice or bug reports are welcome.<br><br>have fun!<br><br><br>main purpose:<br>&nbsp; - redundancy memcached system<br>&nbsp; - safe fail over<br><br>key features:<br>&nbsp; - asynchronous data repliacation.<br>&nbsp; - single master, single slave.<br>&nbsp; - support all memcached command (set, add, delete, incr/decr,
 flush_all)<br>&nbsp; - slave become master if master going down.<br>&nbsp; - whole data copy to slave automatically when new slave connect to
 master.<br><br>how to:<br>&nbsp; $ tar zxf tsng/memcached-1.2.2.tar.gz<br>&nbsp; $ cd memcached-1.2.2/<br>&nbsp; $ gzip -cd ../repcached-1.0RC4-1.2.2.patch.gz | patch -p1<br>&nbsp; $ ./configure --enable-replication<br>&nbsp; &nbsp; &nbsp; [notice: cannot set both --enable-replication and --enable-thread<br>&nbsp; &nbsp; &nbsp; [&nbsp; &nbsp; &nbsp; &nbsp; together.<br>&nbsp; $ make<br>&nbsp; # make install<br><br>&nbsp; two machines "foo" and "bar".<br><br>&nbsp; foo$ ./memcached&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (start as master)<br>&nbsp; bar$ ./memcached -x foo&nbsp;  (start as slave and connect to master(foo))<br><br>&nbsp; client set key/val to master(foo). we can get same value from
 slave(bar).<br><br>&nbsp; if master(foo) is down, slave(bar) become new master.<br><br>&nbsp; and re-start memcached at foo as slave.<br>&nbsp; foo$ ./memcached -x bar&nbsp;  (start as slave and connect to master(bar))<br><br>&nbsp; all data which master(bar) have will copy to new slave(foo), then
 master<br>&nbsp; and slave have same data.<br><br><br>-- <br>HIROSE Masaaki<br></div><br></div></div><br>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com </body></html>