Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1554

JobScheduler Master supports Fixed Priority Scheduling and Round-Robin Scheduling for Tasks with Agents

    XMLWordPrintable

    Details

      Description

      Current Behavior

      • Two Agents are configured for an Agent Bundle with a process class
        • Agent 1 and Agent 2 are both available.
        • Tasks are executed alternately on both Agents (round-robin).

      Desired Behavior

      • JobScheduler should support both Round-Robin Scheduling and Fixed Priority Scheduling.
      • The behavior can be configured with Fixed Priority Scheduling being the default.

      Fixed Priority Scheduling

      • JobScheduler Master selects the first available Agent from the process class configuration. Jobs will be executed on a different Agent exclusively in case that the first Agent becomes unavailable.
      • This behavior is intended for fail-over of Agents.
      • Process class configuration:
        <process_class>
            <remote_schedulers select="first">
                <remote_scheduler  remote_scheduler="http://agent1:4445"/>
                <remote_scheduler  remote_scheduler="http://agent2:4445"/>
            </remote_schedulers>
        </process_class>
        

      Round-Robin Scheduling

      • JobScheduler Master selects the next available Agent from the process class configuration. Jobs will be carried out alternately on each available Agent.
      • This behavior is intended for balanced execution of tasks on a number of Agents.
      • Process class configuration:
        <process_class>
            <remote_schedulers select="next">
                <remote_scheduler  remote_scheduler="http://agent1:4445"/>
                <remote_scheduler  remote_scheduler="http://agent2:4445"/>
            </remote_schedulers>
        </process_class>
        

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jz Joacim Zschimmer
                Reporter:
                ap Andreas Püschel
                Approver:
                Victor Garcia-Beltran (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: