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

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

Tracking request duration with Prometheus

I recently started using Prometheus for instrumenting and I really like it! It has a cool concept of labels,  a functional query language & a bunch of very useful functions

Read More

Go scheduler: Ms, Ps & Gs

I’m constantly learning Go & just finished reading The Go Programming Language & Go in Action books, so I decided to learn a bit more about Go internals

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