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

Continuous Performance Improvement of HTTP API

Blog post from Sentry

Post Details
Company
Date Published
Author
Vadim Markovtsev
Word Count
1,566
Language
English
Hacker News Points
-
Summary

We are improving our services' performance by using Sentry and other application profilers for Python, such as Prodfiler, which provides insights into not only slow functions but also the root cause of bottlenecks in CPU and database operations. We utilize tools like Prometheus, Grafana, and Google Cloud SQL Insights to monitor immediate situations and trigger performance disaster recovery. By analyzing performance data from Sentry Distributed Tracing, py-spy, and Prodfiler, we identify slow spots, optimize code, and validate optimizations using macrobenchmarks and speedscope flamegraph-like formats. We also use Prodfiler to validate performance optimizations by aggregating traces from eBPF-driven agents and decomposing flames down to specific kernel functions.