A way to rate-limit executor submissions

Bug #1517638 reported by Joshua Harlow
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
futurist
Undecided
Unassigned

Bug Description

It would be nice to have a way to rate-limit submissions into an executor.

Typically executors that exist are based on a set of threads that consume work from a queue, producers of work submit work into that queue and get a future back to wait on, but the problem is that those queues that are used do not have bounds, and can go beyond a reasonable backlog that will never be able to be processed, so to avoid this situation it would be nice if there was some way to have a executor that self-rate-limited (to some degree).

Revision history for this message
Joshua Harlow (harlowja) wrote :

Review https://review.openstack.org/#/c/239780 has something along this line (with a hard-blocking limit) so it could be one such way of doing this...

Revision history for this message
Ben Nemec (bnemec) wrote :

Looks like the review was abandoned. Does this need to stay open?

Changed in futurist:
status: New → Incomplete
Revision history for this message
Joshua Harlow (harlowja) wrote :

I don't think so, it doesn't seem like a high desire for it :-P

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers