1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00
Ondrej Zajicek (work) 7be3af7fa6 Rate-limit scheduling of work-events
In general, events are code handling some some condition, which is
scheduled when such condition happened and executed independently from
I/O loop. Work-events are a subgroup of events that are scheduled
repeatedly until some (often significant) work is done (e.g. feeding
routes to protocol). All scheduled events are executed during each
I/O loop iteration.

Separate work-events from regular events to a separate queue and
rate limit their execution to a fixed number per I/O loop iteration.
That should prevent excess latency when many work-events are
scheduled at one time (e.g. simultaneous reload of many BGP sessions).
2021-03-12 15:35:56 +01:00
..
2020-05-01 15:19:12 +02:00
2019-11-26 18:39:02 +01:00
2021-03-12 15:35:56 +01:00
2021-03-12 15:35:56 +01:00
2020-03-03 19:04:33 +01:00
2019-11-03 22:25:44 +01:00
2019-11-26 18:39:02 +01:00
2020-04-09 15:37:14 +02:00
2020-04-28 16:21:06 +02:00
2020-05-01 15:19:12 +02:00
2020-04-09 15:37:14 +02:00