How Stacks are Handled in Go
Sep 15, 2014Daniel Morsing

Summary
This post details Cloudflare's use of Go and its approach to managing goroutine stacks. It explains the evolution from segmented stacks to stack copying, highlighting the performance implications and the ongoing efforts to rewrite the Go runtime in Go to enable features like concurrent garbage collection and improve stack copying capabilities. This contributes to the understanding of how Cloudflare optimizes its internal systems for performance and resource efficiency.
More from the Data Infrastructure & Analytics trail
- Introducing Cloudflare Basin: an open, serverless data platform, now generally available
- Introducing the Billable Usage API: programmatic cost visibility for Cloudflare
- Announcing the Monetization Gateway: charge for any resource behind Cloudflare via x402
- How we built Cloudflare's data platform and an AI agent on top of it
- Iran's Internet is partially restored, Cloudflare Radar data shows