<br><br><div class="gmail_quote">On Tue, Oct 19, 2010 at 11:19 AM, DJB International <span dir="ltr"><<a href="mailto:djbinter@gmail.com">djbinter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Thank you, Rupa. I will try to change it to hash and see what happen.<div><br></div><div>Just curiosity, is there any advantage/disadvantage using hash vs. db. I am currently not doing any cluster. I picked mod_db because it was mentioned first in the Wiki/Limit :) <br>
</div></blockquote><div><br></div><div>If you aren't clustered, always choose hash.</div><div><br></div><div>If you are clustered then you want to choose between db and um... whatever mod_redis provides (distributed hash). </div>
<div><br></div><div>hash is fast, but non persistent and can't be shared between FS instances (clustered).</div><div>db is slow, persistent and can be shared</div><div>redis is slower than hash but faster than db and can be shared. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<div><br></div><div>Dorn.<div><div></div><div class="h5"><br><br></div></div></div></div></blockquote></div>-- <br>-Rupa<br>