Cadeaux.com saw its Valentine's Day outperform Christmas with half as many servers. A look back at the hunt for milliseconds, from audit to optimisation.
In short: after a rebuild, an audit and then profiling with Blackfire, the Cadeaux.com website had a better Valentine's Day than Christmas with half as many servers. Using fewer resources also means spending less energy and paying less for infrastructure.
Cadeaux.com rebuilt its website from scratch on Sylius. To test it in real conditions, the client first launched it on the German market. Once that site was in production, they asked us for an audit so they could use it for the French market too.
The audit showed that the customisations made to Sylius did not follow its best practices. The work therefore focused first on internationalisation. The French site went live in November.
The Christmas period was very good commercially, but it exposed the site's weaknesses. Google reported performance issues on the listing pages and product pages, despite 10 web servers and the Fasterize cache. At the start of the year, the goal was clear: turn these pages "green" for Google.
To track down every millisecond, I used Blackfire. This tool profiles a page and details what happens while it is generated: SQL queries (and how many), external API calls, cache calls, total time, CPU, network and memory.
Here is the profile of a page before optimisation, showing the use of the ORM.
These resources are linked: less wasted time means less CPU, less memory and fewer servers under load. For example, the profile revealed several identical HTTP requests to the same third-party provider.
These optimisations went live just before Valentine's Day. The before/after comparison of ORM usage shows the improvement:
And here is the performance gain measured after all the optimisations:
In the end, the site did better than at Christmas, with half as many servers.
Every project has its own hot spots, and the only way to find them is to measure. That is what an audit does: a report with examples taken from your code, a prioritised action plan and a high-level estimate. Our packages and prices are detailed on our dedicated page.
Discover our audits and their prices
If your site's performance does not meet your expectations, contact us to talk it over.
Cadeaux.com saw its Valentine's Day outperform Christmas with half as many servers. A look back ...
Since our last article, Ibexa Dataflow has gone from version 6.1.2 to 7.0.0: a richer ...
New dashboard, new design, new analyses and an ambitious roadmap: Security Audit moves to version ...
While AI assistants have revolutionised code production by significantly speeding up development, their widespread use ...
Fed up with having your job logs in the database? Even more fed up with ...
If you have been developing on Ibexa for a few years, you have probably got ...
Code Rhapsodie is taking over maintenance of Patrick Bussmann's oauth2-apple package. This fork ensures the ...
Taxonomy keyword suggestion is available in Ibexa DXP with the LTS update pack and the ...
Importing a very large SQL file can be problematic, sometimes causing your virtual machine (VM) ...