Issue Details (XML | Word | Printable)

Key: BAM-3344
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Edwin Wong [Atlassian]
Votes: 11
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Bamboo

Automatically control starting and stopping of Elastic Agents based on load

Created: 14/Dec/08 06:16 PM   Updated: 10/Aug/09 02:02 AM
Return to search
Component/s: Elastic Bamboo
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Issue & Sub-Tasks
Issue Only
Original Estimate: 48h
Original Estimate - 48h
Remaining Estimate: 28h
Time Spent - 28h Remaining Estimate - 28h
Time Spent: 28h
Time Spent - 28h Remaining Estimate - 28h

Issue Links:
Reference
 

Participants: Edwin Wong [Atlassian], Krystian Nowak and Mark Chaimungkalanont [Atlassian]
Since last comment: 26 weeks, 1 day ago
Comments: 4
Labels:
Backlog Order:
657   

  • Sub-Tasks:
  • All
  • Open

Edwin Wong [Atlassian] added a comment - 06/Aug/09 12:43 AM

Hi guys,

After using EC2 internally here at Atlassian, what we have found was that to be able to scale up and down of agents purely based on load may be a little cost ineffective and a little too un-predictable.

What we have found that worked better for us was a schedule/time based scaling up and down. We have implemented this in BAM-4326.

Cheers,
Edwin


Krystian Nowak added a comment - 06/Aug/09 03:05 AM

So the only way to do it is outside the core - either by plugin (I'm not sure if the necessary hooks are available) or remote API (but I couldn't find any method to query the current queue length)?

Cheers,
Krystian


Mark Chaimungkalanont [Atlassian] added a comment - 09/Aug/09 09:26 PM

Krystian,

We're working at supplementing the new REST endpoints for 2.3.1. I'll see if the queues information can be made available through the REST API.

As far as plugin points goes, there is a CustomPreBuildQueuedAction (see http://confluence.atlassian.com/display/BAMBOO/Pre+Build+Queued+Action) that you can hook into. We have a plugin for LabManger for example, that starts a VM based on the Build that is being triggerred.

Cheers,

Mark C


Krystian Nowak added a comment - 10/Aug/09 02:02 AM

Oh! That's a great news. Thanks for info! I'll look into it then.

Cheers,
Krystian