Consistent Updates for Scalable Microservices
Devora Chait-Roth, Kedar S. Namjoshi, Thomas Wies
摘要
Online services are commonly implemented with a scalable microservice architecture, where isomorphic workers process client requests, recording persistent state in a backend data store. To maintain service, modifications to service functionality must be made on the fly - i.e., as the service continues to process client requests - but doing so is challenging. The central difficulty is that of avoiding inconsistencies from mixed-mode operation, caused by workers of current and new versions interacting via the data store. Some update methods avoid mixed-mode altogether, but only at the cost of substantial inefficiency - by doubling resources (memory and compute), or by halving throughput. The alternative is an uncontrolled “rolling” update, which runs the risk of serious service failures arising from inconsistent mixed-mode behavior. Ideally, it should appear to every client that a service update takes effect atomically; this ensures that a client is not exposed to inconsistent mixed-mode behavior. In this paper, we introduce a framework that formalizes this intuition and develop foundational theory for reasoning about update consistency. We apply this theory to derive the first algorithms that guarantee consistency for mixed-mode updates. The algorithms rely on semantic properties of service actions, such as commutativity. We show that this is unavoidable, by proving that any semantically oblivious mixed-mode update method must allow inconsistencies.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper4
- Gandalf: An Intelligent, End-To-End Analytics Service for Safe Deployment in Large-Scale Cloud InfrastructureZe Li, Qian Cheng, Ken Hsieh, Yingnong Dang 等NSDI 2020 · 被引用 69 次
- Understanding and Detecting Software Upgrade Failures in Distributed SystemsYongle Zhang, Junwen Yang, Zhuqi Jin, Utsav Sethi 等SOSP 2021 · 被引用 40 次
- Algorithms for In-Place, Consistent Network UpdateKedar S. Namjoshi, Sougol Gheissi, Krishan K. SabnaniSIGCOMM 2024 · 被引用 5 次
- Veracity: declarative multicore programming with commutativityAdam Chen, Parisa Fathololumi, Eric Koskinen, Jared PincusOOPSLA 2022 · 被引用 2 次
相关 Paper
- SemantiX: A Compatibility Checker between Applications and Compositions of Distributed SystemsYifei Sun, Ji-Yong ShinISSTA 2026
- Extending Intel-x86 consistency and persistency: formalising the semantics of Intel-x86 memory types and non-temporal storesAzalea Raad, Luc Maranget, Viktor VafeiadisPOPL 2022 · 被引用 24 次
- UniStore: A fault-tolerant marriage of causal and strong consistencyManuel Bravo, Alexey Gotsman, Borja de Régil, Hengfeng WeiUSENIX ATC 2021 · 被引用 1 次
- Antipode: Enforcing Cross-Service Causal Consistency in Distributed ApplicationsJoão Ferreira Loff, Daniel Porto, João Garcia, Jonathan Mace 等SOSP 2023 · 被引用 5 次
- Regular Sequential Serializability and Regular Sequential ConsistencyJeffrey Helt, Matthew Burke, Amit Levy, Wyatt LloydSOSP 2021 · 被引用 4 次
