At some point every website has to be updated or go through other upkeep. Or, to use the English term that everyone insists on because it sounds more professional, maintenance. For IT systems it is best to do this when no unexpected data operations can happen, in other words when users cannot change anything. In a small system you can guarantee that by talking to people directly, but on a large platform that is impossible. That is when you introduce a so-called maintenance break, and that is what we want to talk about today.
I will admit that this text was inspired by something that happened in March 2024: a temporary, local Internet outage at one provider. That is nothing unusual, because such outages hit various companies from time to time. Call it the malice of inanimate objects, which forces somebody to fix the failure. It is also always worth checking the connection at home or in the office to make sure the problem is not the router, which sometimes just needs a restart. In this case, though, something else caught my attention. I learned that the provider was at fault from its Facebook fan page, and not from a post but from a reply to another user's comment. Incidentally, it has to be said that the people who run such companies' social media profiles have a hard life, because many posts are negative and rant about services that do not work. But back to the reply. It turned out that... the provider had planned upgrade work, had not announced it beforehand, and an "unplanned failure" occurred during the upgrade. All of it was written with a smile and without specifics, which is easy to understand, since you usually do not know how long it will take to get a service back on its feet. Here it took over ten hours, during which customers did not know the current status, and an official notice either did not exist or was hidden so well that not everyone found it. The main source of information was the Downdetector website and articles on some news sites.
(Interestingly, a similar situation happened a few weeks later, but this time the provider rose to the occasion and admitted the problem officially on its fan page. The outage was also a little shorter.)
That was when I realized that for the people who build any kind of Internet service, announcing a planned maintenance break is not only a courtesy toward users or customers but sometimes even an obligation, and one that can also show the company as responsible and caring about its customers. Perhaps it is even something that should be regulated from above in specific cases.
What is a maintenance break?
Any service that potentially runs around the clock (the famous 24/7), and also any service that runs within strictly defined hours, needs maintenance breaks. Sometimes they come from software or hardware updates, and sometimes from scheduled inspections that make sure everything works as it should and catch possible faults before they cause a real problem. Here we are talking about planned moments when it is known that for some time the service (or a particular part of it) will be unavailable. This does not include failures, which for obvious reasons are hard to predict.
Such an "official" maintenance break should involve:
- planning it in the way that is least annoying for users,
- telling users in advance about the scope, date and hours (*),
- showing a suitable message on the site,
- saying where to get more information, with contact details,
- restricting access to the relevant part of the system for specific users or IP addresses (*),
- giving information when the break runs long, and why.
Some of these points are obvious, but a few are worth expanding on, especially those marked with an asterisk, which means they depend on the situation.
Three things above all decide how a maintenance break should be handled:
- how long the break takes: the longer it is, the more "formal" it should be,
- how popular the service is and how far it reaches: the bigger it is, the more visible the notice should be and the earlier it should be given,
- what the contracts say: some services have procedures for such cases guaranteed in their contracts with customers.
It is not always possible to guarantee that a notice page will be available for the whole break. Depending on the service and the situation, there may be a moment when the new version is being uploaded and the old one is already gone. Of course it should not be like that. In an ideal world there would be an unbroken sequence: old version, maintenance break page, new version. But not every service has to run 24/7, and some do not need 100% availability.
The second point is that during such a break only selected users have access to the system (or to a separated part of it). These are usually people with the administrator role, or machines that use designated IP addresses. The latter is sometimes a problem, because few people have a public IP address and the settings have to be edited every time, but that is better than locking yourself out completely. There are also setups where two versions of the system run side by side and at the right moment the files or the domain are swapped. That, however, requires hiding the test domain additionally (also from Google) or trusting that nobody will "guess" it (which does not sound professional). Or simply a richer infrastructure.
What happens during a maintenance break?
The answer is simple. Usually a new version of the system is deployed, or at least one module is updated. This is the time when new files land on the server and when changes are tested to make sure everything works as it should. It also covers configuration parameters, whose absence is often a surprise after deployment, because in local environments there was no need to set or change them. That is one more reason to have one or more test servers that resemble the production server in terms of ecosystem, so that you spot the need to adjust the configuration earlier.
Sometimes you also have to run operations that can take longer and are heavy enough to affect users who are working with the software normally. Examples are giant reports (but rarely; if a report blocks the system, that is not a good sign) or cleanup operations on large tables. Leaving aside the question of the architectural division of the software, it is worth being open about it and announcing a maintenance break, so that nobody gets worried about a possible bigger failure and starts alarming other people, which would damage the developers' peace and reputation. Of course, if we are sure everything will work properly, we can skip the official maintenance break, but in that situation (as in any other) it is still worth making a backup of the database and the relevant files.
A maintenance break can also result from specific tests that put load on the system or check its security, although that is rare as well. Such tests are usually done before the official launch of a service or while it is running, but I have never heard of stopping running software being a requirement for them. Still, I suspect life writes all kinds of scenarios.
Finally, some companies may need to inspect or upgrade hardware. Here we come back, among others, to the Internet providers mentioned earlier, who from time to time have to replace a particular piece of infrastructure or reconfigure it. In that case the work is usually done in one area, which would potentially affect a certain group of users. Maintenance breaks tied to hardware can also concern software. Apart from applications used in specific environments on specific machines (desktop, embedded and so on), applications are sometimes simply moved between servers and domains are transferred, which also takes time and in some cases may require announcing an official pause.
How and when to inform people?
As we said earlier, it depends on the size of the service and the conditions it runs in. The simplest situation, but one that can be just as troublesome, is when the application is internal, that is, aimed at the employees of a specific company or organization. On one hand it is easier to agree on such a break, because communication happens between two parties. On the other hand, users sometimes work with the software at specific hours (for example 8:00 to 16:00) and during that time the system has to be fully available, incidents aside. Updates and other work must then happen outside that window or in a way that does not disturb the user experience.
It is different with systems aimed at a wider audience. If there is even a shadow of a chance that the system will not be fully "operational" for a noticeable time, it should be announced publicly. This is usually done through social media, but it is worth making it a rule that such events also get a notice on the company site or in other controlled places. This applies not only to online services but also to others, such as water utilities, power plants, public institutions or providers of other kinds of utilities. True, you cannot always do it on the project's own site, especially if that is exactly the thing being upgraded, but you should clearly designate a place where people know they can read about possible breaks, or realize that a momentary "failure" is the result of planned work and not get upset. For more important providers it is definitely worth thinking about a notification system, by email or SMS, so that users know well in advance when they will not be able to use the service. Of course, in compliance with the GDPR, the recipients' right not to receive such messages and so on. This kind of warning, sent directly to consumers, is exactly what I missed in the situation with the network provider that I described.
As for the timing of a maintenance break, where possible it is worth holding it at the hours when users use the service least. Banks do it this way, for example. Here, though, we have to say it plainly: it is not always possible, because in some cases a company does not have the infrastructure or resources to do such work at unusual hours. That makes advance notice all the more necessary, so that users can prepare and not plan to use the service during the break.
How do big services do it?
Someone might rightly ask at this point how maintenance breaks are handled by big services, swamped by thousands or even millions of users, where you do not see anything stopping. This does not apply to banks, which, as we already mentioned, announce breaks in advance and have a far more formalized process. But auction platforms or online shops, for example, have worked out their own methods, which usually go hand in hand with horizontal scaling and with having many servers that hold a copy of the service. This of course means big spending on infrastructure, staff and procedures, but for big services it pays off:
- greater resilience to failure: the update goes step by step, one server at a time (a so-called rolling update), so a problem is noticed early and not by everyone at once, which makes it easier to roll back and to investigate more closely,
- higher availability of the service,
- the ability to update only a specific part of the system (although that also depends on its architecture),
- an easier way to run A/B tests,
- the ability to introduce changes without stopping the delivery of the service.
Two of these points interest us most. Technical or maintenance work does not happen on all servers at once, only on one or a few. They are indeed covered by the break, but the remaining servers run normally and keep accepting requests. Only after the work on the first servers is finished and they are switched back on is the next batch stopped and changed. This is of course slow, requires scripting, and not all users feel the benefits right away, but it also protects the whole from negative consequences. At least with websites, where users are redirected between servers and do not necessarily always use the same one. It is worse with the delivery of utilities, including an Internet connection, where failed work on one node "switches off" a certain group of users.
Closing remarks
And what if the maintenance break runs long or a failure appears? Leaving aside the diagnosis and repair procedure, it is worth remembering that providers of popular services simply have to... apologize and inform. It should not be the case that users learn about a global or local outage the roundabout way, by reading the comments under Facebook posts. It will sound odd, because everything depends on context, but failures happen, and sometimes they cannot be predicted or avoided. What matters is good communication, so that users do not get even more upset and instead feel that help is coming from professionals. Such a system works, for example, at water utilities, which have a section on their website with planned work and failures, where the status is updated.
Some of the information presented here may have seemed obvious to most readers. Sometimes, though, you have to write something obvious to signal that the guidelines still apply and are worth looking after.
Best regards and thank you, Jakub Rojek.


