Sitar-agent: 大规模构建可靠的动态配置 sidecar
[
[
The Airbnb Tech Blog
Airbnb 技术博客
](https://medium.com/airbnb-engineering?source=post_page---publication_nav-53c7c27702d5-b7e00c152068---------------------------------------)
](https://medium.com/airbnb-engineering?source=post_page---publication_nav-53c7c27702d5-b7e00c152068---------------------------------------)
[
[

](https://medium.com/airbnb-engineering?source=post_page---post_publication_sidebar-53c7c27702d5-b7e00c152068---------------------------------------)
](https://medium.com/airbnb-engineering?source=post_page---post_publication_sidebar-53c7c27702d5-b7e00c152068---------------------------------------)
Creative engineers and data scientists building a world where you can belong anywhere. http://airbnb.io
富有创造力的工程师和数据科学家正在构建一个让你在任何地方都有归属感的世界。http://airbnb.io
How Airbnb built a Kubernetes sidecar to deliver dynamic configuration reliably at scale.
Airbnb 如何构建 Kubernetes sidecar 以在大规模下可靠地交付动态配置。

Three people wearing helmets sit on a vintage-style motorcycle with a sidecar, parked on a cobblestone plaza lined with neatly trimmed trees and European-style buildings in the background.
三个戴着头盔的人坐在一辆带有挎斗的复古风格摩托车上,停在铺着鹅卵石的广场上,广场两旁是修剪整齐的树木,背景是欧式建筑。
By: Bo Teng, Cosmo Qiu, Siyuan Zhou, Ankur Soni, Xin Huang, Willis Harvey
作者:Bo Teng、Cosmo Qiu、Siyuan Zhou、Ankur Soni、Xin Huang、Willis Harvey
Introduction
简介
In our previous post, we explored Airbnb’s dynamic configuration system, Sitar, with a focus on service architecture and configuration change safety. Now for the harder question: once a config change is committed, which happens several times each minute, how does it actually reach the thousands of Airbnb’s service instances reliably, quickly, and without redeploying the services?
在我们的上一篇文章中,我们探讨了 Airbnb 的动态配置系统 Sitar,重点关注服务架构和配置变更的安全性。现在来看一个更难的问题:一旦提交了配置变更(这种情况每分钟会发生好几次),它究竟是如何可靠、快速地到达 Airbnb 的数千个服务实例,而无需重新部署服务的呢?
This post describes sitar agent: a lightweight Kubernetes sidecar that runs alongside every subscribed service pod, continuously synchronizing the latest configurations from the service backend an...