Marlin: 面向自动扩缩容云数据库管理系统的高效协调机制(扩展版)
Marlin: Efficient Coordination for Autoscaling Cloud DBMS (Extended Version)
AI总结:
针对云数据库控制平面依赖外部融合协调服务存在的扩展性、成本与运维问题,本研究提出云原生协调机制Marlin,通过解耦协调功能、整合进现有数据库并优化提交协议,实现了更高的成本效率和更快的重配置速度。
摘要:
现代云数据库正从融合架构转向存储解耦架构,实现了计算与存储的独立扩缩容和计费。然而,云数据库的控制平面仍依赖外部融合式协调服务(如ZooKeeper)。这类服务本质上是针对低元数据量优化的轻量级数据库。随着云端控制平面规模扩大,该方案面临着与存储解耦前的融合数据库类似的局限:可扩展性瓶颈、成本效率低下,以及运维负担加重。\n我们提出对集群协调功能进行解耦,以获取与存储解耦为现代云数据库管理系统带来的同等优势。我们提出了Marlin,一种完全采用存储解耦架构的云原生协调机制。Marlin将协调功能整合到其管理的现有云原生数据库中,无需外部协调服务。为在无外部协调服务的情况下实现故障转移,Marlin支持对协调状态进行跨节点修改。为确保数据一致性,Marlin采用事务同时管理协调状态和应用状态,并提出了MarlinCommit——一种优化的提交协议,即使在跨节点修改场景下也能提供强事务保证。我们的评估表明,与融合式协调方案相比,Marlin的成本效率提升最高达4.4倍,重配置耗时最多降低4.9倍。
英文摘要:
Modern cloud databases are shifting from converged architectures to storage disaggregation, enabling independent scaling and billing of compute and storage. However, cloud databases still rely on external, converged coordination services (e.g., ZooKeeper) for their control planes. These services are effectively lightweight databases optimized for low-volume metadata. As the control plane scales in the cloud, this approach faces similar limitations as converged databases did before storage disaggregation: scalability bottlenecks, low cost efficiency, and increased operational burden. We propose to disaggregate the cluster coordination to achieve the same benefits that storage disaggregation brought to modern cloud DBMSs. We present Marlin, a cloud-native coordination mechanism that fully embraces storage disaggregation. Marlin eliminates the need for external coordination services by consolidating coordination functionality into the existing cloud-native database it manages. To achieve failover without an external coordination service, Marlin allows cross-node modifications on coordination states. To ensure data consistency, Marlin employs transactions to manage both coordination and application states and introduces MarlinCommit, an optimized commit protocol that ensures strong transactional guarantees even under cross-node modifications. Our evaluations demonstrate that Marlin improves cost efficiency by up to 4.4x and reduces reconfiguration duration by up to 4.9x compared to converged coordination solutions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。