Google BGP Leak Impacts Hundreds of Websites' Performance
A few days ago, Google started having connectivity issues. See how this affected thousands of sites and services.
Join the DZone community and get the full member experience.Join For Free
there are multiple protocols and components that keep the complex internet engine running. and just like any other well-oiled machine, it is important to regularly check whether it is functioning efficiently and delivering optimum performance.
the internet is basically a circuit relaying data signals/packets across different paths. one of the most important processes that make up the internet is ip routing. several protocols manage the flow of data, border gateway protocol or bgp governs how data is transmitted between autonomous entities in the network.
there is never enough stress on the need for ramping up security protocols as well as implementing proactive measures to identify performance degradation across a network quickly. this was highlighted by the bgp routing issue faced by google yesterday. although the issue was quickly sorted out, it still had a significant impact on user experience across multiple platforms.
at 16:30 est on november 12th, google noticed connectivity issues across multiple services including apis, load balancers, and even their cloud services.
catchpoint triggered performance alerts as soon as the issue surfaced. the charts below show some of the different google services that were impacted.
looking at the performance data from multiple customers, we realized this was a routing problem. for example, in the instance illustrated below, traffic was routed from germany to russia.
the ripestat data shows the routing path. as37282 was advertised as the route to google prefixes. this route information was then accepted by as4809 (china telecom) and then picked up by as20485 (transtelecom russia).
initial reports of the incident coupled with the suspicious routing paths pointed to a potential bgp hijack. but a google representative clarified to arstechnica that this was an accident and not malicious.
the nigerian isp, mainone cable company-identified as the origin of the issue, also tweeted that this was an error that occurred during a planned maintenance.
within 30 minutes the issue was resolved. google issued this statement on their cloud status dashboard:
"throughout the duration of this issue google services were operating as expected and we believe the root cause of the issue was external to google. we will conduct an internal investigation of this issue and make appropriate improvements to our systems to help prevent or minimize future recurrence."
not just another third-party
we are constantly discussing the performance tax that comes with integrating third-party tags. such incidents are a testament to the fact that third-party monitoring should never be overlooked.
the routing issue brought down google services which had an immediate impact on performance; multiple websites had unusually high page load time. this was mainly due to the google ajax libraries that are referenced by many websites. the outage brings the focus right back to third-party tag management and how performance issues introduced by these tags lead to downtime.
customers using the ajax libraries provided by google ( ajax.googleapis.com ) had a noticeable drop in performance throughout the duration of the routing attack. websites that relied on the google ajax library did not load properly leaving the page blank. for example, this website was blank for over 31 seconds.
the waterfall graph shows the unusually high wait time for the google apis resource which pushed the page load time to 54 secs.
multiple features make up an online application so dependencies on such third-party services are inevitable. proactive and constant monitoring of these services is key to mitigating the impact on performance. it is even more important to be prepared to handle such incidents, we shared tips on how you can do this in our blog " 5 lessons for managing a third party outage ."
performance monitoring is no longer about the uptime or downtime of an application. advanced monitoring provides you with all the data and tools necessary to identify issues quickly as well as predict and prevent potential performance issues.
Published at DZone with permission of Kameerath Abdul Kareem, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.