Project

General

Profile

Actions

action #32260

closed

action #7086: add some worker version check

Improve worker version checking.

Added by dasantiago about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2018-02-26
Due date:
% Done:

100%

Estimated time:

Description

Improvement of poo#7086.

Currently the worker version checking is being done when the worker sends worker_status messages.

This raises some problems:

1- It's slow. To address some scalability issues, every worker has a different time of polling the server. Sometimes take less time, sometimes takes more time.
This is only noticeable when we have dozens (or maybe hundreds) of workers

2- If the server has jobs to be ran in the queue, it will send immediately the job, and then later it will do the version verification. This makes the job in scheduled state until the verification is done (related with previous point #1)

The solution for this is to move the verification from the worker status message to the websocket connection.

Actions #1

Updated by szarate about 6 years ago

  • Target version set to Current Sprint
Actions #2

Updated by dasantiago about 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Merged

Actions #3

Updated by coolo about 6 years ago

  • Target version changed from Current Sprint to Done
Actions

Also available in: Atom PDF