[Openstack-operators] Nova API rate limiting settings

Joe Gordon joe.gordon0 at gmail.com
Tue Jun 25 23:50:56 UTC 2013


Hi all,


We are looking into changing the default values for nova API rate limiting
to be something that will work on a small (several rack) deployment.

https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/
limits.py#L225

Here are the current values:


DEFAULT_LIMITS = [

    Limit("POST", "*", ".*", 10, PER_MINUTE),

    Limit("POST", "*/servers", "^/servers", 50, PER_DAY),

    Limit("PUT", "*", ".*", 10, PER_MINUTE),

    Limit("GET", "*changes-since*", ".*changes-since.*", 3, PER_MINUTE),

    Limit("DELETE", "*", ".*", 100, PER_MINUTE),

    Limit("GET", "*/os-fping", "^/os-fping", 12, PER_HOUR),

]

What are you using in production, or do you use it at all?

Rate limiting to 10 POSTS per minute and 50 servers per day seems
*way* to low for any sort of deployment - production or otherwise.

I was thinking of changing all the values to something closer to 120
requests per minute for everything, what do you, the operators, think?

best,
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130625/83e8690e/attachment.html>


More information about the OpenStack-operators mailing list