Live data from Hacker News

Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

github.com

21–30 of 159 posts

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#21
post #3

What happens if a node fails?

As long as you have multiple replicas of the pods they keep serving traffic.

So no work rescheduling? That is a significant divergence from k8s and means you cannot "replace" it with this

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#22
post #18

1. Anything that offers effective competition to Kubernetes is a Good Thing. I'm not saying this is because I haven't look at it closely enough but competition brings about improvement. 2. Why do people write "Simplenetes has a 100x less code than Kubernetes" instead of saying it has 1/100th the code?

why is that a perceived benefit

By contrast, Kubernetes has at least 1000x more developers working on it

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#23
post #20

Kubernetes might follow the sad path of spring. Perfect, complete and too complex. For big and great applications, spring if the obvious choice. It makes incredible complex and difficult things easy. But, unfortunately, makes simple and quick applications incredible complex and difficult.

You can't be talking of Spring Framework!? That's a 2000's solution (in particular Hibernate) trying to stay relevant.

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#26

This is ~17k lines of shell scripting and claims to be "simple". Kuberentes is probably ~1m lines of Go. I'm not entirely convinced that this is less complex (simpler) than Kubernetes. There are many factors in complexity, but a big one for me is what I have to hold in my head – global state. From any given point, what do I need to understand to know what's actually going on. For Go, this is actually comparatively li…

the 30 million line problem;

https://caseymuratori.com/blog_0031

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#27
post #20

Kubernetes might follow the sad path of spring. Perfect, complete and too complex. For big and great applications, spring if the obvious choice. It makes incredible complex and difficult things easy. But, unfortunately, makes simple and quick applications incredible complex and difficult.

You can't be talking of Spring Framework!? That's a 2000's solution (in particular Hibernate) trying to stay relevant.

I don't disagree with your conclusion. But your comment communicates no argument against Spring and how the trade-offs it makes make it a poor option for new projects.

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#28
post #20

Kubernetes might follow the sad path of spring. Perfect, complete and too complex. For big and great applications, spring if the obvious choice. It makes incredible complex and difficult things easy. But, unfortunately, makes simple and quick applications incredible complex and difficult.

You can't be talking of Spring Framework!? That's a 2000's solution (in particular Hibernate) trying to stay relevant.

Asking to learn, but if you were to start a Java application in the following two scenarios: 1) Monolith with some CRUD, API, persistence to a DB + search. 2) Scalable backend with an API, persistence to a DB + some caching

what would you use these days?

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#29
post #18

1. Anything that offers effective competition to Kubernetes is a Good Thing. I'm not saying this is because I haven't look at it closely enough but competition brings about improvement. 2. Why do people write "Simplenetes has a 100x less code than Kubernetes" instead of saying it has 1/100th the code?

But you don't understand. 100x less code than k8s means that using it must reduce my own codebase by 99 million lines of code! Who wouldn't want that?

Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script

#30

This is ~17k lines of shell scripting and claims to be "simple". Kuberentes is probably ~1m lines of Go. I'm not entirely convinced that this is less complex (simpler) than Kubernetes. There are many factors in complexity, but a big one for me is what I have to hold in my head – global state. From any given point, what do I need to understand to know what's actually going on. For Go, this is actually comparatively li…

Go has a lot of boilerplate code - simple things take many lines, so I wouldn't be too serious about 1M
Post reply on HN