Live data from Hacker News

We handle 80TB and 5M page views a month for under $400

blog.polyhaven.com

221–230 of 426 posts

Re: We handle 80TB and 5M page views a month for under $400

#222

Earlier quoted context omitted.

This! Hetzner root servers, there is nothing else I know on the market that comes close in price/power ratio when you use the "Serverbörse". I run multiple low traffic websites, databases and a heavy traffic elk instance + my complete homelab in proxmox / docker for 48€ a month and there is even room for more. Highly recommended!

What is your strategy for dealing with server failure?

My app allows for "share nothing" architecture, basically using multiple DNS A records as load balancing. Currently it has 6 servers.

Even if 5 of them would go down at the same time, the site would still work as intended (thought probably couldn't handle peak load with less than 3 or 4). If one of or two are down, nothing happens.

Also completely reinstalling a server takes around an hour.

Re: We handle 80TB and 5M page views a month for under $400

#223
post #113

I often wonder why so many companies seem to spend tens of thousands of dollars per month on AWS services for their hosting. If most web apps nowadays are just CRUD apps, then why would you need to spend more than €300/month on hosting? All you'd need is data and the website itself, right? I'm currently clicking through various European hosting services and they seem to offer great dedicated servers at good prices. I…

Until you're spending the salary of a large fraction of your engineers on hosting costs, there are much bigger things to worry about than hosting costs. AWS is user friendly and a lot of engineers are familiar with it, so developer productivity is strongly in its favor. Also, you know what you're getting security-wise with AWS, and no one will blame you when your website / service goes down because AWS is down.

Wasn't that like IBM's business motto at some point? No one ever got fired for going with IBM. Then IBM definitely lost a lot of business to cloud modernization. Maybe the next logical step is the cheaper CloudFlare, which another comment mentioned is actually pretty profitable and then I'm sure the next cheaper incumbent will come in with just slightly less trust and reliability.

Re: We handle 80TB and 5M page views a month for under $400

#224

My thought is why don't the authors use github pages to host their static site with their links to a dedicated server with an unmetered link since their whole project is CC0. Downloading assets doesn't need to be low latency, thus I don't think the caching spatially near the user is important. Having a user login for patreon is something that would be missing and require some more thought I admit. I think quite a lot…

80TB/mo is quite a bit beyond the generosity of GitHub pages

Re: We handle 80TB and 5M page views a month for under $400

#225

Earlier quoted context omitted.

You missed the point, it's "pay $20 real quick to Cloudflare if you happen to get popular". There is a generous free tier, and for years I have paid nothing to Cloudflare, but I serve 2GB total every month to visitors, YMMV.

No I didn’t miss the point, $20 is weeks worth of meal in majority of countries. People from those countries run successful blogs without paying a penny to cloudlfare. I serve much more than 2GB per month without all that on a dynamic site. Paying cloudlfare for that is like putting a tarp over a dumpster fire to quickly hide it. I would rather think why my static site fails like shit when it doesn’t even need server…

I invite you to do the calculations of serving 80tb of data serving from S3. Over 6k was my result but happy to be proved wrong.

Re: We handle 80TB and 5M page views a month for under $400

#226
Honestly you can go very far with unmettered data plans. We consume 2GB/S, maxed out, which ends up being 5184TB a month. We have millions on users a day, all on a streaming video platform.

It cost less than $2K/Month.

The cloud is crazy expensive. Private servers are beasts, and they are cheap.

Of course, for this price, you don't have redundancy and horizontal scaling.

You also don't have to maintain and debug a system with redundancy and horizontal scaling.

Re: We handle 80TB and 5M page views a month for under $400

#227
post #207

I handle ~150TB and 26M page views for ~$500 by simply renting a few dedicated servers at hetzner. And if I didn't need quite a lot of processing power (more than average website), it would be much lower. I only need so many servers for the CPU power, not traffic.

This! Hetzner root servers, there is nothing else I know on the market that comes close in price/power ratio when you use the "Serverbörse". I run multiple low traffic websites, databases and a heavy traffic elk instance + my complete homelab in proxmox / docker for 48€ a month and there is even room for more. Highly recommended!

That sounds very cool, did you happen to write about it? I currently run all this at home using a dedicated computer but electricity here isn’t cheap and I’d like to move everything to proxmox (although I’m struggling to figure out how to move all these more or less manually set up docker compose services and lxc containers)

Re: We handle 80TB and 5M page views a month for under $400

#228

Earlier quoted context omitted.

What would you propose as an alternative?

AWS CloudFront

Cloudfront's bandwidth pricing is outrageously high at $0.08/GB (up to $0.12/GB for some regions). Meanwhile, Cloudflare doesn't even charge for bandwidth.

Re: We handle 80TB and 5M page views a month for under $400

#230

> To avoid this problem in the future, I decided to splurge a bit and go for a cloud solution where I wouldn’t have to worry about reliability, performance, scaling or integrity ever again: Google Firestore. > Google Firebase is nice and convenient, but it is quite expensive. We could investigate some other managed database options in future. I've only seen people get annoyed with Firestore over time, and migrating o…

What is a good solution compared to firebase ? I mean for a new project, alone something like user handling, registration, email sending, recovering passwords seem to cost some effort. Also be able to react to events, is kind of trivial in firebase. So is it really a bad choise (for the beginning)? Later you can always try to optimize.
Post reply on HN