-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
Description
Currently, workers are polling the API for new tasks to start.
This has the consequence that we have significant traffic to the API linked to this polling. It is a kind of hack. And it seems to be a bit unstable under some conditions (some workers seems to take way more time to start a requested task than others).
One might want to consider (again) pushing tasks to worker. We used sloppy in the past but had to remove it for infrastructure issues reasons.
For this task to be ready to be developed, we need to analyze:
- which push solution do we want to implement, and how will it work in our existing infrastructure
- will there be a real "gain" in terms of traffic, since we need anyway to have worker update their running tasks status on a regular basis
- will there be a real "gain" in terms of stability, since push solution is probably a bit more complex than polling