Debugging Go Applications - Matt Boyle, Cloudflare
ฝัง
- เผยแพร่เมื่อ 5 ก.พ. 2025
- In this talk, I will perform a live demo of different debugging techniques that Go developers can use to figure out why their application is not performing optimally (or even correctly).
We will start with a basic Go application that isn't functioning as expected. By introducing logs, using the debugger, adding some Prometheus metrics, adding pprof, and integrating distributed tracing, we demonstrate some of the powerful techniques available to diagnose and repair applications, not only while they're running locally but also when they're deployed in production!
Along the way, I'll share stories about how these specific techniques have been scaled to help me solve complex issues at Cloudflare scale, as well as provide warnings on when to use these techniques sparingly (for example, the cardinality of Prometheus metrics).
This talk assumes some knowledge of Go, but it aims to be accessible to everyone at the conference.