Tip of the day #6: Use Bpftrace to estimate how much memory an in-memory cache will use
A technical guide on using Bpftrace to profile a Go service's in-memory cache and estimate memory usage by analyzing entry sizes at runtime.
A technical guide on using Bpftrace to profile a Go service's in-memory cache and estimate memory usage by analyzing entry sizes at runtime.
A developer shares solutions to common pain points and limitations encountered when using CGO, Go's FFI mechanism, to interface with C and Rust libraries.
Benchmark comparison of SQLite in Go using the cgo-based mattn/go-sqlite3 package versus the pure-Go modernc.org/sqlite translation.