Heroku vs. Nodejitsu for node.js
On the other hand, Nodejitsu is all node.js clouds. Simple. Scalable. Enterprise-ready! Deploying apps here feels like you're working on localhost.
I'll give you a better picture of why Nodejitsu is a clear winner for node.js! Let's see the workflow of creating and deploying nodejs apps with these two contenders:
First up, Heroku --
Steps to deploy node to Heroku:
Create a node app and test locally.
Add a Procfile with web: node server.js
Install and setup heroku gem.
$ heroku app:create <app_name>
$ git push heroku master
heroku ps:scale web=1
"Heroku free version has no support for ws yet...so holding it for now"
Steps to deploy node app to Nodejitsu:
Create an account at nodejitsu
Follow the mail that you get from them i.e : sudo npm install jitsu -g ; jitsu users confirm <user> <uniq_id>
Now create any node app, say in the dir called myapp
And finally jistsu deploy that's it!
So basically after you're logged in, it's just jistsu deploy and it supports all npm moduels!
You still think Heroku is a winner? Anyway, that might be relative, I'm not against anyone, just expressing my thoughts.
I quote :
"Support: I was blocked for 10.5 hours on a tiny bug with Heroku that ensured I couldn't db:push to sync up my databases. It took an awful lot of effort to get in touch with someone. With Nodejitsu, that's completely different. They're heavily active in IRC and put up with all my inane questions. In #heroku, I just get herobot spamming every ten minutes."
I've had the same experience.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)