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

Go Performance Tales

Blog post from Datadog

Post Details
Company
Date Published
Author
Jason Moiron
Word Count
2,021
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

Jason Moiron, a Datadog software engineer, shares his experience with optimizing the performance of a new service written in Go. He learned that using integer map keys can significantly improve performance, and that AES-NI processor extensions can boost string hash performance. Additionally, he discovered the importance of reducing locking and unlocking in channel communication, which improved throughput by nearly 6x. The author also explored the use of Cgo for optimizing compression, but found that it had some overhead due to coordination with the Go scheduler and memory management. Ultimately, Moiron emphasizes the importance of measuring everything and using the tools available in Go to get the most performance out of the language.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 1 20 15 7 +5%
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.