2 ms·
Not off the top of my head, although I know the recommendation at least used to be that Node was not run with full public access. I think it makes sense to sep
by danpalmer 12y ago
Not off the top of my head, although I know the recommendation at least used to be that Node was not run with full public access.
I think it makes sense to separate the security and low level details of serving a public site, and the details of hosting an application though. This is common practice with Django, using gunicorn and nginx, and I believe with Ruby as well in a similar manner.
- nailer 12y agoDjango and Ruby /can't/ serve static content at any speed as they block their main thread. Node and nginx use the same model for io, as does Tornado and Eventmachine (though the latter two are nowhere near as popular).