TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is Meteor.js production-ready now?

5 点作者 alexgpark超过 9 年前
My team is considering building our company&#x27;s product using Meteor.js but most of the discussions around this returned by Google are from 1 or 2 years ago, and many of them said then that Meteor is perfect for building an MVP, but not ready for primetime production.<p>Has this changed?<p>What are everyone&#x27;s latest thoughts? Are there any companies that have had success building and scaling with Meteor?<p>Here&#x27;s one concerning post I found from a few months back: https:&#x2F;&#x2F;medium.com&#x2F;@pierrebaz&#x2F;why-i-won-t-recommend-meteor-anymore-fcec4e478d78

1 comment

n17r4m超过 9 年前
IMHO, its been getting progressively better as time goes on. It has great support for React and Angular now, in addition to its own Blaze templating engine (I prefer Blaze, actually).<p>The data sync is fast enough to be useful for real-time games.<p>When it comes time to scale up, ditch the built-in mongo (or sql) and set up your DB cluster, and for the web bits, use something like <a href="https:&#x2F;&#x2F;github.com&#x2F;meteorhacks&#x2F;cluster" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;meteorhacks&#x2F;cluster</a> and you are off to the horizontal scaling races.<p>In response to the linked posts criticism:<p>No API-based authentication: having a REST api to interface with Accounts is not there by default, but Meteor does support adding REST endpoints, where one could easily roll a solution that does a server-side auth and respond with an auth token which could be stored in the user&#x27;s record as appropriate. I&#x27;d be surprised if there wasn&#x27;t already a package available which does exactly this.<p>App shutdown: Once you are running a &#x27;real&#x27; site, you will probably have a separate mongo instance. This solves most of the problems, however yes, it is still possible for some &#x27;in-flight&#x27; data to be lost. Adding a maintenance mode like <a href="https:&#x2F;&#x2F;github.com&#x2F;yogiben&#x2F;meteor-maintenance-mode" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yogiben&#x2F;meteor-maintenance-mode</a> solves this though.<p>Subscriptions scalability: It&#x27;s all about writing publish functions that only send what you need for a particular screen &#x2F; template &#x2F; page. In practice, it is not difficult and can scale up quite nicely: <a href="http:&#x2F;&#x2F;meteor.redandivory.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;meteor.redandivory.com&#x2F;</a><p>Server-side rendering for SEO: As the link points out, there are community packages that can make this happen. The beauty of meteor is the huge amount of community packages available that are almost universally of high quality. Their use should be encouraged, and is not considered &quot;hacky&quot;.<p>My 2c.
评论 #10396588 未加载