action #5922

Enable OpenQA preforking

Added by oholecek about 5 years ago. Updated over 1 year ago.

Status:ResolvedStart date:17/01/2015
Priority:NormalDue date:
Assignee:oholecek% Done:


Category:Feature requestsEstimated time:12.00 hours
Target version:QA - future


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.


#1 Updated by oholecek over 4 years ago

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

Some improvements to be made are custom dbus session and morbo support. Also, currently the whole stack is started by lib/, 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).

#2 Updated by okurz over 1 year ago

  • Target version changed from future to future

Also available in: Atom PDF