-
Notifications
You must be signed in to change notification settings - Fork 0
Description
We would like to support multiple machines.
Option 1: One master daemon doing all the book keeping, and several child daemons pulling information from the master.
Option 2: Another idea could be all daemons maintain the state and stream to all other daemons. That's a lot of unnecessary overhead
If we did option 1, we would want some remote protocol (maybe using grpc or something) to stream from a remote daemon to the current user. Would also need a flag.
We could copy the same "streamed" updates that we already are implementing for the ring buffer for the daemon -> client. So then those updates would go child daemon -> master daemon -> client.
We could also support just using the child daemon to stream updates (aka taking an L on other machine's state).
Once we do this, a next step would be to add in UI elements for multiple machines and track the build machine as part of the JobsStateInner.