Skip to Content
How to Make Things Faster
book

How to Make Things Faster

by Cary Millsap
June 2023
Intermediate to advanced
356 pages
5h 32m
English
O'Reilly Media, Inc.
Content preview from How to Make Things Faster

Chapter 40. Kevin

Kevin’s team was having trouble with a number of application features. Invoicing was at the top of his list. At his company’s web page, a customer could click to create an up-to-date invoice. On a good day, this online feature would create an invoice in about 40 seconds. Kevin’s team had never loved this level of performance, but it was their normal, and it was considered officially acceptable.

The problem was, over the span of a calendar month, this invoicing feature (and many others as well) would get slower and slower. By month-end, creating an invoice might take 300 seconds or more, which was intolerable.

Kevin invited us to look at his system in early December, so it would be a few weeks before we’d have a chance to catch an invoice creation in the act of being slow. But of course, we wouldn’t need to wait until month-end to trace a Create Invoice execution. Even if we couldn’t yet catch it in the act of running slowly, tracing early in the month would help in at least three ways:

Setting a baseline
Solving problems is easier if you can understand how the program you’re analyzing behaves when you’re happy with it.
Revealing waste
A profile shows whether a program is wasting any of its time. (Being fast doesn’t automatically imply being efficient.)
Starting the learning curve
If you’re not yet intimate with tracing, it’s better to learn how to do it now, while everything’s still calm.

Here’s the profile for a typical execution. This one took about 41 seconds: ...

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

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Improve Your Problem-Solving Skills

Improve Your Problem-Solving Skills

Charles Humble

Publisher Resources

ISBN: 9781098147051Errata Page