Article Complete

What Is Border Gateway Protocol: Reason Behind Facebook’s Outage

For about six hours, Facebook, Instagram, and WhatsApp, which command a total of over 3.5 billion monthly core users, were not working.

What Is Border Gateway Protocol: Reason Behind Facebook’s Outage

Key takeaways

  • Facebook, Instagram, and WhatsApp experienced a significant outage lasting approximately six hours, affecting over 3.5 billion users globally.
  • The outage was caused by a configuration change in the backbone routers that disrupted network traffic coordination between data centres.
  • The Border Gateway Protocol (BGP) malfunctioned, preventing routers from determining the most efficient routes for internet traffic.
  • The incident resulted in a substantial financial loss for Facebook's founder, Mark Zuckerberg, amounting to $6 billion.

Takeaways drafted with AI from the article text.

Top social media apps -- Facebook, Instagram, and WhatsApp -- suffered one of the longest global outages last night. For about six hours, all the three apps, which command a total of over 3.5 billion monthly core users, were not working. This outage grazed Facebook founder Mark Zuckerberg’s fortune by $6 billion and pushed him down a few positions in the world’s richest list.

In an official statement issued by Facebook, the cause behind the unprecedented outage was a configuration change in the backbone routers that coordinate network traffic between the data centres. This had a cascading effect and brought all the Facebook services to a halt. In layman terms, everything that Facebook runs disappeared for a period of time.

https://twitter.com/Facebook/status/1445061804636479493?s=20

What Went Wrong

The company talks about the Border Gateway Protocol (BGP) in a detailed blog by website security firm Cloudflare. It is a mechanism to exchange routing information among autonomous systems. The list of possible routes is constantly updated by the Internet routers. If BGP stops working, these routers will not know what to do, bringing the Internet to a halt. So while DNS (domain name system) is the address system of the location of each website or the IP address, BGP is the roadmap that helps find the most efficient route to get to that address.

Further, an individual network with a unified internal routing policy is called an Autonomous System (AS), each of which has an Autonomous System Number or ASN. An AS can originate prefixes -- control a group of IP addresses -- and transit prefixes -- tell how to reach specific groups of IP addresses. 

As per Cloudflare, Facebook stopped announcing the routes to their DNS prefixes, which means that its DNS servers were unavailable. A BGP UPDATE message gives information about any changes made to a prefix advertisement or entirely withdraws the prefix. Cloudflare said that for Facebook, this chart is largely unchanged as the social media giant does not make a lot of changes to its network minute by minute. However, before the global outage, Cloudflare observed a lot of routing changes from Facebook. This led to the routes being withdrawn, and the DNS went offline. With these changes, Facebook and associated sites were effectively disconnected from the Internet.

Credit: Cloudflare

Credit: Cloudflare

Interestingly, when Facebook and related apps were down, people started looking for alternatives. A lot of DNS queries to Twitter, Signal and other social media apps increased.

https://twitter.com/Twitter/status/1445078208190291973?s=20

Published

Corrections: AIM corrects errors of fact and notes the change on the story. Spotted one? Tell the editors. Read our editorial standards.