<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">In addition to the rate limiting changes, you can also run multiple copies of nova-api on different ports and put a load balancer (like ha-proxy) in front. You may have to set up your proxy to add an X-Forwarded-For header and specify the<div>--use_forwarded_for</div><div>flag to get things like metadata to work.<br><div><br></div><div>Vish</div><div><br><div><div>On Dec 21, 2011, at 4:38 PM, Huang Zhiteng wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="">I have a relevant question about API throughput.  I'm using Diablo release version and I found out that there's only one process of nova-api to handle all API requests from even different users.  That results very low (<10) API throughput (definition: API requests handled per second).  Similar symptom was observed back in Cactus release.  <div>
<br></div><div>Is there anyway to configure API service to run in multi-threaded mode so that it can utilize multi-core hardware?  I'd really appreciate if anyone can also shed some light on why Nova API was designed to work in this way.  Thank you in advance.</div>
<div></div></span><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 3:28 AM, Day, Phil <span dir="ltr"><<a href="mailto:philip.day@hp.com">philip.day@hp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">Hi Folks,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Is there a file that can be used to configure the API rate limits for the OS API on a per user basis ?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I can see where the default values are set in the code, but it looks as if there should be a less brutal configuration mechanism to go along with this ?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thanks<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888"><p class="MsoNormal">Phil <u></u><u></u></p>
</font></span></div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Huang Zhiteng<br>
_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></div></body></html>