New strategy accelerates cloud applications by multi-granularity container image storage
Higher Education Press
Researchers have developed a novel multi-granularity storage strategy, MIS, that intelligently balances storage efficiency and retrieval speed in distributed registries. The new approach significantly reduces container image pulling latency by up to 28.9%, addressing a critical bottleneck in cloud computing and microservice deployment.
A new study reveals a groundbreaking strategy that could significantly speed up cloud applications by changing how container images are stored. The findings, published in Frontiers of Computer Science, introduce a multi-granularity image storage strategy (MIS) that reduces image pulling latency by an average of 28% compared to state-of-the-art solutions. This innovation is crucial as the increasing popularity of container technology has created significant challenges in efficiently managing and retrieving millions of container images on demand.
Container images, the building blocks of modern applications, are typically stored in two ways: at the "layer-level," which allows for fast retrieval but consumes vast amounts of storage due to data redundancy , or at the "file-level," which saves space by deduplicating common files but suffers from slow performance due to the need to reconstruct layers before pulling. This trade-off has been a persistent dilemma for developers and system administrators.
The research team, led by Prof. Lin Gu from Huazhong University of Science and Technology, tackled this challenge head-on. Their proposed strategy, MIS, is the first to investigate and combine both storage levels within a collaborative planning framework for distributed registries. MIS intelligently decides whether to store an image at the layer-level for fast access or the file-level for storage savings, based on factors like image popularity and network conditions. By doing so, it leverages the benefits of both file-level deduplication and layer-level fast pulling.
"Our goal was to eliminate the compromise between speed and storage cost," said Ziyou Si, a Ph.D. student and the paper's first author. "MIS creates a hybrid solution that dynamically adapts to the needs of the system, ensuring that popular images are retrieved quickly without the overhead of reconstruction, while still saving significant storage space on less-frequently accessed images."
Extensive trace-driven experiments validate the effectiveness of the MIS strategy. Compared to the default Docker Hub (layer-level), SPS (an advanced layer-level solution), and GF-R (a file-level solution), MIS reduced the average image pulling latency by 28.67%, 21.69%, and 28.94%, respectively. This performance boost allows for faster, more elastic, and more cost-efficient deployment of container-based microservices, particularly in edge computing environments where resources are limited.
The team formulated the complex storage planning problem as a nonlinear mixed-integer program and developed a low-complexity algorithm based on randomized rounding to solve it efficiently. This makes the solution practical for large-scale, real-world deployment in existing container systems.
Disclaimer: AAAS and EurekAlert! are not responsible for the accuracy of news releases posted to EurekAlert! by contributing institutions or for the use of any information through the EurekAlert system.