News for hackers. Stuff that matters.
Re:Reclaim the Stack by andrewstuart on Sunday September 08, 2024 @07:15PM (#41484067)
How can a NewsDesk application need kubernetes?

Wouldn't a single machine and a backup machine do the job?

Re:Reclaim the Stack by bluepizza on Sunday September 08, 2024 @07:28PM (#41484141)
Most simple applications that use k8s are doing it for autoscaling or no downtime continuous deployment (or both).
Re:Reclaim the Stack by wordofx on Sunday September 08, 2024 @08:16PM (#41484390)
So basically 2 things you don’t need k8s to solve?
Re:Reclaim the Stack by mplewis on Monday September 09, 2024 @03:02AM (#41486102)
What would you use to solve these problems?
Re:Reclaim the Stack by mrweasel on Monday September 09, 2024 @03:25AM (#41486207)
VMs and load balancers?

From the documentation on the site it says that they're running on dedicated servers from Hetzner... So they aren't auto-scaling anything, they are paying for that hardware 24/7. It makes absolutely no difference what the number of running containers are, the cost remains constant.

Re:Reclaim the Stack by bluepizza on Monday September 09, 2024 @03:37AM (#41486265)
You don't need anything. You choose the most convenient tool according to your professional judgment. I certainly hope that nobody is using Kubernetes because they are against the wall, and instead decide to use it for its features.
Re:Reclaim the Stack by briandear on Sunday September 08, 2024 @07:32PM (#41484168)
Is business running a complete application stack on a single machine?
Re:Reclaim the Stack by notpushkin on Sunday September 08, 2024 @08:34PM (#41484485)
A lot of businesses don’t need more than a couple machines (and can get away with one, but it’s not good for redundancy).
Re:Reclaim the Stack by liveoneggs on Sunday September 08, 2024 @11:36PM (#41485224)
my vps reboots every 18 months or so..
Re:Reclaim the Stack by mrweasel on Monday September 09, 2024 @03:27AM (#41486219)
Frequently yes, normally I'd say that the database server is on a separate machine, but otherwise yes.

I've seen companies run a MiniKube installation on a single server and run their applications that way.

Re:Reclaim the Stack by andrewstuart on Sunday September 08, 2024 @07:24PM (#41484116)
I just looked it up - its because they run Ruby On Rails.
Re:Reclaim the Stack by zymhan on Sunday September 08, 2024 @07:38PM (#41484204)
and so what?
Re:Reclaim the Stack by andrewstuart on Sunday September 08, 2024 @07:39PM (#41484216)
Ruby On Rails is well known for not being at the fast end of the spectrum, so it needs lots of machines, and lots of machines gives reason to user Kubernetes.

A NewsDesk application written in something compiled for example golang would be much faster and likely could run on a single server.

The benefit of single server being you don't need kubernetes and can spend that development resource on developing application features.

Re:Reclaim the Stack by jakelazaroff on Sunday September 08, 2024 @07:53PM (#41484283)
I personally prefer Go to Rails, but let’s be real here: the market cap of Rails is probably, like, a hundred times the market cap of Go.
Re:Reclaim the Stack by sien on Sunday September 08, 2024 @08:42PM (#41484519)
No doubt with Github, AirBnB, Shopify and other big sites RoR is bigger for the front end.

But now if lots of those sites are running on K8s with Argo CD or something or on a cloud platform where the infrastructure is provisioned with Terraform Go is supporting a great deal of things but it's far less visible.

Re:Reclaim the Stack by maxk42 on Sunday September 08, 2024 @08:54PM (#41484569)
I believe Crystal is worth a look here.
Re:Reclaim the Stack by dbackeus on Monday September 09, 2024 @03:48PM (#41492763)
In theory, from a performance point of view, we could easily run our main Rails monolith on a single server.

One does not chose single server deployments when reaching for four nines of uptime though. We also run a lot of ancillary applications / staging environments etc which is what warrants a cohesive deployment platform.

More context here: https://news.ycombinator.com/item?id=41492697

Re:Reclaim the Stack by dbackeus on Monday September 09, 2024 @03:44PM (#41492697)
Because it's a fully featured public relations platform, not just a "newsdesk" (though that's what it started as some 20 years ago).

We have a main monolithic application at the core. But there are plenty of ancillary applications used to run the various parts of our application (eg. analytics, media monitoring, social media monitoring, journalist databases, media delivery, LLM based content sugestion etc).

Then we have at least one staging deployment for each app (the monolith has multiple). All permutations of apps and environments reach about 50 applications deployed on the platform, all with their own highly available databases (Postgres, Redis, ElasticSearch and soon ClickHouse).