logoalt Hacker News

faangguyindiatoday at 12:40 PM3 repliesview on HN

I am using systemd + go binary deploy. Running 10 years+ in production. Meanwhile docker based setup fail every now and then. And kubernetes? well forget about it.


Replies

marginalia_nutoday at 12:41 PM

What I'd like is systemd-compose. Maintaining several dozens of .service-files is not my idea of fun.

show 3 replies
sofixatoday at 1:40 PM

That's like comparing you being able to make a salad from tomatoes and an industrial tomato sauce making facility. Both take tomatoes and end up with food, but the scale is completely different.

Yes, you can deploy a Go binary easily with systemd. Could you reliably do this across a fleet of machines? Including managing its configuration, persistent storage, database, network setup, etc.? Maybe, just need Ansible or equivalent config management. What if it were multiple Go binaries? And what if some of them needed to scale up some days because they hit more traffic than the others?

And on and on. Yes, not everyone needs Kubernetes, Nomad or other advanced orchestrators. But comparing them to running a Go binary with systemd is an unfair comparison.

vincentkriektoday at 12:56 PM

How does this work? Can you show it?

show 1 reply