Chapter 7. Bottlenecks

As we've seen in the previous chapters, a lot of elements influence performance. Even the process of development will influence how you monitor performance degradation. The patterns you use might not make a difference on a small scale, but after deployment, you'll regret every bad decision you made.

The host is also an important performance factor. How well your processor performs for your specific tasks is important. How much memory you have available influences how much of your data will reside in a fast location or will move to a slower location, such as a local disk.

Caching your data is also of great importance. The technique of accelerating data access using some kind of middle storage to give a perception of greater ...

Get Node.js High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.