Facebook You Re Doing It Wrong New 2019
By
Herman Syah
—
Saturday, February 1, 2020
—
What's Wrong With Facebook
Facebook You Re Doing It Wrong
The essential imperfection that caused this outage to be so severe was an unfortunate handling of a mistake condition. An automated system for verifying arrangement worths wound up causing much more damage than it repaired.
The intent of the computerized system is to check for configuration values that are invalid in the cache and replace them with upgraded values from the persistent store. This works well for a short-term trouble with the cache, but it doesn't work when the persistent shop is void.
Today we made a modification to the consistent duplicate of a configuration worth that was taken void. This indicated that every client saw the void worth as well as tried to repair it. Due to the fact that the solution involves making an inquiry to a collection of databases, that collection was promptly bewildered by numerous hundreds of questions a 2nd.
To make matters worse, whenever a client got a mistake trying to inquire one of the data sources it interpreted it as an invalid worth, and also deleted the matching cache secret. This suggested that also after the initial trouble had been dealt with, the stream of queries proceeded. As long as the data sources stopped working to service a few of the demands, they were causing even more demands to themselves. We had actually gotten in a responses loop that really did not enable the data sources to recuperate.
The way to quit the feedback cycle was fairly uncomfortable - we needed to quit all web traffic to this data source cluster, which meant turning off the website. Once the data sources had recouped and the root cause had been dealt with, we slowly enabled more individuals back onto the website.
This obtained the website back up and running today, as well as in the meantime we have actually turned off the system that attempts to deal with setup values. We're discovering brand-new styles for this setup system complying with design patterns of various other systems at Facebook that deal even more beautifully with feedback loops as well as short-term spikes.
We say sorry once more for the website failure, and also we desire you to know that we take the efficiency and also dependability of Facebook extremely seriously.