Contribute Media
A thank you to everyone who makes this possible: Read More

Introduction to profiling python performance with USDT


As of Python3.6 SystemTap/DTrace probes have been added to the python interpreter which mean that we have the ability to inspect GC pause, function entrance and exit and a few other internal procedures of the process. Using these markers, we can diagnose the most difficult of runtime issues with unprecedented access to the running state of the application, in particular allowing SysAdmins/DevOps/Production Engineers to better understand why a particular application is misbehaving.

In this talk, I'll explain what these probes are, how it works and provide examples as to how you can leverage the SystemTap and BPF interface to debug some of the more complex systems. I will cover when these tools are the right thing to use and give insight to when you should be using something different and more appropriate.


Improve this page