HACKER Q&A
📣 softwareperf

What tools do you use to analyse server performance?


At one end there are many website and web-app performance analysis tools, at the other there are lots of low-level Linux performance tools (e.g. eBPF), but what tools do you use to analyse your application's performance (when looking to optimise it)?

This might include profilers, production server monitoring, static analysis tools, etc. They can be language specific or not.

What are you using day-to-day/week-to-week/month-to-month?


  👤 ystad Accepted Answer ✓
Apache benchmark for driving load https://httpd.apache.org/docs/2.4/programs/ab.html

Counters to measure

Profilers like pprof to dive deep https://golang.org/pkg/runtime/pprof/


👤 Cort3z
I use autocannon (1) because it is very high performance, and allows for advanced login flows etc. Very useful for load testing. Can generate a lot of traffic from one device.

I also use sentry.io to monitory my performance in live environment. Their new "Performance" system allows you to measure and track response times for whole endopoints, and for parts of the endpoints. Quite useful to detect slow queries and so on. Previously in my carreer I have also used newrelic with much success, but it is at least 7 years since I have used that, so can't give a recent experience with them.

Ps. no affiliation to any of the mentioned products/services above.

[1] https://github.com/mcollina/autocannon


👤 drenvuk
I use wrk to load test my endpoints and check caching behavior. If the server is still responding with 6000+ rps including round trips to the db and no 500 errors after an hour or so of blasting it then it's good enough. This is single core.