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
Related Q & A:
- What can Node.js do that ASP.NET cannot?Best solution by Stack Overflow
- How can I install node.js module using phantom, instead of npm?Best solution by Stack Overflow
- What are some good skateboard setups?Best solution by Yahoo! Answers
- What is a good STMP outgoing YAHOO server?Best solution by serversmtp.com
- What are some good free applications on the Android market?Best solution by play.google.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.