What is Wrong with Facebook 2019
By
Ega Wahyudi
—
Monday, March 23, 2020
—
What's Wrong With Facebook
What Is Wrong With Facebook
The vital problem that caused this interruption to be so severe was an unfavorable handling of an error condition. An automated system for confirming arrangement values ended up creating much more damage than it taken care of.
The intent of the automatic system is to look for setup values that are void in the cache and change them with updated values from the relentless shop. This functions well for a short-term issue with the cache, however it does not function when the persistent store is invalid.
Today we made an adjustment to the persistent copy of a setup value that was interpreted as void. This meant that every client saw the invalid value and also tried to fix it. Because the repair entails making an inquiry to a cluster of databases, that collection was quickly overwhelmed by thousands of countless questions a second.
To make matters worse, every single time a customer got an error attempting to query one of the data sources it analyzed it as a void value, as well as deleted the corresponding cache key. This meant that also after the initial trouble had actually been taken care of, the stream of inquiries continued. As long as the databases stopped working to service several of the demands, they were creating a lot more demands to themselves. We had actually entered a responses loophole that really did not enable the databases to recover.
The means to quit the comments cycle was rather excruciating - we had to stop all traffic to this database collection, which implied turning off the website. As soon as the data sources had actually recovered and the source had actually been fixed, we slowly enabled more people back onto the website.
This got the site back up and also running today, and in the meantime we've shut off the system that tries to correct configuration values. We're discovering brand-new styles for this setup system adhering to layout patterns of various other systems at Facebook that deal more beautifully with comments loops as well as short-term spikes.
We say sorry once again for the website failure, and we want you to understand that we take the performance as well as integrity of Facebook extremely seriously.