29 Apr 2025
12:39 AM
- last edited on
30 Apr 2025
02:14 PM
by
Michal_Gebacki
This is off-topic, but a quick overview of what I have "observed" today in my country, Portugal, which along with Spain, had a major electricity blackout today. Major means no electricity, and in the capital Lisbon, it only got restored more than 9 hours after!
If you want a major chaos engineering experiment, we've had it today. Around 10:33 UTC, all electricity from the power grid was suddenly gone. The cause seems to not yet be known, but the Spanish Prime Minister has said that during 5 seconds, 60% of the electricity in the grid "disappeared" (link). A lot will be known about this in the following days.
In the first few minutes after 11:33 local time I confirmed it was national. Pretty fast too, I had confirmation Spain was also affected. So I knew immediately a Black Start was going to be needed. These things take a lot of time, but fortunately an important drill had been done some years ago (link). So it was time for all in our Company to go home, as we don't have backup generators.
Things worked good at first. Mobile connectivity was good, and with proper energy management on my laptop, and hotspot from my phone, I made it till the end of the afternoon. But then mobile connectivity started failing, and that went down too! So what can you do when this also happens? Wardriving some 20 years ago was a thing, and so I had to figure out where. Mobile cell batteries were not gone, as phone calls were possible, but operators must have started preferring voice over net. It turns out that my second idea was a good one: those old Telco Central Office facilities with good energy generation had perfect connectivity. Along the way to Lisbon's second most important one, I also figured out that your car might be the best generator at hand for charging your phone! I'm also the proud owner of a car DC vehicle power inverter, but didn't have to use it this time. Prepping is important when you have to deal with such situations, but I'll leave it for my personal blog.
Well, after this introduction, I'm going to share some cool graphs/ideas of what I have seen. This is very personal, and I believe a lot of experiences will surface in the next few days, in both Portugal and Spain, with the people that were in the IT trenches.
There's a lot more I have seen that I cannot openly talk about, but certainly Observability was very important today. As this day finishes, lot's of additional ideas come to mind. Maybe, I'll come back with more.
Last, but not least, a great Thank You for all involved in the electricity sector. People have no idea what it takes to do a Black Start, as it takes decades of experience to do it right. I was in the middle of the city, and when the lights came back, people were clapping and celebrating. Sometimes, you only truly value something, when it's taken away, even if only temporarily...
29 Apr 2025 08:49 AM
Some interesting insights. Glad you're ok and power is returning.
29 Apr 2025 11:01 AM
Quite interesting article!
How can we explain the rise of the visually complete time a few hours after the blackout and with no significant user traffic?
Frontend servers where pulled out from clusters to save energy causing performance degredation, is what comes in mind.
BR
29 Apr 2025 11:31 AM
I experienced it first hand. It was on the client side, as the few that still had Internet access (like me) were in probably one of the following situations:
This can be easily seen in the waterfalls. Notice the long First Byte and download times. The quick objects are 1ms, served through cache (importance of caching!). Synthetics also showed sites downloading fast, all through the event 🙂
29 Apr 2025 01:55 PM
Great article and details. Didn't know you all had this issue till I saw this.
Glad everyone is ok.
30 Apr 2025 12:46 AM
24 hours after, I just can't get enough of what me & ChatGPT have been discussing about what would be a good analogy of what a Black Start is for the Energy teams, seen from an IT perspective. This is what we came up with 😂: