[Openstack-operators] Nova API rate limiting

Tim Bell Tim.Bell at cern.ch
Thu Jun 27 05:57:25 UTC 2013


+1

 

What are the limits in the other components ? It would be good to be consistent, so we don't end up with high limits on Nova leading
to hitting the limits on keystone or glance.

 

Tim

 

From: Matt Joyce [mailto:matt.joyce at cloudscaling.com] 
Sent: 26 June 2013 23:31
To: Joe Gordon
Cc: openstack-operators at lists.openstack.org
Subject: Re: [Openstack-operators] Nova API rate limiting

 

+1

 

On Wed, Jun 26, 2013 at 1:34 PM, Joe Gordon <joe.gordon0 at gmail.com <mailto:joe.gordon0 at gmail.com> > wrote:

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/
<https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/limits.py#L225> 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


_______________________________________________
OpenStack-operators mailing list
OpenStack-operators at lists.openstack.org <mailto:OpenStack-operators at lists.openstack.org> 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130627/bf0420d0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5215 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130627/bf0420d0/attachment.bin>


More information about the OpenStack-operators mailing list