Chris
Chris

Reputation: 449

Can a meteor application be load balanced?

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.

Upvotes: 3

Views: 703

Answers (1)

Tarang
Tarang

Reputation: 75975

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.

Upvotes: 3

Related Questions