Re:CGI Using Node.js
by thomas4019 on Sunday January 04, 2015 @03:28PM
(#8835691)
Anyone have any ideas on the performance impact of this vs a typical NodeJS installation? I imagine there's a lot more overhead from starting up the process each time. A pretty cool idea but seems like this loses the benefits of NodeJS, speed and scalability.
[ Parent
| on HN ]
Re:CGI Using Node.js
by dhaivatpandya on Sunday January 04, 2015 @03:33PM
(#8835710)
It would have been better if implemented under FastCGI which solves the one-process-per-request problem. I guess the intended benefit of the project isn't really the Node eventloop, it's that it allows developers to use the same language on the frontend and backend.
Re:CGI Using Node.js
by o_____________o on Sunday January 04, 2015 @03:38PM
(#8835733)
Yes, but don't underestimate the value of penetration into cheaper hosts like DreamHost and Godaddy. PHP has always had quality issues, but survives on its eternal ubiquity, which is in no small part because of the CGI model.
Um, I would say it's mostly cause of mod_php support in apache, not cgi mode. Also, the fact that 5 minutes gets you AMP installed on just about any OS.
On the topic of this site though, 3 exclamation marks on the title? Really???