Re:Exploring Rust (from C#)
by FranOntanaya on Wednesday March 23, 2016 @04:18AM
(#11342837)
Hug of death. Cache https://webcache.googleusercontent.com/search?q=cache:EDeYMv...
[ Parent
| on HN ]
This is offtopic but what should be size of the VM to handle HN's front page traffic. I know a lot of it depends upon whether the website is static or is backed by DB and on various different factors. But many a times some of my friends ask me questions like this.
To make it simple, lets take 2 very basic websites.
1. A ghost blog. (node.js) 2. A wordpress blog backed by a mysql db. (php)
I had a ghost blog on a micro instance of a german VPN, a machine with 256mb of ram and not too fast processing power. Both times I reached HN home page, in one case for some hours, it worked without issues and only a minor slowdown.
VPN was meant to be VPS but I cannot edit the post
Re:Exploring Rust (from C#)
by nblumhardt on Wednesday March 23, 2016 @05:45AM
(#11343101)
Thank you - was a bit of an unexpected appearance here so getting onto the erm, technical issues, now...
A quick solution could be to host the page as a static page and have a nginx route serve that page.
Re:Exploring Rust (from C#)
by nblumhardt on Wednesday March 23, 2016 @05:57AM
(#11343140)
Thanks - kicked off a resize, that may not have been the best idea. That'll teach me for hanging on to mainframe-era blogging technology :-)
Mainframe-era blog tech, eh?
Re:Exploring Rust (from C#)
by nblumhardt on Wednesday March 23, 2016 @06:44AM
(#11343305)
I needed that laugh!
And some good news, serving a static copy from the original domain/URL, so all might not be lost :-)
It's funny until you run into a group of people actually using COBOL to run their website.