News for hackers. Stuff that matters.
Re:Exploring Rust (from C#) by FranOntanaya on Wednesday March 23, 2016 @04:18AM (#11342837)
Re:Exploring Rust (from C#) by h43k3r on Wednesday March 23, 2016 @05:45AM (#11343103)
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)

Re:Exploring Rust (from C#) by mseri on Wednesday March 23, 2016 @06:31AM (#11343261)
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.
Re:Exploring Rust (from C#) by mseri on Wednesday March 23, 2016 @01:02PM (#11346236)
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...
Re:Exploring Rust (from C#) by h43k3r on Wednesday March 23, 2016 @05:48AM (#11343110)
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 :-)
Re:Exploring Rust (from C#) by kibwen on Wednesday March 23, 2016 @06:24AM (#11343232)
Mainframe-era blog tech, eh?

http://www.coboloncogs.org/INDEX.HTM

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 :-)

Re:Exploring Rust (from C#) by protomyth on Wednesday March 23, 2016 @02:07PM (#11346800)
It's funny until you run into a group of people actually using COBOL to run their website.
Re:Exploring Rust (from C#) by gedrap on Wednesday March 23, 2016 @11:57AM (#11345579)
HTML caching at nginx level would do the trick as well, assuming you have enough bandwidth.