Go to file
Kevin Benton 255e8a839d Turn nova notifier into a proper rate limiter
This adjusts the batching logic in the Nova notifier to immediately
send and then sleep to allow batching of subsequent calls in the batch
interval.

So rather than always wait for 2 seconds to elapse while batching,
batching will only occur in the 2 second period after a call is made.
This turns the batch notifier into a standard queuing rate limiter.

The upside to this is a single port create results in an immediate
notification to Nova without a delay.

The downside is now that a sudden burst of 6 port creations to a
previously idle server will result in 2 notification calls to Nova
(1 for the first call and another for the other 5).

Closes-Bug: #1564648
Change-Id: I82f403441564955345f47877151e0c457712dd2f
2017-02-03 13:13:45 +00:00
2016-06-28 22:46:19 +02:00
2016-12-10 06:15:34 -08:00
2016-10-17 17:06:19 +05:30
2014-05-16 13:40:04 -04:00
2016-11-25 15:35:21 +01:00
2016-11-08 03:50:20 +00:00
2015-09-21 18:56:49 +00:00
2016-11-08 03:36:00 +00:00

Team and repository tags

image

Welcome!

To learn more about neutron:

Get in touch via email. Use [Neutron] in your subject.

To learn how to contribute:

CONTRIBUTING.rst

Description
OpenStack Networking (Neutron)
Readme 1.1 GiB
Languages
Python 99.7%
Shell 0.3%