Performance Assessment and Improvement
We all know that Fastify is fast – but is your code fast enough for Fastify? Learn how to measure your application’s performance to improve your business value and the quality of your code. By analyzing the metrics, you will avoid introducing speed regressions and identify bottlenecks or memory leaks that could crash your system. You will learn how to add an instrumentation library to a Fastify application to analyze how the server reacts to a high volume of traffic. We will get an overview to understand and act accordingly depending on your measurements to maintain your server’s performance and its healthy status.
This is the learning path we will take in this chapter:
- Why measure performance?
- How to measure an application’s performance
- How to analyze the data
- How to optimize the application