To Design the Adaptive Consistency via Machine-Learned Policy Control for Globally Distributed Databases
Main Article Content
Abstract
We have presented the adaptive consistency framework for globally distributed databases that uses a machine-learned policy controller to balance latency, throughput, and correctness under dynamic workloads. This approach has treated consistency as a tunable knob, guided by real-time observability, workload characteristics, and service-level objectives (SLOs). A lightweight supervisor has collected end-to-end latency, read/write latency distribution, and data staleness metrics, and has selected a consistency level (e.g., strong, bounded staleness, or eventual) at the operation granularity or per session. The policy has learned offline from historical traces and updated online via a safe incremental learning loop that avoids destabilizing the system. The objective of this research is the formalisation of adaptive consistency as a policy-optimisation problem with stability guarantees. A learnable controller that integrates latency, staleness, and throughput signals. Practical guidelines for deployment, monitoring, and safety are also provided. We have implemented the framework on top of a representative distributed database prototype and evaluated it under synthetic and real workloads, including flash crowds, skewed key access, and partial network partitions. The results show a reduction of up to 28.6% in tail latency (p95/p99) with controlled staleness deviation, and a 75% improvement in overall throughput under bursty conditions, compared to 20% with static consistency configurations. We have considered the organisational concerns, security requirements, and opportunities for integration with the current Database-as-a-Service (DBaaS) platform.
Downloads
Article Details
Section

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
How to Cite
References
Duling Xu, et al., 27 Nov 2025, “Performant Synchronisation in Geo-Distributed Databases”, arXiv:2511.22444v1 [cs.DB] 27 Nov 2025 1Renmin University of China, Beijing, China
URL: https://arxiv.org/html/2511.22444v1.
Suruchi Shah, 2024, “Understanding AI-Driven Adaptive Consistency in Distributed Systems”.
URL: https://dzone.com/articles/ai-driven-adaptive-consistency-in-distributed-systems.
Swethasri Kavuri, Suman Narne, 2020, “Implementing Effective SLO Monitoring in High-Volume Data Processing Systems”, March 2020, International Journal of Scientific Research in Computer Science Engineering and Information Technology.DOI: http://doi.org/10.32628/CSEIT206479
Rawan Alsheikh, et al., 2024, “An Adaptive State Consistency Architecture for Distributed Software-Defined Network Controllers: An Evaluation and Design Consideration,” Applied Science. 2024, 14(6), 2627; https://doi.org/10.3390/app14062627
Vansh Sharma, Apr 13, 2025, “How Distributed Databases Handle Data Consistency at Scale”.
Chien-Chih Wang et.al., “Machine Learning for Industrial Optimization and Predictive Control: A Patent-Based Perspective with a Focus on Taiwan’s High-Tech Manufacturing”, Processes 2025, 13(7), 2256; https://doi.org/10.3390/pr13072256.
D.R. Gunasegaram, et.al., “Machine learning-assisted in-situ adaptive strategies for the control of defects and anomalies in metal additive manufacturing”, Additive Manufacturing Volume 81, 5 February 2024, 104013. https://doi.org/10.1016/j.addma.2024.104013
Sravankumar Nandamuri,” Comprehensive guide to monitoring and observability in machine learning infrastructure: From metrics to implementation”, World Journal of Advanced Research and Reviews, 2025, 26(02), 2068-2077. DOI: https://doi.org/10.30574/wjarr.2025.26.2.1823
MongoDB, et al., “Consistency levels in Azure Cosmos DB”. Sept-2025.
URL: https://learn.microsoft.com/en-us/azure/cosmos-db/consistency-levels.
Will Velida, et al.,2020, “Understanding Consistency Levels in Azure Cosmos DB”, 6 Jan 2020.
URL: https://dev.to/willvelida/understanding-consistency-levels-in-azure-cosmos-db-28hd
Andrei Matei, et al., 2021, “CockroachDB's consistency model”, February 23, 2021.
URL: https://www.cockroachlabs.com/blog/consistency-model/
Oluwafemi Oloruntoba, et.al., 2025, “AI-Driven autonomous database management: Self-tuning, predictive query optimization, and intelligent indexing in enterprise it environments”. World Journal of Advanced Research and Reviews, 2025, 25(02), 1558-1580. DOI https://doi.org/10.30574/wjarr.2025.25.2.0534
GAO CONG, et al., 2024, “Machine Learning for Databases: Foundations, Paradigms, and Open Problems”, SIGMOD '24: Companion of the 2024 International Conference on Management of Data, June 2024. DOI: https://dl.acm.org/doi/10.1145/3626246.3654686
Joab Jackson, et al., 2018, “A Tip from Mechanical Engineering: Use Control Theory to Better Auto-Scale Systems”, 2018. URL: https://thenewstack.io/a-tip-from-mechanical-engineering-use-control-theory-to-better-auto-scale-systems
SIGML, et al., 2024, “6 Control Theory Concepts Every Engineer Should Know”, Jan 16. URL: https://www.sigmachinelearning.com/post/6-control-theory-concepts-every-engineer-should-know.
Anil Kumar Jonnalagadda, Chiranjeevi Bura, 2024, “Immune-Inspired AI: Adaptive Defence Models for Intelligent Edge Environments”, Journal ICCK Transactions on Emerging Topics in Artificial Intelligence, Vol. & No. Volume 2, Issue 3, Pages 157-168. DOI: http://doi.org/10.62762/TETAI.2025.270695
LinkedIn community, IT Operations, 2023, “What are the risks and mitigation strategies for implementing major changes to IT systems?”, August 2023. URL: https://www.linkedin.com/advice/3/what-risks-mitigation-strategies-implementing-major
Xiang Yin, et al., 2024, “Formal Synthesis of Controllers for Safety-Critical Autonomous Systems: Developments and Challenges”, Electrical Engineering and Systems Science, 20 Feb 2024. DOI: https://doi.org/10.48550/arXiv.2402.13075
Ângelo Morgado, et al., 2025, “Evaluating end-to-end autonomous driving architectures: a proximal policy optimization approach in simulated environments”, 25 July 2025, Volume 5, article number 14, 2025.
URL: https://link.springer.com/article/10.1007/s43684-025-00102-3.
Thi-Thu-Trang Do, et al., 2025, “A Survey on Video Big Data Analytics: Architecture, Technologies, and Open Research Challenges”, Applied Sciences, 21 July 2025, 15(14), 8089. DOI: https://doi.org/10.3390/app15148089
Nektarios Nikolaos Deligiannakis, et. al., “DACCA: Distributed Adaptive Cloud Continuum Architecture”, Published: 16 December 2025 in Preprints.org. DOI: https://doi.org/10.20944/preprints202512.1428.v1
Hussein Joumaa, et al., “Coordinated Enforcement of Obligations in Distributed Usage Control Systems”, 21 July,2025, SACMAT '25: Proceedings of the 30th ACM Symposium on Access Control Models and Technologies, pp. 57 – 61. DOI: https://doi.org/10.1145/3734436.3734457
Andreas Metzger, et al., “Realizing self-adaptive systems via online reinforcement learning and feature-model-guided exploration”, Springer, Nature, 01 March 2022, Volume 106, pp. 1251–1272.
URL: https://link.springer.com/article/10.1007/s00607-022-01052-