Kategoria: Go

  • K8s CPU limit in Go app

    K8s CPU limit in Go app

    Some time ago while reading about Go concurrency I stumbled upon an information that there are many Go services running in K8s under CPU limits that are not running as efficiently as they otherwise could be. In this post, I will show what happens when CPU limits are being used and your Go service is…

  • Optimise Go: memory alignment

    Optimise Go: memory alignment

    Memory is a crucial part of the code optimisation process. Go inherits many its features from the C family language. We are accustomed to think that Go does not require deep-level knowledge to write efficient programs. It does not work that way and the struct type is a very good evidence. A struct is a…