Golang & DevOps - A Match Made In Heaven?
Tags: go, devops, programming
Published: 2019-05-08 06:43:15

---
title: Golang & DevOps - A Match Made In Heaven?
published: True
description: Reasons that make ‘Go’ lang fit well in the DevOps ecosystem.
tags: golang,devops, programming
cover_image: https://thepracticaldev.s3.amazonaws.com/i/6lktlckqw0tn5pavws49.png
---

##“Go is not meant to innovate programming theory. It’s meant to innovate programming practice.” — Samuel Tesla##

Of late we have seen many Biggies moving their existing enterprise applications from a more conventional programming language to Golang. 

Biggies like Facebook, Twitter, YouTube, Apple, Dropbox, Docker, Uber, GitHub, Medium, etc use go lang.

This is the ‘Go’ lang Google trend. It is up, growing and consistent,

!['Go' Google trend](https://thepracticaldev.s3.amazonaws.com/i/0nmj83jbiu5a2qqlirvo.png)


### Biggies using ‘Go’ - Some examples below,
UBER - Geobase, one of the most recent Uber services written in Golang.

Google - Google uses Go for many internal projects. The service that runs dl.google.com — the source for Chrome, Earth, Android SDK, and other large Google downloads — has been rewritten in Go.

Twitter - 5 billion Twitter app sessions go through Go daily.

Medium - Their Neo4j database is managed by a service written in Go which they refer to as GoSocial.

![tweet](https://thepracticaldev.s3.amazonaws.com/i/1rfhr8239fif8bi230qr.png)
[Tweet credits: Patrick Reynolds](https://twitter.com/p_reynolds/status/1093697389075091457)

I think, Go suits DevOps very well, and if you see, many of the DevOps tools are written in Go.

###Why GO?###
[Go](https://golang.org/), “the cloud programing language,” is the world’s single fastest-growing and fourth most popular software programming language, used by nearly two million developers (based on [2018 GitHub usage](https://madnight.github.io/githut/#/pull_requests/2018/2)).

The whole world is talking about Go, so let’s Go…

As per 2019’s Dice Tech Salary Report - As seen in the figure below, Golanghas sky-rocketed being the highest paying job in the US market.

![Go lang salary report](https://thepracticaldev.s3.amazonaws.com/i/s051r5onsjtx0b7yq2us.jpeg)


In a recent [Stack Overflow Developer survey](https://insights.stackoverflow.com/survey/2019#technology-_-what-languages-are-associated-with-the-highest-salaries-worldwide), Go stands on the 3rd position for highest paying programming languages.

![](https://thepracticaldev.s3.amazonaws.com/i/h35k6r894en0mac02p1l.png)
If the above monetary factor didn’t convince you then I have something on how Go lang has changed people lives.

![](https://thepracticaldev.s3.amazonaws.com/i/c41mciwqhe0wy6ksgfcg.png)
[Reddit discussion thread](https://www.reddit.com/r/golang/comments/bbczgv/stack_overflow_developer_survey_2019_go_is_ranked/eki3p35/)

It is also said that a container that prints Hello World in python has an image size footprint of >200MB, while go is <200KB.

Also, In a StackOverflow developer survey, it was pretty clear that most of the DevOps folks liked to use ‘Go.’

![](https://thepracticaldev.s3.amazonaws.com/i/4r6qfizh9vakcvjpnmdj.png)

###I have some other solid facts too, take a look###


1. Go enables you to write once and run anywhere if you target multi-platform, multi-architecture environments.

2. One of the best things in Go lang is the ease of cross-compiling code, allowing us to provide tools for other teams and developers to run them in different environments (laptops, ci/cd servers, docker/k8s, etc.).

3. Love the language from a performance perspective.

4. Go is a lightweight programming language. The thing we love most about Go is single binary for an entire project. Examples include Consul, Terraform, Vault, Prometheus, etc. They are all DevOps related tools.

5. One of the most prominent features of Go is that Google backs it just like k8s.

![](https://thepracticaldev.s3.amazonaws.com/i/sn1x4nazejeuy8lj9ydb.png)
[Tweet Credits:Dave Cheney](https://twitter.com/davecheney/status/1124189742113779712?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1124189742113779712&ref_url=https%3A%2F%2Fmedium.com%2Fmedia%2F11ed5a858d1ba572929c6964be87d4d5%3FpostId%3Da24d5de45e26)


Big and successful companies use Go and have written a lot about their Golang usage success stories in their Engineering blogs. This I have already shared in the beginning.

![](https://thepracticaldev.s3.amazonaws.com/i/28blibxed5uryikpamrq.jpeg)

##Go Lang Resources:##
[Free book about Go programming language](https://www.programming-books.io/essential/go/)


[Go Cheat Sheet](https://devhints.io/go)


[This is a most popular repository list for Go sorted by the number of stars](https://github.com/kaxap/arl/blob/master/README-Go.md)


[A compilation of tutorial and talk presentations and videos from Gophercon 2018.](https://github.com/duffn/gophercon2018)


[The Go Programming Language](https://golang.org/doc/effective_go.html)


[Go tutorials and courses for free](https://hackr.io/tutorials/learn-golang?sort=upvotes&type_tags%5B%5D=1&languages%5B%5D=en)


[For new Go programmers](https://dave.cheney.net/resources-for-new-go-programmers)


[Go by Example](https://gobyexample.com/)


[Go-perfbook: Best practices for writing high-performance Go code](https://github.com/dgryski/go-perfbook)


BTW, [GoCenter](https://search.gocenter.io/stats) is a free, open source, and the world’s standard platform for Go packages that is provided for the broad Go community by [JFrog](https://jfrog.com).

What do you think? Go lang fits well in the DevOps ecosystem?



Let’s connect on [Twitter](https://twitter.com/Pavan_Belagatti) and have a DevOps chat.