GeistHaus
log in · sign up
11 pages link to this URL
Go Struct Field Alignment | Lorbic

Your Go structs might be wasting up to 32% of their memory due to invisible padding bytes. This deep dive into struct field alignment reveals how the …...

0 inbound links article en Categories gogolangperformance optimizationsystem designbackend engineeringgarbage collectionprofilingpythondockerkubernetescloudawscouchbasedatabasesoftware architectureengineering best practicestechnical deep dive CC BY-SA 4.0
Memory Mechanics In Go - Stack vs Heap | Lorbic

When thinking about performance, it's easy to focus on Big O notation. But in Go, the difference between the Stack and the Heap is often the difference …...

0 inbound links article en Categories gogolangperformance optimizationsystem designbackend engineeringgarbage collectionprofilingpythondockerkubernetescloudawscouchbasedatabasesoftware architectureengineering best practicestechnical deep dive CC BY-SA 4.0
Understanding Go's Garbage Collector

ℹ️ Disclaimer This post was written while Go 1.25 is the mainstream release. Some implementation details may change as the Go team continues to refine the garbage collector. Still, the ideas here should remain useful for building an intuition about what happens under the hood and why certain design choices exist. If you need the most up-to-date specifics, always refer to the official Go source and release notes.

0 inbound links article en blog Go
Scaling Go to 192 Cores with Heavy I/O

When running on baremetal, however, we found two key limitations of the Go runtime so far: Systems with a lot of RAM can have a lot of allocations, prompting the Go Garbage Collector to aggressively steal CPU. 2. Applications performing hundreds of thousands of requests per second may make use of thousands of TCP sockets, bottlenecking the Go runtime’s network backend on syscalls.

2 inbound links article en
debug

Package debug contains facilities for programs to debug themselves while they are running.