arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21612cs.DC
收藏

对角缩放:分布式数据库的多维资源模型和优化框架

Diagonal Scaling: A Multi-Dimensional Resource Model and Optimization Framework for Distributed Databases

Shahir Abdullah, Syed Rohit Zaman

AI总结:

本文提出对角缩放模型,通过多维资源优化减少延迟、成本和重新平衡,提升分布式数据库性能。

摘要:

现代云数据库将扩展视为二元决策:通过增加节点进行横向扩展或通过增加每个节点的资源进行纵向扩展。这种一维观点是有限的,因为数据库性能、成本和协调开销源于水平弹性与每个节点CPU、内存、网络带宽和存储IOPS的联合交互。因此,系统常常对负载激增过度反应,对内存压力不足反应,或在次优状态之间振荡。我们引入了Scaling Plane,一个二维模型,其中每个分布式数据库配置都表示为一个点(H,V),其中H表示节点数,V是一个资源向量。在该平面上,我们定义了延迟、吞吐量、协调开销和货币成本的平滑近似值,提供了性能权衡的统一视图。我们证明了分析和实证表明,最优扩展轨迹经常沿着对角线路径:一系列联合水平和垂直调整,同时利用集群并行性和每个节点的改进。为了计算此类动作,我们提出DIAGONALSCALE,一种离散局部搜索算法,评估平面上的水平、垂直和对角线移动,并选择最小化多目标函数且符合SLA约束的配置。通过合成表面、微基准测试和分布式SQL和KV系统的实验,我们证明对角缩放可将p95延迟降低高达40%,将每查询成本降低高达37%,并将重新平衡减少2到5倍,相比仅横向和纵向自动扩展。我们的结果突显了多维缩放模型的必要性,并为下一代云数据库系统的自动扩展提供了基础。

英文摘要:

Modern cloud databases present scaling as a binary decision: scale-out by adding nodes or scale-up by increasing per-node resources. This one-dimensional view is limiting because database performance, cost, and coordination overhead emerge from the joint interaction of horizontal elasticity and per-node CPU, memory, network bandwidth, and storage IOPS. As a result, systems often overreact to load spikes, underreact to memory pressure, or oscillate between suboptimal states. We introduce the Scaling Plane, a two-dimensional model in which each distributed database configuration is represented as a point (H, V), with H denoting node count and V a vector of resources. Over this plane, we define smooth approximations of latency, throughput, coordination overhead, and monetary cost, providing a unified view of performance trade-offs. We show analytically and empirically that optimal scaling trajectories frequently lie along diagonal paths: sequences of joint horizontal and vertical adjustments that simultaneously exploit cluster parallelism and per-node improvements. To compute such actions, we propose DIAGONALSCALE, a discrete local-search algorithm that evaluates horizontal, vertical, and diagonal moves in the Scaling Plane and selects the configuration minimizing a multi-objective function subject to SLA constraints. Using synthetic surfaces, microbenchmarks, and experiments on distributed SQL and KV systems, we demonstrate that diagonal scaling reduces p95 latency by up to 40 percent, lowers cost-per-query by up to 37 percent, and reduces rebalancing by 2 to 5 times compared to horizontal-only and vertical-only autoscaling. Our results highlight the need for multi-dimensional scaling models and provide a foundation for next-generation autoscaling in cloud database systems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑