Project

General

Profile

action #32260

action #7086: add some worker version check

Improve worker version checking.

Added by dasantiago over 2 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Difficulty:
Duration:

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.

History

#1 Updated by szarate over 2 years ago

  • Target version set to Current Sprint

#2 Updated by dasantiago over 2 years ago

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

Merged

#3 Updated by coolo over 2 years ago

  • Target version changed from Current Sprint to Done

Also available in: Atom PDF