Details
-
Improvement
-
Resolution: Fixed
-
None
-
-
High
-
-
Empty show more show less
Description
problem
Currently the workers are triggered via HTTP requests, containing the whole overhead of creating HTTP requests and apache dealing with them. Also the workers are basically using and blocking free apache slots for ordinary requests.
The overhead of a small import was enormous: 2 seconds for the import instead of 14 seconds. For bigger tasks that may not be relevant, but still it saves performance in not triggering apache and the network.
The workers via HTTP requests are hard to debug, since its never really clear which apache process belongs to a running worker.
solution
Start the workers as independent processes.
Open:
more logging and debugging for process based approach → worker and taskGuid can be listed with top nowuse the pid as process id in the worker table - for dead worker entry recognitionimplement dead running worker entry cleanup→ on longer as a day baseTRANSLATE-514implement switch to change between processes and http→ DONE
Attachments
Issue Links
- is duplicated by
-
TRANSLATE-2326 Change Worker invocation away from fsockopen for better error handling
- Open
- relates to
-
TRANSLATE-514 Improve Worker garbage clean up and implement a dead worker recognition
- Done