Manager: Event bus with public endpoint #104273

Closed
opened 2023-12-15 17:52:29 +01:00 by Sybren A. Stüvel · 1 comment

Currently there's a subsystem of Flamenco Manager that is responsible for sending certain internal events via SocketIO to the web frontend. This is used for job/task status changes, new/removed jobs, etc.

This system could be abstracted into an internal event system. The SocketIO connection to the web frontend could then be re-implemented to listen to these events (instead of being called directly from other areas of Flamenco). A separate listener could then provide an event stream to other networked systems, such as auto-scalers for a cloud-based farm.

Job status update notification system (#99424) could be implemented as another listener on this event bus.

Currently there's a subsystem of Flamenco Manager that is responsible for sending certain internal events via SocketIO to the web frontend. This is used for job/task status changes, new/removed jobs, etc. This system could be abstracted into an internal event system. The SocketIO connection to the web frontend could then be re-implemented to listen to these events (instead of being called directly from other areas of Flamenco). A separate listener could then provide an event stream to other networked systems, such as auto-scalers for a cloud-based farm. Job status update notification system (#99424) could be implemented as another listener on this event bus.
Sybren A. Stüvel added the
Type
Design
label 2024-01-19 11:29:57 +01:00
Author
Owner

This was implemented in 76a24243

This was implemented in 76a24243
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/flamenco#104273
No description provided.