Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
sakoush committed Oct 4, 2024
1 parent ec8b80d commit a9d3937
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scheduler/pkg/synchroniser/servers_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ the Change License after the Change Date as each is defined in accordance with t
*/

// This file includes the ServerBasedSynchroniser struct and its methods.
// The main logic is to get the controller state of how many servers (x) it has in its etcd storet, and then the scheduler will wait for x agent connections.
// The synchroniser will also wait for a timeout duration before proceeding if not all servers connect in time.
// The ServerBasedSynchroniser struct is responsible for synchronising the starting up of the different components of the "scheduler".
// It ensures that the time between the scheduler starting and the different model servers connecting does not affect the data plane (inferences).
// In general terms, the synchroniser waits for all servers to connect before proceeding with processing events, especially those that are related to the servers connecting (i.e model scheduling).
Expand Down

0 comments on commit a9d3937

Please sign in to comment.