<div dir="ltr"><br><br><div class="gmail_quote">2011/9/23 Valery Reznic <span dir="ltr"><<a href="mailto:valery_reznic@yahoo.com">valery_reznic@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi, All.</div><div><br></div><div>I need to setup license server and looking for advice what hardware/software to use<br>
</div><div><br></div><div>General schema is following:</div><div><br></div><div>There are about 20K clients all of them periodically (let say once a week) query license server for license via https<br></div><div>I'll try my best to spread all those requests over the week, but in worse case scenario all those 20K request can came during 1hour,</div>
<div>spread relative evenly i.e about 6 request/sec</div><div><br></div><div>When license server get request it query database ~20K records with 2-3 small fields, generate license and return it to client.</div><div><br></div>
<div>License generation is light - md5sum of the very small input ( few hundreds bytes)</div><div><br></div><div>I think use following
software for it<br></div><div><br></div><div>1. CentOS 6<br></div><div>2. Apache with mod_python</div><div>3. Mysql</div><div><br></div><div>My questions about software are:</div><div>1. License server software is likely to be written in python, hence mod_python.</div>
<div> If I'll use python as CGI instead of Apache module, will it result in significant performance drop?</div></div></div></blockquote><div> </div><div>CGI is preferrable to my POV. </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt"><div>2. How configure apache - what is reasonable settings for MaxClient parameter?</div><div> Any other important settings?<br>
</div></div></div></blockquote><div> </div><div>MaxClient 10 will be good starting point </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt">
<div></div><div><br></div><div>3. Use Mysql or Postgres? Or something else?</div></div></div></blockquote><div><br></div><div>Anything you know good. DB don't seem to be bottleneck in this case.</div><div>Note, NOSQL is trendy those days. If it meets your requests MongoDB have nice Python bindings.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt">
<div> how much memory?</div><div> disk spaces?</div><div><br></div><div>2. What hosting company to buy this server from?</div><div><br></div></div></div></blockquote><div>Begin with some known VPS provider, Linode, RackSpace etc.. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt">
<div></div><div>Do you have any experience or
suggestions to share?</div></div></div></blockquote><div><br></div><div>Prototype, run simulations, and then you'll know demands better.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div><div>Thank you,</div><div>Valery.<br></div><div></div></div></div><br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>So long, and thanks for all the fish.<br>
</div>