Bamboo and Agent load

I know that Bamboo will try to match a jobs requirements to an agents capabilities when distributing a job.

But does Bamboo do any real load balancing? 

Meaning If I have two or more agents with the same capabilities, which match many jobs. Will Bamboo take the least loaded agent when distributing the job?

4 answers

1 accepted

1 vote
Accepted answer

ATM Bamboo doesn't do load balancing. Wherever a new build appears in the queue matching agents will try to take it - first one that will do it wins and builds the job.

What do you mean least loaded? An agent is running a task (busy) or not running a task (free).

I mean the load. For example the load average on a Unix/Linux machine: For example from the top command on a Linux box: *load average: 0.38, 0.30, 0.21* "On Unix-like systems, including Linux, the system load is a measurement of the computational work the system is performing. This measurement is displayed as a number. A completely idle computer has a load average of 0. Each running process either using or waiting for CPU resources adds 1 to the load average. So, if your system has a load of 5, five processes are either using or waiting for the CPU." *So a use case here:* * I have two slave machines(quite a powerful ones) * They each have 3 agents with the same capabilities * Both machines have one agent which is idle (not busy) * Bamboo has a job which can be ran on either of the machines and their free agent How does Bamboo select which agent gets the job? Does it just randomly select one? Or is it smart enough to examine the load on the two machines and assign the job to the one least loaded?

I guess it's not a typical usage to have several agents on the same machine. At least the question is now completely clear for me. Let's wait for someone from Atlassian to answer.

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

4,680 views 20 14
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you