News for hackers. Stuff that matters.
Re:Meteor in Production by systemtrigger on Wednesday November 06, 2013 @12:12AM (#6680840)
Author asserts Meteor scales poorly, which inspired his script "demeteorizer" which helps only if the project is deployed to author's hosting service "modulus.io"
Re:Meteor in Production by FooBarWidget on Wednesday November 06, 2013 @03:27AM (#6681572)
I don't get it. There is the "meteor bundle" command, which as far as I can tell does the exact same thing. "meteor bundle" turns your Meteor app into a regular Node.js app. It does not bundle Node.js itself and it does not bundle MongoDB.

The author mentioned that Demeteorizer allows a Meteor app to be able to run on any Node.js hosting provider. "meteor bundle" does that too. In last week's announcement about the Phusion Passenger app server + Meteor support, I documented how one can use Meteor bundles with Passenger. If you look at the instructions[1] you'll see that the instructions for deploying a Meteor bundle are the same as deploying a Node.js app.

So how is Demeteorizer different from "meteor bundle"?

[1] http://tinyurl.com/mj9ex3y

Re:Meteor in Production by cannadbt on Wednesday November 06, 2013 @09:19AM (#6682749)
Demeteorizer uses "meteor bundle" internally. What it does differently is generate a package.json file from all of those bundled dependencies. It fixes the case where your development platform is different than your production platform. The native modules need to be recompiled. Using a package.json and npm install makes that really easy. Checkout the big red text in the Meteor docs on deploying[1].

[1] http://docs.meteor.com/#deploying

Re:Meteor in Production by mbenjaminsmith on Wednesday November 06, 2013 @04:22AM (#6681739)
I never did get Demeteorizer to work so I can't compare them but yes the meteor bundle command gives you a Node.js app that can be deployed like any other.

As I understand it the former was created before the meteor bundle command was available.

Re:Meteor in Production by cannadbt on Wednesday November 06, 2013 @09:14AM (#6682722)
I'm the author of Demeteorizer. Would love to hear what happened so we can get it fixed.
Re:Meteor in Production by 616c on Wednesday November 06, 2013 @01:11AM (#6681064)
As pointed out by another user, I was annoyed as you reading the article, but the script can be used outside of their PaaS and the source is on Github [0], even though the author did not link to the repo. Typically, I have noticed the prevalence of Github and free repo hosting means people link less and less, and expect you to auto-magically find their code via Google search, or by just clicking one of the social buttons (even though the nerdier you are, the more you hate them and refuse to use them).

[0]https://github.com/onmodulus/demeteorizer

Re:Meteor in Production by aioprisan on Wednesday November 06, 2013 @12:17AM (#6680850)
I think the author was only talking about how to make Meteor scale on any hosting service by making it into a raw node.js app, something that more people have experience scaling. The NPM package demeteorizer, which was written by the modulus team, can actually be used to turn any meteor app to a core node.js package, which can then be hosted as you would any other node.js apps and can use any node.js hosting service (nodejitsu, heroku, appfog, modulus.io) or roll your own on bare metal (dedicated/aws).