Re:Q&A: PHP Creator Rasmus Lerdorf (2002)
by Felk on Sunday September 03, 2017 @09:12AM
(#15161258)
Yes, but you should proxy your Node.js application behind a production ready webserver like nginx or Apache anyway.
[ Parent
| on HN ]
Re:Q&A: PHP Creator Rasmus Lerdorf (2002)
by tannhaeuser on Sunday September 03, 2017 @10:32AM
(#15161590)
Why?
Re:Q&A: PHP Creator Rasmus Lerdorf (2002)
by jszymborski on Sunday September 03, 2017 @12:16PM
(#15162203)
Because your nodejs server will get DDOS'd when 10 people access it simultaneously.
(Hyperbole that hopefully illustrates my point)
Re:Q&A: PHP Creator Rasmus Lerdorf (2002)
by tannhaeuser on Sunday September 03, 2017 @12:43PM
(#15162390)
No it won't, unless you're doing something stupid in your app, such as using synchronous or CPU-heavy code. But putting nginx in front of it doesn't save you here either; you'd need a caching reverse proxy instead.
The only thing where nginx might help performance-wise here is static file access (of eg. static web assets such as CSS or static HTML).