Active
Project:
Hosting
Version:
7.x-4.x-dev
Component:
API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2016 at 05:15 UTC
Updated:
12 Jul 2016 at 14:04 UTC
Jump to comment: Most recent
The queue daemon is a service, from an OS-perspective. It has a restart command and everything! Perhaps we should consider making it a Hosting Service.
While right now this service would essentially only run on the master server, consider the utility of being able to run them on multiple servers. Seems like it'd be a step in the direction of #2037993: Make remote servers "smart". It would also facilitate making the queue pluggable.
Comments
Comment #2
ergonlogicI've begun to implement this in contrib, based on Skynet: https://github.com/ergonlogic/hosting_skynet/tree/service.
Comment #3
ergonlogicComment #4
ergonlogicTechnically, this'd be the queue runner that's being made into a service here. The task queue itself remains a custom database table, and related functions. It'd be nice to also move the queue itself into a service, as that would help to resolve: #1963808: Make the hosting queues pluggable, so something like Jenkins could run the commands instead of @hostmaster.
Comment #5
ergonlogicComment #6
helmo commentedWould a python bases queue runner be a separate sub class?
Comment #7
jon pugh