Measuring performance
When we start to have a remarkable number of resources on a node (in the order of several hundreds or thousands), compilation and application time of a node catalog grows to uncomfortable levels.
If the number of the nodes to manage is big, even small tunings and optimizations of our code can bring interesting results.
For this reason, it is useful to have tools and techniques that permit us to measure Puppet's performance metrics at our disposal.
Puppet Metrics
Puppet itself provides some options that help us understand where time is spent during its activities.
At the end of each Puppet run, it is possible to see a detailed report on the time spent for each kind of activity; on puppet.conf
, we can enable reports with the following ...
Get Puppet: Mastering Infrastructure Automation 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.