O'Reilly logo

Mastering MeteorJS Application Development by Jebin B V

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scaling a MeteorJS application

Whatever we have discussed is good for a single instance application. If our application grows with a bigger user base and if the traffic is increasing, we obviously have to scale the system. Most of the time, scaling can be done horizontally, which means we will add more instances and then route the traffic to instances having less load at the moment. With some scaling solutions such as meteor cluster, we can scale vertically by adding more cores to the server.

Let's see in detail how Nginx and meteor cluster help us in scaling our application.

Scaling with Nginx

We have seen how to use Nginx while doing MDM setup. Now, let us see how to use it to scale MeteorJS applications. It is good to install the latest Nginx ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required