News for hackers. Stuff that matters.
Re:Ask HN: Where do you host your NodeJS applications? by ratsbane on Sunday July 28, 2013 @09:35AM (#6116652)
A second-hand IBM X3650 in my basement. 16GB RAM, dual quad-core 3Ghz Xeons, dual power supplies, and hot-swap RAID 5 drives for less than $400 on eBay, connected through the Comcast connection I already have. The Comcast connection is the weak link. Google fiber would be so nice.
Re:Ask HN: Where do you host your NodeJS applications? by WayneDB on Sunday July 28, 2013 @03:01PM (#6117673)
I love those cheap refurbished IBM X servers. I use the tower models as workstations.
Re:Ask HN: Where do you host your NodeJS applications? by ddod on Sunday July 28, 2013 @09:28AM (#6116638)
Since so many people here are saying Heroku, Linode, or AWS, I'm wondering if someone could explain the value proposition of these over a cheap VPS for most small to medium deployments.

I can get a 4GB ram VPS for $10/m, which seems orders of magnitude cheaper than the popular options. What am I missing out on?

Re:Ask HN: Where do you host your NodeJS applications? by andypants on Sunday July 28, 2013 @09:45AM (#6116680)
For heroku and other PaaS's, there's no need to manage a server. Don't need to set it up, don't need to maintain it, keep software up to date, etc.
Re:Ask HN: Where do you host your NodeJS applications? by trafficlight on Sunday July 28, 2013 @01:51PM (#6117403)
Publishing to Heroku is as simple as 'git push'. Scaling is super easy too. Need a second instance of your webserver? 'heroku ps:scale web=2' is all you need to do.
Re:Ask HN: Where do you host your NodeJS applications? by joshka on Saturday August 03, 2013 @11:46PM (#6154560)
Re: Heroku, free > not-free 4GB is unnecessary for small apps that aren't doing alot. Managing a VPS takes non-zero time, heroku takes as close to zero time as required. Your use case sounds different though, hence you're probably not missing anything.
Re:Ask HN: Where do you host your NodeJS applications? by hosay123 on Sunday July 28, 2013 @09:44AM (#6116676)
Kool-aid
Re:Ask HN: Where do you host your NodeJS applications? by abrown28 on Sunday July 28, 2013 @09:37AM (#6116658)
where?
Re:Ask HN: Where do you host your NodeJS applications? by ddod on Monday July 29, 2013 @07:19AM (#6120321)
I personally use UGVPS and ChicagoVPS. You can find a bunch of offers on lowendbox and webhostingtalk
Re:Ask HN: Where do you host your NodeJS applications? by electrichead on Sunday July 28, 2013 @08:01AM (#6116420)
Heroku at the moment. It has a good selection of add-ons (neo4j hosted for free) and I've found it "good enough". I have used nodejitsu before but when they bumped up all their prices for seemingly no reason, I left. Nodejitsu supports websockets whereas heroku only supports polling. Deploying to nodejitsu was a tonne faster than heroku.
Re:Ask HN: Where do you host your NodeJS applications? by mark_l_watson on Sunday July 28, 2013 @09:24AM (#6116624)
I haven't tried Nodejitsu yet, but their pricing looks really good because they have a $9/month plan for low volume web apps. My gripe about Heroku (which I have used on customer and my own projects) is that the minimum monthly price to get always-on service is $35/month. (The free tier unloads your app if it has no traffic for a while so the next user waits for a loading request). I have several personal projects that I want always-on, but they are low traffic apps.
Re:Ask HN: Where do you host your NodeJS applications? by weavie on Sunday July 28, 2013 @09:40AM (#6116666)
It is very easy to set up a service to ping your app once an hour to circumvent this.
Re:Ask HN: Where do you host your NodeJS applications? by dbond on Sunday July 28, 2013 @09:23AM (#6116621)
Have used Heroku, Dotcloud and AWS Elastic Beanstalk, all with good results.

Also hosting a few private apps on a digital ocean vps using dokku[1] which is working pretty well so far.

1. https://github.com/progrium/dokku

Re:Ask HN: Where do you host your NodeJS applications? by plasma on Sunday July 28, 2013 @09:22AM (#6116617)
Azure offers a free tier and hosts nodejs native: http://www.windowsazure.com/en-us/develop/nodejs/

(Disclaimer: Only used it for a simple app)

Re:Ask HN: Where do you host your NodeJS applications? by davidbanham on Sunday July 28, 2013 @09:57AM (#6116700)
Their node stuff is hosted on Windows, so some compiled modules will fail. Also, have had the deployment status lie to me a _lot_. Big green ticks when my app failed to deploy. Telling me the app has been updated to a new commit while still blithely serving the old version for _three days_.
Re:Ask HN: Where do you host your NodeJS applications? by vjk2005 on Sunday July 28, 2013 @10:07AM (#6116728)
So far I've been using Heroku, but lately as the apps I've been trying to put together have begun to have more interconnected pieces, their service has started to become stifling. For example, getting nginx to proxy to Node requires convoluted setups like "buildpacks" and other Heroku-specific custom configs all of which can be alleviated by switching to a VPS, which is what I'm planning to do in the coming months.
Re:Ask HN: Where do you host your NodeJS applications? by cdl on Sunday July 28, 2013 @08:11PM (#6118677)
Re:Ask HN: Where do you host your NodeJS applications? by deoxxa on Sunday July 28, 2013 @09:35AM (#6116653)
EC2 for some things, dedicated hardware for some others.

Where it sits, however, is only part of the problem!

I use plz[1] and instagit[2] in tandem via post-receive hooks to do the "deployment" bit, along with a service registry (closed-source, written on work time, boo!) like seaport[3] and a proxy based on httppp[4] to route requests to the right application.

---

1. https://github.com/deoxxa/plz

2. https://github.com/deoxxa/instagit

3. https://github.com/substack/seaport

4. https://github.com/deoxxa/httppp

Re:Ask HN: Where do you host your NodeJS applications? by philbo on Sunday July 28, 2013 @08:22AM (#6116471)
I'm going to try modulus.io later on today.

Obviously I don't have an opinion yet but my reason for giving it a try is that I've been told you get a free database instance in the same data center as your node instance, which is obviously good from a latency point of view.

Re:Ask HN: Where do you host your NodeJS applications? by idointernet on Sunday July 28, 2013 @08:29AM (#6116492)
I'm very curious modulus. Anyone else have any experience using them?
Re:Ask HN: Where do you host your NodeJS applications? by jonahss on Sunday July 28, 2013 @09:52AM (#6116693)
I just used them for a small project and was really happy with it. They provide just a couple environment vars attached to the process object and you're good to go.

I was talking to some of their employees at nodeconf this year and they explained that since Heroku only routes one request to an instance at a time, it essentially blocks on each request and you never get to actually leverage the concurrency of node.

Re:Ask HN: Where do you host your NodeJS applications? by zkirill on Sunday July 28, 2013 @04:03PM (#6117886)
I'm hosting on a Joyent SmartOS instance where the Node.js application is kept alive using the Service Management Facility (SMF).

I recently tried Heroku and Nodejitsu (business account) and ended up going back to Joyent.

Re:Ask HN: Where do you host your NodeJS applications? by tsenkov on Sunday July 28, 2013 @10:50AM (#6116821)
Just to list some of the most popular choices:

  Heroku
  Nodejitsu
  VPS
  Linode
  Digital Ocean
  Amazon AWS
  dotCloud
  OpenShift
  CleverCloud
  NodeJS Cloud (by CleverCloud)
Re:Ask HN: Where do you host your NodeJS applications? by ruberino on Sunday July 28, 2013 @11:08AM (#6116871)
I'll say check out Modulus (http://modulus.io) we're new but things are very well.

Disclaimer: I'm one of the co-founders.

Re:Ask HN: Where do you host your NodeJS applications? by wolfeidau on Sunday July 28, 2013 @05:33PM (#6118171)
I currently use a couple of things:

* Heroku

* ec2 using awsbox for dev with push deploys https://github.com/mozilla/awsbox

If you want SSL support and have a few apps then heroku can be a bit expensive, also monitoring is a paid addon.

Lots of choices at the moment which is awesome.

Re:Ask HN: Where do you host your NodeJS applications? by richards on Monday July 29, 2013 @10:44PM (#6125120)
I just wrote up an eval of 11 popular node providers https://seroter.wordpress.com/2013/07/29/where-the-heck-do-i...
Re:Ask HN: Where do you host your NodeJS applications? by flowerpot on Sunday July 28, 2013 @09:48AM (#6116687)
If you are looking for a self hosted solution I would recommend taking a look at Dokku. Its like a self hosted mini version of Heruko.

https://github.com/progrium/dokku

Re:Ask HN: Where do you host your NodeJS applications? by munimkazia on Monday July 29, 2013 @05:33AM (#6120073)
In my organization, we have a data center. For my own side projects, I have used linode, but I am considering looking at PAAS solutions if they aren't too expensive.
Re:Ask HN: Where do you host your NodeJS applications? by wesleystrikes on Saturday August 10, 2013 @06:32PM (#6192920)
NodeCloud is great for scalable and custom tailored Nodejs infrastructure - http://nodecloud.io/
Re:Ask HN: Where do you host your NodeJS applications? by jaxbot on Sunday July 28, 2013 @09:22AM (#6116620)
Linode. It's cheap and gives me full control, though I would be curious to see how its cost to scale is vs. other "cloud" platforms.
Re:Ask HN: Where do you host your NodeJS applications? by ewolfe on Sunday July 28, 2013 @08:04AM (#6116431)
AWS Elastic Beanstalk. I was going with the heroku route at first, until they wanted to charge me $20 a month to enable SSL support for my app!
Re:Ask HN: Where do you host your NodeJS applications? by chuckd1356 on Sunday July 28, 2013 @08:18AM (#6116461)
I'm going through the exact same transition right now. $20/month is more than the cert itself.
Re:Ask HN: Where do you host your NodeJS applications? by jordanthoms on Sunday July 28, 2013 @08:41AM (#6116519)
IIRC it's because they can't just attach an extra IP to their load balancers for each SSL site, since Amazon doesn't allow you to attach multiple elastic ips to one instance. So, they need to use an elastic load balancer for each site, which costs $18 per month + bandwidth. So they are probably actually just breaking even or losing money on that $20/month fee.
Re:Ask HN: Where do you host your NodeJS applications? by dpweb on Sunday July 28, 2013 @05:25PM (#6118141)
6 different apps, one of which hosts 12 blogs, all on a $1/mo. 128MB RAM Hosted w/SSD. Node, good stuff..
Re:Ask HN: Where do you host your NodeJS applications? by waxzce on Sunday July 28, 2013 @10:19AM (#6116755)
there is http://www.clever-cloud.com/ and the http://nodejs-cloud.com/ services :-) no PRISM issue on it & auto scaling
Re:Ask HN: Where do you host your NodeJS applications? by andypants on Sunday July 28, 2013 @09:51AM (#6116689)
Could this post be made into a poll?
Re:Ask HN: Where do you host your NodeJS applications? by nailer on Sunday July 28, 2013 @08:03AM (#6116427)
EC2, for no other reason that's where my company hosts all its apps.
Re:Ask HN: Where do you host your NodeJS applications? by filearts on Sunday July 28, 2013 @07:56AM (#6116408)
Also nodejitsu for Plunker.
Re:Ask HN: Where do you host your NodeJS applications? by rfolstad on Sunday July 28, 2013 @08:55AM (#6116556)
VPS (debian) needed websockets and SSL
Re:Ask HN: Where do you host your NodeJS applications? by prodev42 on Sunday July 28, 2013 @11:03AM (#6116859)
the most popular ones I hear from hackernews and reddit prog seems to be

microsoft azure

heroku

digital ocean

linode

amazon aws

dotcloud

openshift

openstack

google appengine

can anyone tell me the pros and cons of each?I doubt there will be one who who tried them all though...

Re:Ask HN: Where do you host your NodeJS applications? by hungsbellabell on Sunday July 28, 2013 @08:54AM (#6116555)
Digital Ocean
Re:Ask HN: Where do you host your NodeJS applications? by timmillwood on Sunday July 28, 2013 @07:48AM (#6116387)
Heroku
Re:Ask HN: Where do you host your NodeJS applications? by mmmmm on Sunday July 28, 2013 @07:40AM (#6116371)
Heroku
Re:Ask HN: Where do you host your NodeJS applications? by pbobak on Sunday July 28, 2013 @08:28AM (#6116488)
VPS or Heroku
Re:Ask HN: Where do you host your NodeJS applications? by umren on Sunday July 28, 2013 @07:52AM (#6116399)
digitalocean
Re:Ask HN: Where do you host your NodeJS applications? by regecks on Sunday July 28, 2013 @08:08AM (#6116445)
Me too. I'd love to use Heroku/AppFog/whatever but there always seems to be a snag (no websockets, no UDP traffic, bleh).

Might have to try Nodejitsu one of these days but the pricing kind of pains me when I think about how many low-traffic node apps I can host on a $5 DO.

Re:Ask HN: Where do you host your NodeJS applications? by htsh on Sunday July 28, 2013 @09:56AM (#6116696)
Seconded. For our production game servers we've only used EC2 but a couple of us have started working with digitalocean for our own projects & are very happy with them all around.
Re:Ask HN: Where do you host your NodeJS applications? by MattiasE on Sunday July 28, 2013 @09:58AM (#6116702)
Linode
Re:Ask HN: Where do you host your NodeJS applications? by jeanbebe on Sunday July 28, 2013 @08:44AM (#6116526)
EC2
Re:Ask HN: Where do you host your NodeJS applications? by mambodog on Sunday July 28, 2013 @08:41AM (#6116520)
Linode
Re:Ask HN: Where do you host your NodeJS applications? by elisee on Sunday July 28, 2013 @08:30AM (#6116493)
VPS
Re:Ask HN: Where do you host your NodeJS applications? by girvo on Sunday July 28, 2013 @08:15AM (#6116459)
VPS
Re:Ask HN: Where do you host your NodeJS applications? by daleharvey on Sunday July 28, 2013 @07:49AM (#6116390)
Linode
Re:Ask HN: Where do you host your NodeJS applications? by giulivo on Sunday July 28, 2013 @07:43AM (#6116379)
OpenShift
Re:Ask HN: Where do you host your NodeJS applications? by oron on Sunday July 28, 2013 @08:11AM (#6116450)
reliablesite.net
Re:Ask HN: Where do you host your NodeJS applications? by joshka on Sunday July 28, 2013 @07:55AM (#6116405)
heroku
Re:Ask HN: Where do you host your NodeJS applications? by yoshuawuyts on Sunday July 28, 2013 @07:52AM (#6116397)
nodejitsu