I try to search any info about cloud agents allocation algorithm, but no success. So i try to ask questions here:
Can be agents allocation algorithm be published? Flow diagram will be great.
- On which conditions cloud agents are spawns?
- On which conditions cloud agents are shutdowns?
- Does queue affects decision which agent should be spawn? If so, can be this part of decision makin algorithm be published?
- How does cloud agents affects license usage?
I'm considering writing plugin for custom Cloud Provider, but lack of information about allocation strategy, prevent me from making final decision about suitability of my idea?
My goal is to minimize expenses on licenses and in same time provide a constant time build spent in queue for each. If right now there is need in more agents of configuration A, then Teamcity shutdowns agents with less needed configurations, and spawn more with A configuration.
Please clarify is it achiveable.