Friday, June 4, 2021

New top story on Hacker News: Ask HN: Do you run apps bare metal?

Ask HN: Do you run apps bare metal?
5 by sdevonoes | 1 comments on Hacker News.
So, I am working on a side project and the way I deploy my (golang) application is basically: - build binary - copy binary, config files and static assets to the production server - do blue green deployment (with nginx) to get zero-downtime deployment - profit (This is automated of course! I use Ansible, and I can easily rollback if needed. I can also deploy the same app to multiple machines if needed). On my local machine I use Docker to test the Go code, but I don't really see the benefit of deploying my Go app in a container. My colleage told me "it's easier to deploy Docker containers. You just pull the image and voila!". I don't see how my approach could be "more complicated". Also, isn't my approach better in terms of performance? If my golang app runs "bare metal" instead of via a container, then sure the performance should be better, right?

No comments:

Post a Comment

Florida School Restricts Access to Amanda Gorman’s Inauguration Poem

By BY AMANDA HOLPUCH from NYT U.S. https://ift.tt/fIlhCeE