Chapter 9Think Outside the Box
Our ability to focus, as software engineers, makes us vulnerable to the tunnel vision syndrome. What that means when it comes to optimization is that when our Ruby program is slow, we tend to concentrate only on Ruby code optimization. But there are other ways to make our Ruby program faster, often resulting in a greater improvement than the obvious approach of looking for ways to optimize that Ruby code.
To find these other ways we have to step out of the box and look at how our program runs in the real world, what other software it uses, and where it’s deployed. Our program will become faster if we find a better way to run it by optimizing all its dependencies and deployment infrastructure.
How exactly do ...
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