Go Memory Management Part 3

Previously on povilasv.me, we explored Go Memory Management and Go Memory Management part 2. In last blog post, we found that when using cgo, virtual memory grows. In

Read More

Go Memory Management Part 2

Learning Go? Check out The Go Programming Language & Go in Action books. These books have greatly helped when I was just starting with Go. If you like

Read More

Exposing Go Modules to Prometheus

Introduction Recently Go has released Go 1.12, which added support to retrieve build module information via runtime/debug package. Therefore, I decided to build a Go module to expose

Read More

Go Memory Management

This is a blog post version of a talk I gave at Vilnius Go Meetup. If you’re ever in Vilnius and enjoy Go come join us and consider

Read More

Running Prometheus Node exporter on a router

So at home I have Asus RT-N14U router, which has 600 Mhz MIPS architecture CPU, 16mb of flash storage and 64mb of RAM. On the software side, I’m

Read More

Exploring Prometheus Go client metrics

In this post I want to explore go metrics, which are exported by client_golang via promhttp.Handler() call. These metrics help you better understand how Go works & gives

Read More

yaml url.URL parsing

I was using gopkg.in/yaml.v2 to unmarshal a .yaml file into a struct and couldn’t find a solution to unmarshal an url string into url.URL. Trying to just use

Read More

Think about your dependencies

A little copying is better than a little dependency, says Go proverb. Go has a huge standard library, which has support for many, many things. I think many developers,

Read More

Go schema migration tools

In this post we will do a comparsion of various Go schema migration tools. This post is written in 2017, so things might have changed since then. Are

Read More

Go advanced testing tips & tricks

This post is based on talk I gave at Vilnius Golang meetup back in 2017. I was still new and just learning go. You are too? Check out

Read More