A pool is a group of bots that share work. Rather than tying a job to one specific machine, you point work at the pool and Automize spreads it across the available bots. Pair a pool with a queue and a backlog of items is worked automatically by whichever bots are free.
1. Create a pool
- Go to Library › Pools and create a new pool.
- Give it a name, and choose a strategy for handing out work:
- Round robin – spread evenly across bots.
- Least busy – keep one bot busy before using the next.
- Priority – prefer higher-priority members first.
2. Add bots to the pool
Open the pool and add bots as members. You can give each a priority so the strategy knows which to prefer. You can also pause a member to drain it – its current work finishes but it takes on nothing new – without removing it from the pool.
3. Bind a queue
To have a pool work a queue automatically, bind the queue to the pool (set on the queue's dispatch settings) and choose the worker process and how many bots may run at once. The pool's bots then keep draining the queue as items arrive. The pool page shows which queues feed it.
4. Monitor pool health
The pool view shows how the pool is doing: how many members are healthy and online, how many jobs are active, the queue depth feeding it, the oldest and average wait times, and how much spare capacity is left. You can also set:
- A backlog threshold that raises an alert when too many items are waiting.
- A retry budget and a failure threshold that marks a repeatedly-failing bot as unhealthy so it stops being given work.