zuul/tests
Tobias Henkel 1fab39cc4b
Parallelize github event processing
The GitHub driver does an event pre processing before adding a trigger
event to the scheduler. This is currently done single threaded to
ensure that the trigger events are enqueued in order into the
scheduler. A problem is that this pre processing can take a few
seconds which limits the rate of events we can process. In order to
parallelize this while keeping the order of the trigger events we need
to do two things.

We keep consuming the event queue single threaded but instead of
processing and forwarding them directly to the scheduler we process
them in a thread pool and put the futures into a result queue. This
second queue can then again be processed single threaded and maintains
the correct ordering of the events.

Second updating the change cache currently assumes that it runs single
threaded. In order to avoid data races we need to lock this by the
change.

Change-Id: I08f31b99e2a58e51cef0de89edd98c957d7db87f
2019-06-11 10:38:51 +02:00
..
fixtures web: remove SafeLoader left-over from ZuulJSONEncoder 2019-06-05 10:03:54 +00:00
nodepool Set relative priority of node requests 2018-11-30 12:50:34 +01:00
remote zuul-tox-remote: use unique zuul_console service 2019-05-17 07:56:58 +00:00
unit Merge "Annotate builds with event id" 2019-06-10 17:00:51 +00:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Parallelize github event processing 2019-06-11 10:38:51 +02:00
encrypt_secret.py Make tests' encrypt_secret.py work with python3 2017-10-19 18:09:57 +00:00
fakegithub.py Merge "Add support for submitting reviews on GitHub" 2019-05-16 21:32:46 +00:00
make_playbooks.py Use libyaml if possible 2017-04-04 11:49:05 -07:00
print_layout.py Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00