显示第 1–3 条,共 3 条结果:Devora+Chait-Roth
-
arXiv:2611.36631 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Composing Updates in Time and Space
摘要: Scalable software services are expected to be always available. Hence, service software must be updated on the fly, while the service continues to function. The central challenge for on-the-fly update is to ensure the absence of observable, destructive interference between current- and new-version components, whose inconsistencies may lead to unexpected outcomes and catastrophic service failures. This work proposes new theoretical foundations for modular, consistent, on-the-fly updates for networks of processes. In a process network, updates to one component may cause destructive interference at a distant, non-updating component. We introduce coherence, a causality-based formulation of update consistency that guarantees a clear separation between old- and new-version transactions. We establish through an impossibility result that myopic update strategies, which observe and control only the updating components, are insufficient for consistency. This result leads to an isolation principle that cleanly separates a core, controlled update strategy from surrounding uncontrolled network activity, which enables modular reasoning about sequential and even concurrent updates. Applying this principle to microservice networks, we show how consistent update strategies for the full network can be constructed from strategies for updating isolated microservices based on compatibility and commutativity properties of the microservice actions.
提交于 2026年11月26日; 公告于 2026年11月30日。
-
arXiv:2508.04829 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Consistent Updates for Scalable Microservices
摘要: 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.
提交于 2025年8月6日; 公告于 2025年12月5日。
-
arXiv:2411.14563 [中文pdf(下批处理), 原文pdf, EasyResearch阅读, 其他]
Constructing Trustworthy Smart Contracts
摘要: Smart contracts form the core of Web3 applications. Contracts mediate the transfer of cryptocurrency, making them irresistible targets for hackers. We introduce ASP, a system aimed at easing the construction of provably secure contracts. The Asp system consists of three closely-linked components: a programming language, a defensive compiler, and a proof checker. The language semantics guarantee that Asp contracts are free of commonly exploited vulnerabilities such as arithmetic overflow and reentrancy. The defensive compiler enforces the semantics and translates Asp to Solidity, the most popular contract language. Deductive proofs establish functional correctness and freedom from critical vulnerabilities such as unauthorized access.
提交于 2024年11月21日; 公告于 2024年11月21日。