Home / Companies / Cloudflare / Blog / Post Details
Content Deep Dive

Quick and dirty annotations for Go stack traces

Blog post from Cloudflare

Post Details
Company
Date Published
Author
Filippo Valsorda
Word Count
464
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

CloudFlare's DNS server, RRDNS, is written in Go and uses thousands of goroutines. Debugging stack traces with numerous goroutines can be challenging due to the presence of memory addresses instead of meaningful information. To address this issue, Filippo Valsorda developed a method that converts IPv4 addresses into their uint32 representation and passes them as parameters in listening goroutines. This allows for easier identification of the IP addresses on which goroutines are listening when examining stack traces. The technique can be applied to any piece of information that can be represented as an integer.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.