
Navigating Multi-tenancy and Cluster Federation for 1.3 Billion Active Time Series
This article explores Airbnb's journey in building a massive observability platform. It details the architectural shifts from a single cluster to a federated multi-cluster model, focusing on isolation techniques and automated operations to handle petabyte-scale data.
Essential reading for infrastructure engineers and SREs dealing with hyper-scale metrics systems. It provides a blueprint for building resilient, multi-tenant architectures that can survive regional outages and traffic spikes.
Airbnb faced performance and reliability challenges when migrating from a hosted provider to an in-house metrics solution processing 50 million samples per second and 1.3 billion active time series. Key issues included noisy neighbor effects, slow query performance for large payloads, and high blast radius from single-cluster outages.
The team implemented shuffle sharding for tenant isolation and introduced strict read/write guardrails. They transitioned to a multi-cluster federation architecture using Promxy and automated stateful application deployments via Kubernetes operators to ensure consistency and minimize manual overhead.
The architecture achieved over 99.9% availability and improved system resilience through tenant-level controls and multi-zone deployments. Automation reduced configuration drift across clusters and transformed clusters into 'cattle' that can be easily scaled or replaced.
Trade-off
Federated queries across multiple clusters were found to be 5–10x more resource-intensive than single-cluster queries. Additionally, managing a multi-cluster environment increased the initial operational complexity and tooling requirements.
A technique that isolates different tenants' workloads by assigning them to a subset of nodes, minimizing the impact of a single tenant's spike on the entire system.
A querying mechanism that retrieves and aggregates data from multiple independent data sources or clusters as if they were one.
A design philosophy aimed at limiting the impact of a failure within a system to a small, contained area.




