#Backend

Viaduct 1.0 and the future of Airbnb’s data mesh

Viaduct 1.0 and the future of Airbnb’s data mesh
01

Summary

Airbnb Announces Viaduct 1.0: The Future of Scalable Data Mesh

Distributing modules, not just servers—Airbnb's unique architectural take on GraphQL scaling.

Airbnb has transitioned Viaduct, its core data service mesh, to a community-driven open-source project with the 1.0 release. It introduces a 'module-based multi-tenancy' approach that solves the overhead of server-heavy federated architectures in massive engineering orgs.

  • 01Module-based Distribution: Contribute to the graph by simply defining SDL and resolvers in a module directory.
  • 02Complementary to Federation: Use Viaduct instances as subgraphs to reduce the number of independent servers in large graphs.
  • 03Stability Commitment: Applied @StableApi annotations and automated binary compatibility checks in CI.
  • 04Scalable Observability: Built-in ownership tags and cost-aware tracing for multi-tenant debugging.
  • 05LLM-powered Mocking: Reimagined data mocking using @generateMock directives and LLMs for realistic test data.

RECOMMENDATION

Highly recommended for platform engineers building company-wide data APIs or organizations that have outgrown traditional single-service GraphQL setups.

The Problem

Large organizations face challenges managing a central GraphQL schema as it scales, struggling to balance developer autonomy across many teams with the need for stable governance and a unified interface.

The Solution

Airbnb developed Viaduct, a multi-tenant runtime that distributes development through modules rather than servers, allowing teams to contribute SDL and resolvers to a shared graph without managing infrastructure.

The Result

The 1.0 release establishes a stable public API and Kotlin binary compatibility, evolving Viaduct into a community-driven project where hundreds of teams contribute to a coherent data layer efficiently.

Trade-off

Adopting a shared runtime creates risks where one module's failure could impact others, necessitating investment in advanced sharding and probabilistic testing to maintain isolation and stability.

03

Key Concepts

Concept · 01

Data-oriented Service Mesh

A system that provides a single GraphQL-based interface for accessing and interacting with any data source, abstracting complexity from clients.

  • Acts as the unified layer for all Airbnb data infrastructure access.
  • Decouples backend implementation details from the public API surface.
Concept · 02

Multi-tenant Runtime

A shared execution environment that hosts independently developed tenant modules owning specific portions of the schema.

  • Eliminates the need for teams to set up or operate separate GraphQL services.
  • Allows the platform to handle scaling and integration while teams focus on domain logic.
Concept · 03

GraphQL Federation

An architectural approach that composes multiple subgraphs into a single unified graph through a router.

  • Viaduct can participate as a subgraph within a federated architecture to group closely related modules and reduce server sprawl.