How to configure dedicated server?

What are some good server infra setups for deploying node.js applications?

  • Say, I own few dedicated servers and I want to deploy my Node.js application. What are some of the good ways to configure and setup? What tools might help me when considering "High Availability (failover through clusters)", "Scaling", "Easy to deploy"? Do I need to back this with some other web-server, say, Nginx ? And is it enough to create a sysVinit script "/etc/init.d/myapp" and use daemon tools along with that? And for failovers, just use HA-proxy. But, these seem to look like non-conventional methods for Node.js and doesn't seem to be the right thing to do. How are they doing it at Nodejitsu, Joyent, c9, etc... ?

  • Answer:

    I used Nginx fronted NodeJS on EC2 instances (2 medium) behind ELB. The application uses hybrid MySql and MongoDB and is handling 20k users with capacity to spare. This is for an HTTP REST API.

Joe Munoz at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.