Skip to main content
Question

Run with queue automations

  • 9 August 2024
  • 2 replies
  • 34 views

There are 2 ways to run automations in order per Round robin with a given time slice and Priority as shown in the table In device pools, under Run with queue automations. What’s the exact functionality of those two features? It would be highly appreciated if someone could explain each scenario with examples.

Hi @Akitha.U,

Please find the below,

 

Example for Round Robin : 

 

The Round Robin method is designed to distribute workloads evenly across all available Bot Runners within a device pool

Imagine you have a device pool with 3 Bot Runners (Bot A, Bot B, Bot C) and a queue with 9 tasks. You set the time slice to 10 minutes.

  • Task Distribution: Each bot will work for 10 minutes on the tasks in the queue before passing the turn to the next bot.
    • Bot A processes tasks for 10 minutes, then pauses.
    • Bot B takes over and processes tasks for the next 10 minutes.
    • Bot C then processes for another 10 minutes.
    • The cycle repeats, going back to Bot A.

This ensures all bots have equal processing time and tasks are evenly distributed. If Bot A completes a task in its time slice, it moves to the next task in the queue until its time slice is up.

 

Example Priority :

The Priority method allows certain bots to execute tasks with higher priority than others

Suppose you have a device pool with 3 Bot Runners and a queue with tasks of varying priority levels.

  • Task Prioritization:

    • Task 1 has priority 1 (highest).
    • Task 2 has priority 2.
    • Task 3 has priority 3 (lowest)
 

Hi @Tamil Arasu10 , 

Thanks for the explanation, but I have some concerns about the explanation given for Round Robin. Shouldn't the time slice be applied to the queue rather than to the bot runner? Furthermore, could you explain the same concept using multiple queues?


Reply