# Scaling workers for concurrent builds

**URL:** <https://drone.discourse.group/t/scaling-workers-for-concurrent-builds/10646>\
**Category:** Drone Support\
**Created:** [February 8, 2018, 3:58pm UTC](https://drone.discourse.group/t/scaling-workers-for-concurrent-builds/10646 "2018-02-08T15:58:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kotrfa](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/kotrfa/32/4813_2.png) [@kotrfa](https://drone.discourse.group/u/kotrfa)\
**Post date:** [February 8, 2018, 3:58pm UTC](https://drone.discourse.group/t/scaling-workers-for-concurrent-builds/10646/1 "2018-02-08T15:58:04Z")

</div>

Hi,

even though it has been discussed here and on github, I am still not able to answer a simple question: **Is it possible to add more workers to process multiple builds at once in parallel?**

I have deployed Drone 0.8.5 on Kubernetes using this [helm chart](https://github.com/kubernetes/charts/tree/master/incubator/drone) and I was thinking that all I have to do is scale number of agents, but it doesn’t seem to be the case. Thanks for any help.

Best,  
Daniel

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [February 8, 2018, 4:05pm UTC](https://drone.discourse.group/t/scaling-workers-for-concurrent-builds/10646/2 "2018-02-08T16:05:58Z")

</div>

> Is it possible to add more workers to process multiple builds at once in parallel?

Yes.

Every agent you install is able to process a build. If you have 4 agents installed and connected with the Drone server your system, by default, will be able to process 4 builds in parallel.

You can also configure a single agent to process multiple builds in parallel by setting the agent’s DRONE\_MAX\_PROCS variable. For example if you set DRONE\_MAX\_PROCS=2, the agent will be able to process 2 concurrent builds.

You can combine these strategies. You can setup 4 agents on 4 different servers, each with DRONE\_MAX\_PROCS=2, which would allow your system to process 8 builds in parallel.

---

<div class="post-metadata">

**Author:** ![kotrfa](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/kotrfa/32/4813_2.png) [@kotrfa](https://drone.discourse.group/u/kotrfa)\
**Post date:** [February 8, 2018, 4:11pm UTC](https://drone.discourse.group/t/scaling-workers-for-concurrent-builds/10646/3 "2018-02-08T16:11:23Z")

</div>

Thank you very much! Would it be possible to at least mention this somewhere in the docs, or maybe make it a bit more visible?

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [February 8, 2018, 4:14pm UTC](https://drone.discourse.group/t/scaling-workers-for-concurrent-builds/10646/4 "2018-02-08T16:14:38Z")

</div>

You are encouraged to send a PR to improve the documentation if you find room for improvement.

---

<div class="post-metadata">

**Author:** ![kotrfa](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/kotrfa/32/4813_2.png) [@kotrfa](https://drone.discourse.group/u/kotrfa)\
**Post date:** [February 8, 2018, 5:26pm UTC](https://drone.discourse.group/t/scaling-workers-for-concurrent-builds/10646/5 "2018-02-08T17:26:12Z")

</div>

OK. I have already done so
