# Load Balancing Multiple Processes of nameko HTTP Services

**URL:** <https://discourse.nameko.io/t/load-balancing-multiple-processes-of-nameko-http-services/227>\
**Category:** googlegroup\
**Created:** [December 18, 2017, 3:53pm UTC](https://discourse.nameko.io/t/load-balancing-multiple-processes-of-nameko-http-services/227 "2017-12-18T15:53:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon\_harrison](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@simon\_harrison](https://discourse.nameko.io/u/simon_harrison)\
**Post date:** [December 18, 2017, 3:53pm UTC](https://discourse.nameko.io/t/load-balancing-multiple-processes-of-nameko-http-services/227/1 "2017-12-18T15:53:23Z")

</div>

Hi there

We've some services that we need to scale horizontally and they use the  
HTTP entrypoints. Is there any advice how to run such nameko services in  
production behind Nginx?

Thanks

---

<div class="post-metadata">

**Author:** ![mattbennett](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.nameko.io/mattbennett/32/13_2.png) [@mattbennett](https://discourse.nameko.io/u/mattbennett)\
**Post date:** [December 18, 2017, 8:33pm UTC](https://discourse.nameko.io/t/load-balancing-multiple-processes-of-nameko-http-services/227/2 "2017-12-18T20:33:06Z")

</div>

Nothing special. Just list your services as upstreams and let nginx  
load-balance traffic however you see fit.

> **···**
>
> On Monday, December 18, 2017 at 3:53:23 PM UTC, simon harrison wrote:
> 
> > Hi there
> > 
> > We've some services that we need to scale horizontally and they use the  
> > HTTP entrypoints. Is there any advice how to run such nameko services in  
> > production behind Nginx?
> > 
> > Thanks

---

<div class="post-metadata">

**Author:** ![simon\_harrison](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@simon\_harrison](https://discourse.nameko.io/u/simon_harrison)\
**Post date:** [January 8, 2018, 5:28pm UTC](https://discourse.nameko.io/t/load-balancing-multiple-processes-of-nameko-http-services/227/3 "2018-01-08T17:28:09Z")

</div>

Hi Matt

For us it was a little more involved, and maybe you have an alternative  
suggestion? Our dockerised services are all behind Kong - which under the  
hood uses Nginx - but we required Docker Swarm to fire up multiple  
processes and successfully route to them through Kong. So far so good!

Thanks for your help

> **···**
>
> On Monday, 18 December 2017 20:33:06 UTC, Matt Yule-Bennett wrote:
> 
> > Nothing special. Just list your services as upstreams and let nginx  
> > load-balance traffic however you see fit.
> > 
> > On Monday, December 18, 2017 at 3:53:23 PM UTC, simon harrison wrote:
> > 
> > > Hi there
> > > 
> > > We've some services that we need to scale horizontally and they use the  
> > > HTTP entrypoints. Is there any advice how to run such nameko services in  
> > > production behind Nginx?
> > > 
> > > Thanks
