Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a meteor application be load balanced?

Tags:

meteor

Is it possible to run multiple instances of a meteor application using Mongodb behind a load-balancer?

It seems that if multiple instances of an application are run on different servers then they would not know about changes to the Mongo DB made by other instances - and so not notify the clients.

like image 636
Chris Avatar asked Jul 10 '12 19:07

Chris


1 Answers

Meteor is able to tell when the database is changed by another instance of meteor albeit with a slight delay (i've noticed up to 5 seconds max).

Load balancing shouldn't be challenging it is certainly possible.

You could use many meteor instances and a load balancer in the traditional sense quite easily.

like image 117
Tarang Avatar answered Sep 17 '22 20:09

Tarang