▲ 113 ▼ How Standard Ebooks serves millions of requests per month with a 2GB VPS (alexcabal.com) submitted 2 years ago by bugsmith@programming.dev [M] to c/programming@programming.dev 39 comments fedilink hide all child comments
[–] TCB13@lemmy.world 2 points 2 years ago (1 child) Who wants to wait 60s for a website to load? permalink fedilink source parent hideshow 2 child comments replies: [–] redcalcium@lemmy.institute 1 point 2 years ago (1 child) Not saying you should use CGI (who does these days), but saying you could still use it if you want permalink fedilink source parent hideshow 2 child comments replies: [–] TCB13@lemmy.world 1 point 2 years ago The point is that PHP is much more performant and doesn't waste resources as NodeJS does. While you can run PHP on CGI with a decent bootstrap performance that won't get people annoyed the same can't be said of NodeJS. Nowadays people do PHP-FPM which is way faster at scaling up that any NodeJS process manager out there and doesn't sit wasting resources when a particular application doesn't have requests. permalink fedilink source parent
[–] redcalcium@lemmy.institute 1 point 2 years ago (1 child) Not saying you should use CGI (who does these days), but saying you could still use it if you want permalink fedilink source parent hideshow 2 child comments replies: [–] TCB13@lemmy.world 1 point 2 years ago The point is that PHP is much more performant and doesn't waste resources as NodeJS does. While you can run PHP on CGI with a decent bootstrap performance that won't get people annoyed the same can't be said of NodeJS. Nowadays people do PHP-FPM which is way faster at scaling up that any NodeJS process manager out there and doesn't sit wasting resources when a particular application doesn't have requests. permalink fedilink source parent
[–] TCB13@lemmy.world 1 point 2 years ago The point is that PHP is much more performant and doesn't waste resources as NodeJS does. While you can run PHP on CGI with a decent bootstrap performance that won't get people annoyed the same can't be said of NodeJS. Nowadays people do PHP-FPM which is way faster at scaling up that any NodeJS process manager out there and doesn't sit wasting resources when a particular application doesn't have requests. permalink fedilink source parent