Meteor 应用程序的可扩展性 [英] Scalability of a Meteor app

查看:34
本文介绍了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?

伊恩

推荐答案

不确定您的意思是使用meteor bundle"构建的应用还是使用meteor deploy"部署在免费主机上的应用.

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

使用流星部署"部署到托管服务器的应用程序尚无任何关于扩展的保证或 SLA.但是,服务器可以处理相当多的负载.meteor.com 托管在meteor deploy 上,并且在Meteor 发布后幸存下来.

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.

使用meteor bundle"生成的服务器包基本上是一个单进程应用程序.这取决于您将其连接到多个实例,或者您想要实现自动缩放.

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.

这篇关于Meteor 应用程序的可扩展性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆