Chapter 57. Four Simple Questions
Profiles are familiar from everyday life. Here’s one you may recognize:
Of course, that’s a restaurant receipt. But it’s a profile for an expenditure. Customers appreciate this format because it makes it easy to see how much their meal cost and why. The format makes it easy to see what your bill would have been if you’d ordered just one round of beers instead of two.
The same format also makes it easy to answer questions about why it takes 40 minutes to get an order confirmation number, or what will happen to PYUGEN if you can reduce your average network round-trip duration by a factor of 55.
The power of the profile—this receipt for a user’s response time—is that it answers four simple questions that give you the fastest path for relieving your business’s important symptoms. Those four simple questions are:
- 1. How long?
- How long did the execution take? The answer is the bottom line of a profile. If your symptom is a throughput problem, then your inquiry will begin with a how-many question but still evolve to a how-long question for your individual task executions.
- 2. Why?
- Why did the execution consume the time that it did? The event counts and durations (quantities and prices) in your profile identify the causes for the symptom you’re diagnosing.
- 3. What if?
- Once you know how long an execution took and why, you can begin considering cures ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access