Re:Apple’s $9 engineering marvel no one wants (2017)
by liquidise on Monday April 08, 2019 @12:20PM
(#19606588)
Some stats from my front-page a month ago:
HN front pages bring a bunch of users quickly, but it isn't a scale that will cripple moderate hardware with some basic performance tuning (directly serving assets, for example). The tail is also great, fully 3/4 of my post-front-page views come from click-throughs on social.
[ Parent
| on HN ]
Re:Apple’s $9 engineering marvel no one wants (2017)
by majewsky on Monday April 08, 2019 @01:20PM
(#19607143)
I saw similar numbers on my server. About 10,000 views over the course of an entire day (derived as total data transmitted divided by the size of one full page load), with the bulk concentrated in the first two hours. My nginx served it without breaking a sweat. Peak CPU usage was at 5% and network load peaked at 1 Mb/s (data at 60-second resolution).
My stack was just nginx serving static files, on a 1/1 VM that also hosts half a dozen other services (XMPP, Gitea, Matrix, Mumble etc.).
It is my belief that everyone who encounters the HN hug of death is doing something wrong.
Re:Apple’s $9 engineering marvel no one wants (2017)
by Macha on Monday April 08, 2019 @01:39PM
(#19607315)
I used to have a blog that ran on Wordpress (3.0 was I think the current version at the time, this was a while ago) with the APC plugin, served via Apache. An article hit HN and it fell over.
Some time later I had migrated to blogofile and nginx and made it to HN again, the server barely noticed.
Re:Apple’s $9 engineering marvel no one wants (2017)
by Nextgrid on Monday April 08, 2019 @12:26PM
(#19606644)
It actually seems pretty manageable, I'm surprised the site died. You're running Wordpress by any chance?
Re:Apple’s $9 engineering marvel no one wants (2017)
by misframer on Monday April 08, 2019 @12:50PM
(#19606848)
I’m using Hugo and Caddy. It’s running out of file handles.
Re:Apple’s $9 engineering marvel no one wants (2017)
by mholt on Tuesday April 09, 2019 @05:56PM
(#19619368)
The hugo plugin, or are you running hugo separately?