# Can we use several Nuves, Erizo controllers and some HA problems?

**URL:** <https://discourse.lynckia.com/t/can-we-use-several-nuves-erizo-controllers-and-some-ha-problems/605>\
**Category:** Support\
**Created:** [October 2, 2017, 10:35am UTC](https://discourse.lynckia.com/t/can-we-use-several-nuves-erizo-controllers-and-some-ha-problems/605 "2017-10-02T10:35:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yannis](https://avatars.discourse-cdn.com/v4/letter/y/c57346/32.png) [@Yannis](https://discourse.lynckia.com/u/Yannis)\
**Post date:** [October 2, 2017, 10:35am UTC](https://discourse.lynckia.com/t/can-we-use-several-nuves-erizo-controllers-and-some-ha-problems/605/1 "2017-10-02T10:35:13Z")

</div>

Dear all, I am trying to build an infrastructure of all components of Licode for high availability, and I have some questions.

1. Can I use several Nuves behind one load balancer? It seems like Nuve is stateless? All information is stored in MongoDB, right?

2. All clients in the same room `MUSE` use the same Erizo Controller? Because all information about publishers/subscribers are stored in memory, right? If one Erizo Controller is crashed, how can we do to decrease the damage? Any suggestions?

3. If client A, B, C are in the same room R, A uses EzrioJS\_x (created by ErizoAgent\_X), B uses EzrioJS\_y (created by ErizoAgent\_Y) and C uses EzrioJS\_y (created by ErizoAgent\_Y). If EzrioJS\_y or ErizoAgent\_Y is crashed, and client B and client C will retry in client side, can Erizo controller handle it when B, C want to enter to the same room R?

Sorry about my English.  
Thanks & Regards,

Yannis

---

<div class="post-metadata">

**Author:** ![Javier](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.lynckia.com/javier/32/20_2.png) [@Javier](https://discourse.lynckia.com/u/Javier)\
**Post date:** [October 17, 2017, 8:39am UTC](https://discourse.lynckia.com/t/can-we-use-several-nuves-erizo-controllers-and-some-ha-problems/605/2 "2017-10-17T08:39:27Z")

</div>

Hi Yannis,

1. Although there have been some work towards having a stateless Nuve, we can’t use several Nuves behind a load balancer yet. The reason is that there are few db operations that are not atomized and there could be race conditions.
2. Yes, they must use the same Erizo Controller. If it crashes the best alternative is to reconnect clients once you receive the disconnection event.
3. Yes, Erizo Controller automatically handles it, when B and C want to re-enter the same Room it will use a assign a different ErizoAgent/ErizoJS.
