← Back to team overview

openstack team mailing list archive

Re: Configure Rate limits on OS API

 

2011/12/29 Vishvananda Ishaya <vishvananda@xxxxxxxxx>:
> 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/


Follow ups

References