Pool Best Practices

1. Right-Size Your Pool

Start small and scale up based on actual workload.

2. Use Cost Budgets

Pools can consume resources quickly. Always set budgets.

3. Monitor Queue Depth

A growing queue means you need more agents. A consistently empty queue means you have too many.

4. Handle Failures

Combine pools with supervisors for automatic recovery.

5. Drain Before Shutdown

naos pool drain workers
naos pool stop workers