Table of contents of the article:
Introduction
There are situations that are difficult to explain from a technical point of view, and there are feelings that are even more difficult to explain from a purely emotional point of view. We should not talk about emotions on a purely technical blog where we talk about Web Performance and WooCommerce Hosting, however it is undeniable that it would be a real shame not to make the reader understand how frustrating and unsatisfactory from a human point of view it can be to feel Giovanna D. 'Turn arch.
Joan of Arc was famous in the popular imagination for having visions and making prophecies that were usually discredited and disbelieved . Fortunately, we do not have visions, and the "prophecies" are certainly not the product of the divine or the supernatural, but simply the result of experience gained over a decade, which has allowed us to make predictions regarding high-risk situations in high-traffic sites.
For example, how should we have behaved when reading about a very famous and excellent communications, SEO and digital PR agency in the North that was announcing the broadcast of an advert on Sky Uno in prime time just before the very famous talent show X Factor?
How much does such an event cost? Beyond the production costs of the Spot that goes far beyond our competence but which we imagine has a non-trivial cost if we consider actors, make-up, wigs, cameras, video editing, post-production, direction and so on. , probably the most important and impacting costs are not so much the costs of creating the spot, but the transmission costs on important networks such as, for example, SKY Uno in prime time.
We know that the world of television advertising is very varied and that in certain conditions, media buyers can boast of ad hoc commercial offers that are absolutely convenient and very far from what are the "standard" offers often advertised in the canonical price lists that in fact often have only the orientation functionality.
Regardless of the bargaining and extremely advantageous treatments that can be obtained, however it must be borne in mind that we are talking about important television channels, with impressive audience numbers and with list offers, however, very, very expensive.
For information, in fact, the above are the indicative costs to manage and pass commercials during an event like the one mentioned, that is XFactor 2022.
Without wishing to say anything, but only for indicative purposes, such a step has a very high cost, which is why it would have made sense to try to maximize profits by avoiding downtime and slowdown situations that are the fear of every online advertising campaign.
For the sake of completeness of information, it must be said that several of our customers (and customers of our customers) over the years have needed our services precisely to put commercials that would have brought a lot of traffic on national networks (RAI and Mediaset).
Campaigns such as Arquati Tende da Sole have found in us the high-performance Hosting solution for downtime and crashes, or the appearance of Martina Gold in the well-known Ciao Darwin program, launches for n26 under collaborations with our customers' football brands and so on.
It was therefore normal and perhaps even a duty in good conscience to examine how the site was technologically structured, which would be subject to a lot of traffic, and noting a decidedly high TTFB, as well as the lack of server-side static cache, the lack of optimized image formats such as WebP and an incorrect use of the Vary: User-Agent header, we had the good sense to inform the author of the post above that the site would probably go offline as it was configured.
Having among the circle of friends (speaking in the past is objectively necessary) the author of the public post mentioned above, we had no hesitation in communicating without too many words that the site would go offline, taking care and diligence to communicate also the reasons (and related super partes analysis Google PageSpeed Insight) to those who like Stefano (another expert in ecommerce development and insider) sympathetically minimized what in our opinion was now a final sentence.
In the miniature screen we went to attach with knowledge of the facts the results of the Google PageSpeed Insight which showed in a rather clear and eloquent way values very far from Google's expectations, which although they can constitute a "negligible" problem with little traffic, become problems of epic proportions if the site has to hold up a high traffic, like the one it would have gotten from a television broadcast before X Factor.
It is immediately evident that the high TTFB meant low server-side performance, as well as the use of non-recent multimedia formats (the old JPG and PNG instead of the new webp so to speak) could have saturated the uplink (normally at 1Gbit / s in the current provider), especially in the absence of a CDN like CloudFlare.
Overall, the reported values are very poor for a Web project that aspires to obtain the due and deserved success.
From then on, nothing significant was done in terms of optimization except for the addition of an application-side optimization and caching plugin like WP Rocket, which, as we've always reported, isn't enough for a site with really high traffic: When WordPress Cache Plugins Aren't Enough. Reverse Proxy and Object Caching: Top-Level Performance.
The real effects of going online without server-side tuning
We therefore wanted to see live what would have been the alleged harmful effects of bringing on TV a site that was not sufficiently optimized to withstand an amount of traffic that was estimated to be important in any case.
We therefore tuned in to Sky Uno and waited with the smartphone in hand for the passage of the commercial on TV. As soon as the commercial started, we headed to the home page of the site and we refreshed it at a more or less regular frequency of one every two seconds.
After just a few seconds (ten or so), the site appeared as you can see in the following video , with opening problems, a "wheel" that was constantly waiting and a progress bar that didn't want to advance in the face of a website that wouldn't load.
Even going to the .it site (a redirect to the main site .com) we were faced with the exact same situation, in no way was there any way of navigating it and being redirected to the main site.
After several minutes in which the influx of visitors who could not navigate the site probably decreased, the opening time of the site (of the Homepage in particular) was over 16 seconds (SEDICI), using the curl utility of Linux as clearly visible from the following image.
Is the responsibility and the fault of the Hosting? Or maybe not.
It would be convenient for us to say with certainty that the fault was Hosting with server-side technologies that were not adequate to support an important amount of traffic. However, this may be an untrue statement as we don't really know how things went.
What is certain is that our CTO Marco Marcoaldi, speaking with the one who in Fattoretto Srl was responsible for making choices regarding Hosting (the one who says precisely that he is evaluating in the message above) has revealed the technical and technological problems that went certainly examined, pondered, deepened and analyzed with the support of the current Hosting provider.
It is undisputed that it was taken for granted that there would have been a much greater peak in traffic than standard traffic, a traffic in all respects that cannot be determined a priori, an event that must be treated taking into account the worst possible situation, that is to find hundreds of online thousands of users per minute.
With this premise, the practice is to go to dedicated enterprise-class physical instances with the maximum number of cores and threads available and a network and software configuration to perfection with all the necessary precautions.
What is meant by "Enterprise Band"? We are not talking about the Star Trek spacecraft, but rather of a High / Very High range that are normally only allowed by large companies and companies defined as the Enterprise range.
Spending € 50 - € 150 for a dedicated server per month is within everyone's reach, including individuals, making an investment of € 1000 per month for servers is already beginning to be reserved for very few companies.
This would have allowed, for example, to rent for a month (or in any case the duration of the programming of the commercial) a very well armored machine with at least 32 cores / 64 threads of a latest generation processor and with fast nVME disks.
If this news of potential problems has not been investigated with technical support, revealing concern, as well as specifying that it would be aired with the spot that would have sent back to the site, in prime time, just before the start of a very popular program like X Factor , the problem and the responsibility is attributable exclusively to the person who in possession of technical information that should have alarmed about a probable downtime, has not diligently and responsibly considered detailed data from a trusted source.
In short, it was not the baker who told you that maybe you will go offline, but a technical figure who has been doing this since 2005 and has also specified the various reasons measured with official tools and superpartes such as Google PageSpeed Insight, which should therefore have made you get the truth. of his utterances and the goodness of what is stated.
In short, if the Hosting Provider is not informed of this extraordinary situation, which can be managed in an extraordinary way with extraordinary hardware and software solutions (where extraordinary means extra-ordinary, i.e. non-ordinary, outside of the ordinary), it is obvious and clear that a Hosting Provider cannot take the trouble to set up their best hardware/software solution for this extraordinary eventuality , also because it requires additional work from the Hosting Provider and out-of-pocket expenses on their part, which will necessarily require a renegotiation of the contract or separate billing for the service.
However, we believe that even an extra investment of 1000 euros, to guarantee the best user experience, considering the economic investment that a commercial can require both in the realization and in the passage on a channel like Sky Uno, was certainly an investment in protection of its own. business.
However, if the problem has already been reported to the Hosting Provider, taking care to specify in detail and precisely that the commercial would be broadcast in prime time, during a highly watched television program, and the Hosting Provider has downplayed the importance of an ad-hoc tuning, specific to the eventuality, then at that point it is obvious that the responsibility lies exclusively with the hosting provider who was unable to carefully evaluate a situation that would have in any case required at least the installation and tuning of a static HTML cache such as Varnish , LSCache or NGINX FastCGI Cache, of which there is no trace when examining the HTML response headers.
If we also consider the server-side configuration has remained the same four days after the communication of the problem and the related downtime, it is quite evident that once again we tend to minimize the importance of what has already been communicated. That is, the site is not ready to withstand traffic peaks but despite everything it is already like this.
Conclusion and food for thought
As we usually repeat and repeat ourselves, after all in life it is never lost. Either you win or you learn.
From this story we have had the opportunity to draw, document and share a rather eloquent case study that shows and demonstrates (video and evidence in hand) how sometimes even the best Italian communication companies and the best projects can stumble disastrously on what they do not know sufficiently.
Because between doing brilliantly, communication, digital PR, marketing and design, and knowing how to do server-side and system-side tuning, specifically for WooCommerce sites (as in this case), too much passes.
The manager had been made aware of the possible (and probable) consequences of appearing on TV with a website not adequately optimized to handle "all" the traffic that would arrive , but perhaps the excessive enthusiasm of the moment probably overshadowed the purely technological aspect, which certainly, contained with makeshift means such as WP Rocket, at least avoided the worst, managing to handle at least part of the traffic following the initial peak that we showed and documented in the video.
It is undisputed to say and affirm that even the best initiatives and the best intentions can be in vain if you do not surround yourself with extremely technical figures capable not only of understanding the problem, but also of the future implications, which in this case have certainly impacted economically. , not allowing visitors (and therefore potential customers) to visit a site that did not open and that for a period of time was navigated at speeds certainly higher than those recommended to maximize sales.
Once again, a practical demonstration of how the worst could have been avoided by following the advice of specialized professionals specialized in web performance, who would have handled the situation very differently , sizing enterprise-class hardware specifically for the event. A minimum of 32 cores / 64 threads would have correctly configured an enterprise-class caching system like Varnish and would have used optimized formats like webp instead of the very heavy jpeg and png.
Unfortunately, as happened to Giovanna D'Arco, our warnings were not heeded and the inevitable happened, impacting both in terms of image and in a missed economic return, a certainly winning and commendable marketing initiative.
When you underestimate the importance of a systems figure, remember this example and this case study to understand what should not be done when you intend to bring a website on TV.
For example, after a further 10 days from the event, more than adequate and sufficient time to take action and resolve the issues already reported to the owner, we still find the site with the same technological stack that emerges from the analysis of the headers and significant and gross gaps such as, for example, the lack of Brotli compression.
As well as the lack of a very important feature or the HTTP2 protocol.
When we browse a website through the browser, we basically make a request to the server and the server responds by sending the data of that specific page. However, the data is not sent all together, but is unpacked into smaller pieces of information. The website page, in order to be loaded in the user's browser, must wait for each piece of information to arrive.
This also applies to the HTTP protocol (the one that has practically always been used on the Internet).
Multiplexing , the new feature used by HTTP2, allows requests to be "chopped up " so that more information can be sent back and forth at the same time. This makes the connection between browser and server much more flexible, efficient, and—as a result—much faster.
On average it has been calculated that sites using the HTTP2 protocol are able to load pages faster than 50%!
Let's take an example: if it currently takes about 3 seconds to load the homepage of your site on a smartphone with 8G connection, with the Http2 you will have the home beautiful and loaded within 4.
It is undisputed to state without too many euphemisms in light of this latest serious deficiency (the lack of HTTP / 2) that there has probably been some lack of interest in optimizing the website and that the current hosting structure they are using has rather configurations. vetuste not able to guarantee and offer best practices to their customers.
For example, let's look at the diffusion of HTTP/2 in October 2022 using the data from https://w3techs.com/technologies/details/ce-http2
As many as 42% of the world's websites make use of HTTP / 2, a very important protocol capable of at least double the data transfer and rendering speed of the web page as easily visible from the animated demonstration below.
Updated on November 3, 2022.
It seems that our work of monitoring and communicating the problems to one of the partners has produced the desired effect, that is, that attention was paid to the problems of performance and optimization of the server-side installation in order to properly host WooCommerce.
Checking on SecurityTrails.com , an online service capable of showing IP and DNS changes, we noticed as in the following image that on October 31, 2022, the IP that responds to the domain birredamanicomio.com became 77.39.211.105, instead of the old 185.81.1.17 which had been in use for almost 5 years.
The motivation is not known, but we believe it is undisputed that they wanted to evolve their technological stack by opting for improvements on the hardware side (which we can only assume) and certainly on the Software side.
In fact, if until October 30th they used an Apache web server, from October 31st things have changed as we can see from the headers in the following screenshot produced by curl -I
We can see how the Web Server has now become NGINX, notoriously more performant than Apache , all on a server managed via the Plesk control panel.
However, we do not find any trace in the headers of server-side caching systems and Full Page Cache such as Varnish Cache which could certainly have improved the performance of the site in an absolutely decisive way, especially in the face of traffic peaks.
Has Pagespeed improved? And the performances?
To date (November 3 at 13:48) the result of the Google PageSpeed Inside analysis, brings the following results which in terms of performance are nothing short of poor for a project that aims to present itself to the general public with television advertising campaigns of a certain level.
To be honest, the PageSpeed score seems even worse, showing an unseemly 16, compared to the equally unseemly 20 it showed in the previous analysis that you can find above.
We will not go too far into analyzing the various items of the Google PageSpeed Insight report, just think that already using Brotli compression, HTTP / 2 and webp images would certainly have done a lot with minimal effort.
It seems absurd and paradoxical that as of 2023 there are still websites that have not enabled HTTP / 2 or Brotli compression.
The new setup went on TV on November 2nd and went offline again.
The spot was aired again on November 2nd at about 21:30 pm, in conjunction with the X Factor Live on TV8, the digital terrestrial channel belonging to the Sky group.
And here's what our Uptime system tells us.
At 9:34 PM (the first signs of the problem began at 9:33 PM), the site took 16,2 seconds (sixteen seconds) to load the home page. The problem persisted at this rate until 9:37 PM, with a gap of about four minutes, during which the site was virtually unusable (who would wait 16 seconds to load a single web page?).
Virtually the exact same problem and the exact same values we diagnosed the previous time with a lot of curl -I and the time command to measure the slow opening.
The data speaks for itself, the exact same problem: 16,277 seconds versus the previous 16,275 seconds you can see in the screenshot above.
We are not. We are not.