Profiling Magento with Blackfire
All Hypernodes (except the Start plan) support Blackfire, an amazing tool to find performance bottlenecks in Magento. It is similar to New Relic, but much better suited for troubleshooting.
Byte customers get a 20% discount on the Premium plan. Contact email@example.com for a coupon code.
How to activate
Signup for an account. Start with the free version, which includes a wealth of information. In your account tab, you will see this:
To connect your Hypernode to Blackfire, create the following file on the Hypernode:
Copy and paste on the first line of this file only the server ID you received. Copy and paste on the second line of this file only the server token you received. Save the file and sent an e-mail to firstname.lastname@example.org. Request our support team to connect the Hypernode to Blackfire (it’s on the roadmap to integrate this in our service panel). For security reasons, please don’t sent your BlackFire credentials in an e-mail!
For more information, check the blackfire documentation
How is it different from New Relic?
New Relic is an Application Performance Monitoring utility. It is made to track real traffic, and to provide alerts and a first level of insight to business managers and developers. Analyzing the performance of an application’s code requires to instrument the code, which generates an overhead.
The more precise data is gathered, the slowest the app gets.
Therefore, analyzing all of the traffic makes it impossible to get pin-point information on the code’s resources consumption.
Blackfire works in a very different manner, and is therefore very complementary. End-users requests are not instrumented ; only the requests triggered by the developer or tool requiring performance information are. Blackfire’s profiling technology thereby provides and un-equaled code introspection, and enables developers to understand the behaviour of their code and identify optimization possibilities very fast. Blackfire is usable in production, just like New Relic, but provides an even better value-add in development in staging, through the use of performance tests, which proactively validate the code, before any go-live.