zuul/doc/source/discussion
James E. Blair e050eb60e6 Quantize relative priority
This adjusts the node request relative priority system to become
more coarse as queues become longer.

Currently in the case of a very long queue we might revise the
pending node requests of every item in the queue each time a change
is dequeued.  This might be useful for a change near the head of
the queue since it could cause it to receive nodes faster, but
we don't need to update the node request for jobs with the 100th
change in the queue on every update.

To avoid all of the ZK writes generated by these updates, we will
quantize the relative priority logarithmically.  So changes near
the head behave as before, but after 10 changes back we decrease
the resolution to buckets of 10, and after 100 changes, buckets of
100.

Change-Id: I63c4b5d08f0d2608bc54094ade7d46d0720ab25e
2021-12-06 17:17:55 -08:00
..
components.rst Quantize relative priority 2021-12-06 17:17:55 -08:00
concepts.rst Fix nits from initial reorg 2020-01-14 16:41:53 -05:00
encryption.rst Fix broken link markup for encryption docs 2021-07-27 16:28:38 +00:00
gating.rst Doc updates for Github interaction 2020-08-20 09:15:23 +10:00
github-checks-api.rst docs: Fix spelling mistake 2021-05-17 12:07:41 -04:00
index.rst Provide some documentation for the checks API implementation 2020-05-12 18:43:50 +02:00
tenant-scoped-rest-api.rst Support promote via tenant scoped rest api 2020-07-24 14:36:17 +02:00