Graph
Cases2 cases
1 to 2 of 2
IL-0261Discord went fully offline twice as short network losses on Google Cloud sessions nodes wedged Erlang distributionDiscord2017- Symptoms
On 17 and 18 November 2017 nodes of Discord's 'sessions' cluster on Google Cloud Platform lost network connectivity for short periods, 16 times in all. Engineers saw a service impact, a node whose service had died and restarted, and pages for low memory on other sessions nodes; twice the failure cascaded and Discord was completely offline for about 30 minutes.
- Trigger
A software change that Google rolled out to the Google Cloud Platform networking stack on Friday introduced a bug that made VMs in Discord's sessions cluster lose network connectivity for short periods.
- Root cause
- Component
- Contributing factor
- Detection
At 11:52 PST on 17 November engineers noticed a service impact and escalated it in the incident chat. Later affected nodes showed up as pages to the on-call engineer for low memory on sessions nodes, and on 18 November as a page for a networking incident on sessions-1-11 together with issue reports that the customer experience team escalated from support channels.
- Remediation
- Forcefully terminated sessions nodes whose Erlang distribution port had failed
- Escalated the Google support ticket to P1 and notified the Technical Account Manager
- Restarted several core Discord services on 17 November, making clients reconnect over about 20 minutes
- Began terminating and rebooting the entire sessions cluster after seeing that rebooted machines did not fail again
- Disabled message sending globally on 18 November to help the service recover
- Restarted all members of the sessions cluster
- Re-enabled message sending after the initial all clear
- Google rolled back the software change made to its networking stack
- Action items
- Continue the project to improve how Discord's Erlang clusters handle node failure
- Expand how upgrades to these services are load tested so the rollout can be completed safely
- Replace the HTTP library used by Discord's Elixir/Erlang services
- Fix the instability seen in Erlang's net_kernel component
- Replace the pieces of the service discovery component that degraded with more performant implementations
- Work with Google on the issues Discord met while working with Google on this incident
- Expand the internal procedure for communicating with Google so the progress of P1 issues is tracked
- Lessons
Discord concluded that performance and stability issues in its own system, in Erlang's net_kernel, the service discovery component and the HTTP library, were what turned short network losses on part of the fleet from isolated issues for some users into two full system outages.
IL-0494Netlify's central load balancer IP stopped responding when Rackspace null-routed it in a DDoS, and A-record sites hungNetlify2016- Symptoms
At 8am PST on Monday, August 22, 2016, Netlify got alerts that its central load balancer, the single public IP that users point A records at, had stopped responding. Rackspace had null-routed the load balancer, so all traffic to that IP hung before it reached Netlify's servers.
- Trigger
A DDoS attack against Netlify's central load balancer in Rackspace's Chicago datacenter, after which Rackspace null-routed the load balancer's public IP.
- Root cause
- Component
- Contributing factor
- Detection
Alerts at 8am PST reported that the central load balancer had stopped responding, and Rackspace then confirmed it had null-routed the load balancer.
- Remediation
- Started a new cluster of CDN machines in Google Compute behind a Google network load balancer
- Gave clients who had contacted support the new public IP and told them to change their A records
- Updated the documentation and announced the new IP on Twitter, Gitter and the status page
- Action items
- Keep the new Google-based network IP running in place of the Rackspace load balancer
- Release Netlify's own DNS hosting, integrated with the CDN, so domains do not depend on a fixed IP
- Fix the status page publishing process so it is updated straight away during an issue
- Build a mailer that sends targeted mails to all paying clients during an outage
- Lessons
Netlify judged Rackspace's load balancer too vulnerable to DDoS and Rackspace's DDoS processes not up to the standard of other cloud providers, and expected Google's anycast-based Maglev load balancer to be more resilient. In the end, the only way to protect a domain from DDoS-related outages is not to expose any fixed IP address for it, which is why sites should use the www domain with a CNAME, or Netlify DNS, rather than a single A-record IP.
These 2 cases involve Cloud load balancer and Service discovery. kubegap audits a Kubernetes cluster for gaps like these, read-only, from Claude Code or Codex; its checks cite public reports like the ones in this library.
By root cause1
Cloud provider outage2 cases
- Contributing factor