Lo scenario
A task scheduler receives a job from a client. The dependency resolver queries the database for task states, determines which tasks have all dependencies satisfied, and either schedules them for execution or reports a deadlock.
Cosa contiene questo disegno
Leggi le decisioni che ne stanno alla base.
01
Use of alt fragment to branch between success and deadlock
02
Activation scopes for Scheduler and DependencyResolver
03
Inclusion of Database and Worker as external participants
When modeling the internal flow of a task scheduling system with dependency resolution and distributed execution, such as in workflow engines or CI/CD pipelines.