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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,492 views 0 5
Read article

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