DEVOURED
Viaduct 1.0 and the Future of Airbnb's Data Mesh
Airbnb open-sourced Viaduct 1.0, a GraphQL-based data mesh that uses multi-tenant modules to avoid the operational complexity of federation.
What: Viaduct 1.0 is Airbnb's open-source data-oriented service mesh built on GraphQL. It provides a unified schema for accessing any data source across the company while allowing teams to contribute their own schema and resolvers as multi-tenant modules within a single service, avoiding the need to run separate GraphQL instances or deal with federation complexity.
Why it matters: This represents a middle path between monolithic GraphQL servers and full federation, suggesting that companies are finding federation's operational overhead isn't justified for internal data access patterns.
Deep dive
- Viaduct is a data-oriented service mesh that addresses the challenge of accessing diverse data sources across a large organization
- Built on GraphQL, it provides a single unified schema that acts as a gateway to any data source at Airbnb
- The key innovation is multi-tenant modules: teams contribute their own schema and resolvers without operating separate GraphQL services
- This architecture strikes a balance between a monolithic GraphQL server (which doesn't scale for large orgs) and full GraphQL federation (which has high operational overhead)
- Teams can develop and deploy their data access logic independently while users query through a single endpoint
- The project is now open source, allowing other companies to adopt the same pattern
- Airbnb positions this as part of their data mesh strategy, enabling decentralized data ownership while maintaining centralized access
Decoder
- Data mesh: Architectural pattern that treats data as a product owned by domain teams rather than a centralized data platform, emphasizing decentralized data ownership and federated governance
- GraphQL federation: Pattern for composing multiple GraphQL services into a single unified graph, but requires orchestrating multiple separate services and managing their dependencies
- Multi-tenant modules: In Viaduct's context, this means multiple teams' schema and resolver code running within a single shared GraphQL service rather than as separate deployments
Original article
Viaduct 1.0 is Airbnb's open-source data-oriented service mesh built on GraphQL. It provides a single unified schema for accessing any data source across the company while enabling decentralized development through multi-tenant modules as teams contribute their own schema and resolvers without operating separate GraphQL services, striking a balance between a monolithic GraphQL server and full federation.
Explore all 67 articles in today's digest
Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi