# Load Balancer source code

**URL:** https://forums.suse.com/t/load-balancer-source-code/1068
**Category:** Rancher 1.x
**Created:** [November 25, 2015, 12:06am UTC](https://forums.suse.com/t/load-balancer-source-code/1068 "2015-11-25T00:06:43Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![yunspace](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yunspace/32/304_2.png) [@yunspace](https://forums.suse.com/u/yunspace)
#### Post date: [November 25, 2015, 12:06am UTC](https://forums.suse.com/t/load-balancer-source-code/1068/1 "2015-11-25T00:06:43Z")

</div>

Hi Rancher team,

I was wondering if the Rancher Load Balancer source code is available or are there any plans to open source it in the future.

Thanks,  
Yun

---

<div class="post-metadata">

### Author: ![Chas](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/chas/32/478_2.png) [@Chas](https://forums.suse.com/u/Chas)
#### Post date: [November 25, 2015, 12:46am UTC](https://forums.suse.com/t/load-balancer-source-code/1068/2 "2015-11-25T00:46:12Z")

</div>

It’s HAProxy, rancher just abstracts it

---

<div class="post-metadata">

### Author: ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)
#### Post date: [November 25, 2015, 12:58am UTC](https://forums.suse.com/t/load-balancer-source-code/1068/3 "2015-11-25T00:58:11Z")

</div>

Yes just vanilla haproxy in an ubuntu container… [https://github.com/rancher/agent-instance](https://github.com/rancher/agent-instance)

---

<div class="post-metadata">

### Author: ![yunspace](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yunspace/32/304_2.png) [@yunspace](https://forums.suse.com/u/yunspace)
#### Post date: [November 28, 2015, 2:04pm UTC](https://forums.suse.com/t/load-balancer-source-code/1068/4 "2015-11-28T14:04:02Z")

</div>

Thanks, so does the load balancer update HAProxy configurations on the fly whenever a service is linked or unlinked or updated? Or does the load balancer require a restart?

The reason I ask is because in `tutum/haproxy` has alot of wrapper code around HAProxy to reload the configs each time an update occurs in the linked services. It can be quite unreliable at times, dropping out backends and returning 503s.

I’d be interested to see how Rancher handles the same problem, but had some issues setting the load balancer up. Will try again with the 0.47.0 release.

---

<div class="post-metadata">

### Author: ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)
#### Post date: [November 30, 2015, 10:02pm UTC](https://forums.suse.com/t/load-balancer-source-code/1068/5 "2015-11-30T22:02:10Z")

</div>

Load balancers are updated on the fly and do not require a restart.
