Re:This website has 81% battery power remaining
by aaaaaaaaaaab on Sunday December 12, 2021 @04:31PM
(#29533828)
Then why do people talk about the "HN hug of death"?
Re:This website has 81% battery power remaining
by brightball on Sunday December 12, 2021 @06:57PM
(#29534993)
If you’ve got a bunch of images and your site is running uncached with a clunky CMS behind it, it will probably strain you.
The traffic is usually about 40k uniques over 24 hours. For reference, my uncached site is running on Elixir which is often better without caching.
Re:This website has 81% battery power remaining
by ComputerGuru on Monday December 13, 2021 @12:42AM
(#29537013)
It’s usually not images but rather the CMS making 100 read queries and 20 write queries per page load without any object caching that brings sites down. Even a slow uplink serving big image won’t bring an nginx server down, it’s all async.
Re:This website has 81% battery power remaining
by brightball on Monday December 13, 2021 @01:46PM
(#29542846)
Serving a lot of images at the same time will work the disk I/O up in many cases. Probably gotten a lot better with NVMe though.
Re:This website has 81% battery power remaining
by ComputerGuru on Monday December 13, 2021 @03:19PM
(#29544080)
It’s typically one page that hits Reddit/HN/whatever with its fixed set of static images. It’s pretty much the ideal scenario for the kernel’s in-memory cache.
Now if you reach the top of a large subreddit, or have a viral tweet with a link to you, that's a different order of magnitude. HN is just not that large.