Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scalability of a Meteor app

Tags:

meteor

Say your app gets hit with enough users to grind to a halt, does it fire up another instance? How do you plan to get around this in the future?

Ian

like image 651
Ian Avatar asked Apr 11 '12 09:04

Ian


People also ask

Is Meteor scalable?

If you don't need real-time then just use Meteor methods or Apollo. This will make Meteor as scalable as any other socket based node app. Do use out of the box pub/sub to validate ideas quickly but don't expect to scale without any tweaks.

What is Meteor used for?

Meteor allows you to develop in one language, JavaScript, in all environments: application server, web browser, and mobile device. Meteor uses data on the wire, meaning the server sends data, not HTML, and the client renders it.


2 Answers

Not sure if you mean apps built with 'meteor bundle' or apps deployed on the free hosting with 'meteor deploy'.

Apps deployed to the hosted servers with 'meteor deploy' do not yet have any guarantees or SLAs about scaling. However, the servers can handle a fair bit of load. meteor.com is hosted on meteor deploy, and it survived the Meteor launch.

A server bundle generated with 'meteor bundle' is basically a single process app. It is up to you wire it up to multiple instances, or however you want to implement auto-scaling.

like image 193
n1mmy Avatar answered Oct 05 '22 16:10

n1mmy


I'm precisely not clear with your question. aren't asking about the meteor framework capability for scalability or meteor app hosting environment scalability. never mind, here it goes

As Meteor framework ecosystem grows, your question of scalability will be answered, currently you can invoke as many as small modules of code through Packages.

Meteor has something called meteor bundle for more which eventually let deploy your application any where around the globe, then you can have your own infrastructure set-up to run your app (something like a network load balancer hosted NodeJS servers and scalable multiple MongoDB instance)

like image 33
Murali Ramakrishnan Avatar answered Oct 05 '22 16:10

Murali Ramakrishnan