Abstract
Modern big data applications increasingly rely on multi-model architectures to handle diverse data types, including relational, graph, and document-based information. However, deploying these heterogeneous subsystems in cloud environments often results in significant resource waste due to static or inefficient scaling mechanisms. This paper introduces an adaptive, elastic system that leverages a Self-learning Dynamic Threshold (SDT) algorithm to dynamically scale resources based on real-time demand. By utilizing control theory and historical learning, the system achieves over 30% reduction in resource consumption with less than a 5% impact on performance.
1. Introduction
The "one size fits all" approach to database management is no longer viable for complex modern applications. Polystore systems have emerged to provide unified access to multiple data models, but their cloud deployment remains inefficient. Traditional auto-scaling methods often fail to account for the varying peak demands of different subsystems, leading to either over-provisioning (wasting costs) or under-provisioning (violating Service Level Agreements). This research addresses the challenge of unifying these models while dynamically "right-sizing" the underlying infrastructure.
2. System Architecture
The proposed architecture is structured into four functional layers designed to manage the complexities of multi-model data:
- Query Interface Layer: Provides a unified entry point for diverse data models.
- Computation Execution Layer: Manages cross-model query execution and optimization.
- Data Storage Layer: Integrates specialized subsystems such as Graph, Relational, and Document stores.
- Resource Management Layer: Built on Kubernetes and Docker, utilizing Prometheus for real-time load sensing.
To simplify scaling, the system introduces the concept of "slots"—predefined groups of CPU and memory resources (e.g., 10% CPU and 100MB RAM). This abstraction prevents resource fragmentation and ensures that scaling actions provide balanced compute and memory capacity.
3. The Self-learning Dynamic Threshold (SDT) Algorithm
The core innovation of the system is the Self-learning Dynamic Threshold (SDT) algorithm, which treats resource scaling as a dynamic control problem. Unlike static threshold-based rules, SDT incorporates a feedback loop that monitors query performance and error rates.
A key feature is its ability to learn from historical data. When a load spike is detected, the system checks historical records to determine the optimal resource allocation from previous similar events. If no history exists, the system initiates an iterative refinement process, starting with a random allocation and adjusting based on feedback until the Quality of Service (QoS) stabilizes. This "learned" value is then recorded for future use.
4. Experimental Evaluation
The system was evaluated using simulated workloads designed to mimic real-world cloud patterns, including Stable, Growing, and Cycle/Bursting scenarios. The primary motivation for the multi-model capability was the Custom-360-view dataset, which integrates social networks, XML/JSON commodities, and structured records.
4.1 Key Results
Experimental results on a 16-machine cluster demonstrated significant improvements:
- Resource Efficiency: In Cycle/Bursting workloads, the SDT method reduced cumulative resource occupancy by 74.4% compared to static configurations, outperforming traditional threshold methods (30.4% reduction).
- Utilization: CPU utilization increased by 40.7% and memory utilization by 16.9%.
- Performance Overhead: The impact on query runtime and error rates was maintained below 5%, ensuring high Quality of Service.
5. Conclusion and Future Work
The adaptive multi-model system provides a robust solution for efficient cloud-based big data management. While highly effective in volatile environments, the SDT algorithm showed slightly lower efficiency in handling linear growth patterns compared to traditional methods. Future research will focus on refining the algorithm for steady-state growth and expanding support for additional data models, such as time-series or geospatial data.
Summary updated