[Openstack] Configure Rate limits on OS API

Soren Hansen soren at linux2go.dk
Mon Jan 2 11:27:28 UTC 2012


2011/12/29 Vishvananda Ishaya <vishvananda at gmail.com>:
> 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
> --use_forwarded_for
> flag to get things like metadata to work.

I can't think of any reason we can't just fork() N times (where N
defaults to number of cores, but could be overridden by a flag) after
socket.listen(), but before we go into the socket.accept() loop?

-- 
Soren Hansen        | http://linux2go.dk/
Ubuntu Developer    | http://www.ubuntu.com/
OpenStack Developer | http://www.openstack.org/




More information about the Openstack mailing list