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

How we optimized our Akka application using Datadog’s Continuous Profiler

Blog post from Datadog

Post Details
Company
Date Published
Author
Vladimir Zhuk
Word Count
1,301
Company Posts That Month
19
Language
English
Hacker News Points
-
Post removed?
No
Summary

Performance bottlenecks are often unexpected and difficult to locate without proper tools. In this case, a Java application using the Akka framework experienced high CPU usage due to an issue with the ForkJoinPool. The problem was discovered and fixed by utilizing Datadog Continuous Profiler, which measures software resource usage. By analyzing flame graphs and stack frames, it was determined that the LatencyReportActor was responsible for increased time spent inside the ForkJoinPool.scan()/Unsafe.park() methods. Moving this actor to a different dispatcher resolved the issue, reducing CPU usage by 30%. The experience highlights the importance of continuous profiling and not relying solely on intuition when addressing performance issues in production environments.

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.