将 etcd 变异以适应边缘环境
Mutating etcd Towards Edge Suitability
AI总结:
本研究针对边缘环境中 Kubernetes 等编排平台因键值存储不适配的问题,提出 etcd 的两种变异(mergeable-etcd 和 dismerge),采用基于 CRDT 的因果一致性,实现本地优先、网络分区下可靠且高性能的存储。
摘要:
在边缘环境中,服务器不再与客户端分离部署,而是与客户端共同部署,远离其他服务器,重点在于可靠且高性能的运行。诸如 Kubernetes 之类的编排平台是正在向边缘过渡的关键系统,但它们仍然不适合该环境,这主要源于其关键性的键值存储。在这项工作中,我们从边缘环境中推导出需求,表明从根本上讲,分布式键值数据存储(如 etcd)的设计无法满足这些需求。利用这些需求,我们探索了分布式键值数据存储的设计空间,并为不同目标实现了 etcd 的两次连续变异:mergeable-etcd 和 dismerge,将线性一致性转换为基于 CRDT 的因果一致性。mergeable-etcd 保留了线性修订历史,但遇到了固有的缺陷,而 dismerge 则拥抱了因果模型。两种存储都是本地优先的,在网络分区和变化下保持可靠性能,大幅超越 etcd 的性能,同时在可靠设置中保持有竞争力的性能。
英文摘要:
In the edge environment servers are no longer being co-located away from clients, instead they are being co-located with clients away from other servers, focusing on reliable and performant operation. Orchestration platforms, such as Kubernetes, are a key system being transitioned to the edge but they remain unsuited to the environment, stemming primarily from their critical key-value stores. In this work we derive requirements from the edge environment showing that, fundamentally, the design of distributed key-value datastores, such as etcd, is unsuited to meet them. Using these requirements, we explore the design space for distributed key-value datastores and implement two successive mutations of etcd for different points: mergeable-etcd and dismerge, trading linearizability for causal consistency based on CRDTs. mergeable-etcd retains the linear revision history but encounters inherent shortcomings, whilst dismerge embraces the causal model. Both stores are local-first, maintaining reliable performance under network partitions and variability, drastically surpassing etcd's performance, whilst maintaining competitive performance in reliable settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。