Software Testing and Software Quality Assurance Videos and Tutorials: Unit Testing, Functional Testing, Load Testing, Performance Testing, Test Driven Development

Understanding Performance with DTrace (While The Customer Yells at You)

You’ve built some software that users love, and while its use starts to become more frequent it also becomes more critical. Suddenly the failures, inevitable and previously merely a nuisance, have become critical and emotionally fraught as your users see reputation, revenue, and even job security imperiled!

Bugs come in many flavors. None quicken the pulse as much as a critical system suffering from poor performance. They can be hard to drive to root cause, hard to fix, hard to reproduce, and even hard for the user to describe it beyond “it is slow (fix it!)”. Fortunately we are not completely alone in those lonely moments: we have the lessons and — critically — the tools from the engineers who have survived similar situations.

DTrace is one such tool, born from experiences debugging functional and performance problems on the world’s most critical systems for over a decade. DTrace is a performance analysis and troubleshooting tool that is included by default with various operating systems, including Solaris, Mac OS X and FreeBSD. In this talk we will walk through the basics of DTrace and then focus on a case study of using it to solve a performance problem while turning an audibly angry customer into a happy one.

Video producer: