Meteor - Clustering

meteor - done reading

How can we use the meteorhacks:cluster package?

meteor add meteorhacks:cluster

If you now run your app, your Meteor app will use all the cores available on your server. Here we made use of the cluster package’s multicore support. We can also use cluster to distribute load among multiple servers. You should look at the cluster docs to set this up.

If you are using the Meteor Up to deploy your app, update mup and do mup setup once.

You can also specify the number of workers explicitly, like this:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License