# How to Survive a Regional Outage

DevFeed: [How to Survive a Regional Outage](<https://devfeed.tech/articles/how-to-survive-a-regional-outage-28023.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/2022-06-10-how-to-survive-a-regional-outage/>)

Author: Arne Claus Follow

Published: 2022-08-15T00:00:00Z

Content type: article

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [GCP outage lessons learned](<https://devfeed.tech/topics/gcp-outage-lessons-learned.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>), [Gke](<https://devfeed.tech/topics/gke.md>)

Tags: [2015](<https://devfeed.tech/tags/2015.md>), [2020](<https://devfeed.tech/tags/2020.md>), [2021](<https://devfeed.tech/tags/2021.md>), [akamai](<https://devfeed.tech/tags/akamai.md>), [api](<https://devfeed.tech/tags/api.md>), [asia](<https://devfeed.tech/tags/asia.md>), [backend](<https://devfeed.tech/tags/backend.md>), [backends](<https://devfeed.tech/tags/backends.md>), [booking](<https://devfeed.tech/tags/booking.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-regions](<https://devfeed.tech/tags/cloud-regions.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [code](<https://devfeed.tech/tags/code.md>), [complex](<https://devfeed.tech/tags/complex.md>), [google](<https://devfeed.tech/tags/google.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [outage](<https://devfeed.tech/tags/outage.md>), [region](<https://devfeed.tech/tags/region.md>)

## AI overview

trivago's global routing lets its services keep serving traffic when a Google Cloud region fails. After a backend rewrite to microservices on GKE and data movement through Kafka, the team removed most locale-based sharding and increased regional capacity. A global load balancer, tested alongside existing regional load balancers through weighted Akamai routing and a feature flag, sent requests to the nearest working region; when an Istio ingress gateway was scaled to zero, traffic shifted within seconds. The test exposed a few legacy services still dependent on regional sharding. Restoring a busy region also sent traffic back suddenly, creating a load surge that overwhelmed one advertiser. For later tests, trivago chose a less busy region and began using increase-based rate limiting, which raises its threshold over time as demand grows. The approach improved outage resilience and routing speed, though the account notes that the work depended on the earlier infrastructure migrations.

## Source excerpt

How trivago manages to stay globally available, even if a Google Cloud region goes down