5 ms·
You probably also don't have the amount of egress traffic that HN does.
by 3np 4y ago
You probably also don't have the amount of egress traffic that HN does.
- dotancohen 4y agoYes, I'm sure that for HN bandwidth is one of the most important factors. For myself it's almost an afterthought. And bandwidth is a critical fulcrum for cloud pricing comparisons.
- warrenm 4y agoHN can't have that much egress traffic Even if you have 100,000 simultaneous users egressing 10k/minute (which seem implausibly high, but usable for a quick approximation), you're only looking at 40 TB/mo And that has to be off by at least an order of magnitude (if not 2 or three) There's no reason, from a bandwidth perspective, you can't host HN on $100 worth of DO droplets and some Object storage/hosted db If HN cost even $500/mo in hosting, I'd be quite surprised
- warrenm 4y agoterramex[0] posted[1] this link - https://news.ycombinator.com/item?id=28479595 https://news.ycombinator.com/item?id=28479595 wherein dang[2] links to https://news.ycombinator.com/item?id=16076041 https://news.ycombinator.com/item?id=16076041, itself a comment from sctb[3] saying they're running 4M requests a day from a Xeon E5-2637 running FreeBSD with mirrored SSD for the site, and mirrored spinny for logs That post doesn't say how much memory they were running in 2018 (I'll guess 32G, which is probably about right for a dual-core CPU or that era[4]), but an as-close-to-similarly-specced phsyical box from Hetzner[5] (6 core, 64G RAM, mirrored 1TB NVMe, mirrored 2TB spinny) is currently € 64.26 per month (68+change in Germany vs Finland) with 20TB transfer per month (if you add-on the 10G uplink, unlimited (within fair use policies) on the 1gbit connection) With 4M requests/day (let's even triple that to 12M/day now), at 10k per request (a ridiculously high guess, I'm sure), that's only 40-120GB/day tops in egressed data (or 1.2-36TB per month) HN's a pretty cheap thing to run, as far as hardware and hosting is concerned :) ------------ [0] https://news.ycombinator.com/user?id=terramex https://news.ycombinator.com/user?id=terramex [1] https://news.ycombinator.com/item?id=32466789 https://news.ycombinator.com/item?id=32466789 [2] https://news.ycombinator.com/user?id=dang https://news.ycombinator.com/user?id=dang [3] https://news.ycombinator.com/user?id=sctb https://news.ycombinator.com/user?id=sctb [4] https://ark.intel.com/content/www/us/en/ark/products/64598/intel-xeon-processor-e52637-5m-cache-3-00-ghz-8-00-gts-intel-qpi.html https://ark.intel.com/content/www/us/en/ark/products/64598/i... [5] https://www.hetzner.com/dedicated-rootserver/ax51-nvme/configurator#/ https://www.hetzner.com/dedicated-rootserver/ax51-nvme/confi...