Live data from Hacker News

Ask HN: How much does it cost to run Hacker News?

news.ycombinator.com

61–70 of 91 posts

Re: Ask HN: How much does it cost to run Hacker News?

#61
Hacker News' secret sauce: no fat image nor video nor sound file serving, just the text, ma'am.

Something that would have made Gopher protocol proud to coexist along in this exclusive class.

Probably could save even more money in bandwidth cost with mostly unsecured HTTP.

Re: Ask HN: How much does it cost to run Hacker News?

#62
post #13

Earlier quoted context omitted.

I wonder how much it would cost to run if it were designed and run with 2022 modern best practices of Kubernetes, Helm, Node + React, on a fleet of cattle servers hosted on AWS, paired with expensive add-on services because running PostgreSQL is too hard. The cynic in me says it would cost at least 10x that, require a full time team of 5 devops, and we'd suffer at the very least the same amount of outages, if not wor…

Buuut... The Aws+kubernetes approach is very scalable. If overnight, HN became the new Facebook, the single server model wouldn't work, and the business opportunity would be lost. However, the kubernetes model probably would scale (probably with a few hiccups still, but doable), and HN would suddenly be a 100x business. That is why business leaders pick the more expensive 'best practice' setup.

No. Bored engineers pick it because it’s more fun to build complex systems being able to handle a wider array of scenarios.

Re: Ask HN: How much does it cost to run Hacker News?

#64
post #13

Earlier quoted context omitted.

I wonder how much it would cost to run if it were designed and run with 2022 modern best practices of Kubernetes, Helm, Node + React, on a fleet of cattle servers hosted on AWS, paired with expensive add-on services because running PostgreSQL is too hard. The cynic in me says it would cost at least 10x that, require a full time team of 5 devops, and we'd suffer at the very least the same amount of outages, if not wor…

Buuut... The Aws+kubernetes approach is very scalable. If overnight, HN became the new Facebook, the single server model wouldn't work, and the business opportunity would be lost. However, the kubernetes model probably would scale (probably with a few hiccups still, but doable), and HN would suddenly be a 100x business. That is why business leaders pick the more expensive 'best practice' setup.

I don't believe business opportunities are lost that quickly. Sure if you're down for 2 months, yes. But use a solid dbms and web framework and you can transition to multiple servers quite easily, in the order of hours. Doesn't even have to be k8s, but call in an expert the next day if you have to.

Re: Ask HN: How much does it cost to run Hacker News?

#65
post #28

Earlier quoted context omitted.

Then why do you refer them as "best practice", can we use "common practice" instead?

There's a Dilbert (rather than an xkcd for that). When everything is described by a superlative, really, it's just 'average'. Sites like Trip Advisor or Amazon, or anything with a rating system. The "average" person nearly always puts 4 or 5 stars for average products or establishments.

I heard that on Uber and AirBnB, 4 (out of 5) stars is understood as bad.

When I worked at a large non-American internet company, I know there were some internal discussions on how to deal with different cultural interpretations of numerical ratings (still unresolved AFAIK).

Re: Ask HN: How much does it cost to run Hacker News?

#67
post #13

Earlier quoted context omitted.

I wonder how much it would cost to run if it were designed and run with 2022 modern best practices of Kubernetes, Helm, Node + React, on a fleet of cattle servers hosted on AWS, paired with expensive add-on services because running PostgreSQL is too hard. The cynic in me says it would cost at least 10x that, require a full time team of 5 devops, and we'd suffer at the very least the same amount of outages, if not wor…

Buuut... The Aws+kubernetes approach is very scalable. If overnight, HN became the new Facebook, the single server model wouldn't work, and the business opportunity would be lost. However, the kubernetes model probably would scale (probably with a few hiccups still, but doable), and HN would suddenly be a 100x business. That is why business leaders pick the more expensive 'best practice' setup.

Reading your comment and the answers, I have a hard time telling if you're being ironic or serious here. I'm going to be charitable and assume yours is some very sharp wit that flew over the heads of some that replied to you :)

Indeed it is a terrible idea to optimise any piece of software that's put online in the rare occurrence it becomes the next Facebook. No, it will not happen overnight. No, you can run on an autoscalable k8s on AWS setup and it will still break, you will have to completely re-architecture and write a lengthy "what went wrong" post-mortem anyway.

I feel the "premature optimisation is the root of all evil" mantra is not yet being taught in DevOps school.

Re: Ask HN: How much does it cost to run Hacker News?

#68
post #13

Earlier quoted context omitted.

I wonder how much it would cost to run if it were designed and run with 2022 modern best practices of Kubernetes, Helm, Node + React, on a fleet of cattle servers hosted on AWS, paired with expensive add-on services because running PostgreSQL is too hard. The cynic in me says it would cost at least 10x that, require a full time team of 5 devops, and we'd suffer at the very least the same amount of outages, if not wor…

Buuut... The Aws+kubernetes approach is very scalable. If overnight, HN became the new Facebook, the single server model wouldn't work, and the business opportunity would be lost. However, the kubernetes model probably would scale (probably with a few hiccups still, but doable), and HN would suddenly be a 100x business. That is why business leaders pick the more expensive 'best practice' setup.

> If overnight, HN became the new Facebook

Begone, Satan!

> That is why business leaders pick the more expensive 'best practice' setup.

Realistically, how many companies reach the scale of FB? If successful, they'll reach a few thousand concurrent users, which can be serviced by the monolith model, and even scaled traditionally. HN is a testament of how well this model can work.

Building an entire infrastructure around the 1e-9% chance it will have to service a FAANG-level scale of traffic is the definition of premature optimization.

Instead, setting up and maintaining this HA infrastructure is a huge resource sink, which at an early stage of a startup can make or break the project.

It's insane that this model of building for burstable scale where everything is a microservice has become so prevalent in the industry. Cargo culting whatever tech is produced by FAANGs is doing immeasurable harm. These are not best practices.

EDIT: Ah, if you were being sarcastic... Touché.

Re: Ask HN: How much does it cost to run Hacker News?

#69
post #42

Earlier quoted context omitted.

It's curious how "best practices" would cost ~10x and require 5 devops. HN is crazy simple. Even $500/m sounds a bit high imo.

Never underestimate the tendency of many SWE's to make things more complicated than they need to be.

Minimalist design obfuscates the maximalist manifesto.
Post reply on HN