News for hackers. Stuff that matters.
Re:Roughly 2000 blogs running on a $7/month dyno by helsinkiandrew on Wednesday September 23, 2020 @09:09AM (#24566569)
I would have thought that the number of blogs/total amount of content any site can serve is theoretically infinite.

It’s the rate of requests it can handle that matters, which may explain why I’m getting an “Application error” page at the moment

Re:Roughly 2000 blogs running on a $7/month dyno by tyingq on Wednesday September 23, 2020 @09:22AM (#24566714)
There are, I imagine, some tricks for lots of virtual hosts. Like not running out of file descriptors if they each have their own log. Or watching for bloat in config files. Apache, at least, used to bog down on startup with thousands of VirtualHost directives. Or perhaps an acme cert renewal script that runs serially and takes a looong time to finish.
Re:Roughly 2000 blogs running on a $7/month dyno by pjc50 on Wednesday September 23, 2020 @10:24AM (#24567424)
mod_vhost has existed for something like 20 years. https://httpd.apache.org/docs/2.4/mod/mod_vhost_alias.html ; back in the day ISPs like Demon were hosting thousands of customer websites off single large machines (on the hardware of 20 years ago!) using this technique.
Re:Roughly 2000 blogs running on a $7/month dyno by tyingq on Wednesday September 23, 2020 @10:29AM (#24567486)
Sure, though that page you linked contains some tips on how to avoid performance issues with the directory substitution. My point was that some thought is required to do thousands of vhosts.
Re:Roughly 2000 blogs running on a $7/month dyno by 87zuhjkas on Wednesday September 23, 2020 @10:06AM (#24567203)
I would pick nginx in the first place.
Re:Roughly 2000 blogs running on a $7/month dyno by tyingq on Wednesday September 23, 2020 @10:13AM (#24567302)
Nginx may need tuning for high numbers of server blocks, so it's not completely immune: http://nginx.org/en/docs/http/server_names.html#optimization