[openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

Joshua Harlow harlowja at yahoo-inc.com
Fri Jul 26 00:24:35 UTC 2013


You mean process/forking API right?

Honestly I'd sort of think the whole limits.py that is this rate-limiting could also be turned off by default (or a log warn message occurs) when multi-process nova-api is used since the control for that paste module actually returns the currently enforced limits (and how much remaining) and on repeated calls to different processes those values will actually be different . This adds to the confusion that this rate-limiting in-memory/process solution creates which does also seem bad.

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

Maybe we should not have that code in nova in the future, idk.

-Josh

From: <Day>, Phil <philip.day at hp.com<mailto:philip.day at hp.com>>
Reply-To: OpenStack Development Mailing List <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Date: Thursday, July 25, 2013 9:07 AM
To: OpenStack Development Mailing List <openstack-dev at lists.openstack.org<mailto:openstack-dev at lists.openstack.org>>
Subject: Re: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

+1 to turning it off.  Having something that doesn’t really work on by default now we have a threaded API is just wrong

From: Rosa, Andrea (HP Cloud Services)
Sent: 25 July 2013 09:35
To: OpenStack Development Mailing List
Subject: Re: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

I’d like to turn it off by default, as already pointed in [1] I think the rate limiting should be managed by something else (for example load balancers)  in front of the API.

Regards
--
Andrea Rosa
[1]http://www.gossamer-threads.com/lists/openstack/operators/28599


From: Joe Gordon [mailto:joe.gordon0 at gmail.com]
Sent: 24 July 2013 23:39
To: OpenStack Development Mailing List
Subject: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

Hi all

I have proposed a patch to disable per-user rate limiting by default: https://review.openstack.org/#/c/34821/. And on Russell's request  does anyone care or prefer this to be enabled by default?

Here is some more context:

Earlier rate limiting discussion: http://www.gossamer-threads.com/lists/openstack/operators/28599
Related bug: https://bugs.launchpad.net/tripleo/+bug/1178529
rate limiting is per process, and doesn't act as expected in a multi-process environment: https://review.openstack.org/#/c/36516/

best,
Joe Gordon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130726/248c289c/attachment.html>


More information about the OpenStack-dev mailing list