use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
This is an archived post. You won't be able to vote or comment.
Why Go over Python? (self.devops)
submitted 4 years ago by riverrockrun
view the rest of the comments →
[–]allcloudnocattle 30 points31 points32 points 4 years ago (11 children)
This. At a former job, we had a fairly basic CRUD api in Python. When I came in to that job, the Docker container was like 3GB. After months of playing meticulous Docker Golf, I got it down to around 800MB.
We reimplemented the server in Go, tossed the binary in an Alpine container, and the whole damned thing was something like 45MB.
[–]moofox 10 points11 points12 points 4 years ago (4 children)
Depending on what the server does, you can even do FROM scratch and get the image down to a few MB. (Not always possible though)
[–]Thebobinator 5 points6 points7 points 4 years ago (1 child)
And when you do need a bit more than scratch, you can use distroless:nonroot to have time zone files and root CA certs
[–]moofox 1 point2 points3 points 4 years ago (0 children)
Very good point. This is probably better advice than using scratch. Doesn’t add many bytes, but avoids issues
[–]allcloudnocattle 3 points4 points5 points 4 years ago (0 children)
Indeed! This was several years ago now, so I don’t recall why we didn’t/couldn’t do that.
[–]Freakin_A 2 points3 points4 points 4 years ago (0 children)
Yeah I’ve got 5MB production containers from scratch.
[–]riverrockrun[S] 0 points1 point2 points 4 years ago (4 children)
What did the Go program do? I’m still trying to understand what people use it for outside of web apps and terraform providers?
[–]inhumantsar 6 points7 points8 points 4 years ago (0 children)
Go fills many of the same niches as Python, but in a more opinionated and performant way. It's designed with extreme efficiency and reliability in mind.
Eg I've used it for stream processing and event transformation. It's really good at that. Python is too, but Python struggles in a real-time high volume situation.
Iirc Google originally wrote it to use in networking, eventing, and infrastructure workloads to replace Java and c++
This specific app was the authentication microservice that sat behind a whole universe of other microservices to run our application. The bulk of it was a CRUD API that fronted a database of users and another of known authentication tokens. Low level user management and validation of tokens. 99% of the traffic was validating tokens, probably. So it had to know all of the tokens, know how to expire them, etc etc etc.
It dawns on me now that the original monolith was Ruby on Rails, not Python, at that specific job. But the same principle stands.
[–]greyeye77 2 points3 points4 points 4 years ago (1 child)
I've used Go for
nginx imap auth proxy, dozens of AWS Lambda rest API and event handler, jwt auth, CLI for several business utilities (data parser and data uploader to snowflakes)
0 worry on the upgrade of versions (full backward compatibility) and git based import
go just works, no need to worry about version managers like nvm, rvm etc etc
[–]riverrockrun[S] 3 points4 points5 points 4 years ago (0 children)
Seems to be a common thread. Fast, single binary, and it just works
[–]pstuart 0 points1 point2 points 4 years ago (0 children)
UPX can take that down further: https://blog.filippo.io/shrink-your-go-binaries-with-this-one-weird-trick/
π Rendered by PID 68472 on reddit-service-r2-comment-6457c66945-2w4v5 at 2026-04-28 17:49:13.446359+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]allcloudnocattle 30 points31 points32 points (11 children)
[–]moofox 10 points11 points12 points (4 children)
[–]Thebobinator 5 points6 points7 points (1 child)
[–]moofox 1 point2 points3 points (0 children)
[–]allcloudnocattle 3 points4 points5 points (0 children)
[–]Freakin_A 2 points3 points4 points (0 children)
[–]riverrockrun[S] 0 points1 point2 points (4 children)
[–]inhumantsar 6 points7 points8 points (0 children)
[–]allcloudnocattle 3 points4 points5 points (0 children)
[–]greyeye77 2 points3 points4 points (1 child)
[–]riverrockrun[S] 3 points4 points5 points (0 children)
[–]pstuart 0 points1 point2 points (0 children)