Project

General

Profile

Actions

action #5922

closed

Enable OpenQA preforking

Added by oholecek over 9 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2015-01-17
Due date:
% Done:

0%

Estimated time:
12.00 h

Description

Now here is one wild idea. OpenQA is currently build upon Mojolicious::Commands server (single process, single thread Mojo::Server::Daemon), but Mojolicious has also a build-in preforking server (Mojo::Server::Prefork through Hypnotoad). What about to fix our sometimes blocking code by using more processes?

This will require (at least) to move WebSocket service to standalone server (now I understand why The Internet do that) since I currently lazily use global variable for workerid-connection mapping. But this should not be a biggie apart creating new IPC between OpenQA and OpenQA-WSServer.

Actions #1

Updated by oholecek about 9 years ago

  • Status changed from New to Resolved
  • Assignee set to oholecek

https://github.com/os-autoinst/openQA/pull/381

Some improvements to be made are custom dbus session and morbo support. Also, currently the whole stack is started by lib/OpenQA.pm, it may come handy to delegate this responsibility to someone more responsible (i.e. systemd), and maybe enable autostart (for scheduler by DBus service, for websockets by dbus service and incomming ws request, for webapi by incomming http request).

Actions #2

Updated by okurz about 6 years ago

  • Target version changed from future to future
Actions

Also available in: Atom PDF