Re:Self-Hosting Dozens of Web Applications and Services on a...
by tluyben2 on Friday December 31, 2021 @06:45AM
(#29747126)
I ran servers with 100000s of sites/applications per server and indeed php made that possible. I had a complex setup with jails/chroots and selinux and some customizations to the mysql, apache and php source to make sure users couldn't abuse things. With nodejs or whatever, we would've ran a huge loss, now we ran a nice profit.
When people go on about environmental issues and such, I cannot help to think all the useless cycles spent by 'modern software'. FaaS helps I guess. But that is not really unlike CGI; with my old setup it is actually practically the same but mine was less flexible (php only).
Re:Self-Hosting Dozens of Web Applications and Services on a...
by diordiderot on Saturday January 01, 2022 @05:18AM
(#29757133)
Why does php not need to idle?
The beauty of PHP is that more services consume no additional resources until they are used. This lets you run many many services without worrying about resource usage. In stark contrast to running everything in containers where you have at least a process per idle service.