New video tutorial: Using OpenResty XRay to diagnose high CPU usage in Erlang/OTP applications:
https://youtube.com/watch?v=sqB5fGHahYUHighlights:
• Pinpoint CPU-intensive regex operations, among many other bottlenecks
• Analyze code paths on both the Erlang language level and the VM C/C++ level (with Flame Graphs!)
• Zero-intrusion profiling - no restarts, no special options/flags, and no code changes needed!
• Based on our advanced dynamic tracing tech eBPF+/Stap+/etc.
• Neglectacble tracing overhead; suitable for production use
• Already helping big companies like Zoom, Inc
• Transparently peeking inside already running processes and containers
Text version:
https://blog.openresty.com/en/erlang-high-cpu/All the new shiny Erlang dynamic tracing tools are written in our Ylang universal debug language as always:
https://blog.openresty.com/en/ylang-intro