基于动态约束的微服务平台缓存替换算法

Liwen Li, Chunyang Ye, Hui Zhou
{"title":"基于动态约束的微服务平台缓存替换算法","authors":"Liwen Li, Chunyang Ye, Hui Zhou","doi":"10.1109/ICSS55994.2022.00033","DOIUrl":null,"url":null,"abstract":"Distributed cache is one of the most important components in cloud computing and microservice systems. Adding cache components to the microservice system can significantly improve the concurrency and throughput of the whole microservice framework, and effectively promote the overall performance of the microservice system. However, traditional caching algorithm can easily lead to the imbalance of cache resource allocation in microservice system, thus affecting the performance of the microservice system. We study the basic architecture of cache in microservice platform, and propose the mathematical model of distributed cache and the probability distribution model of data access in microservice platform. Next, based on the above mathematical model, we design a cache replacement algorithm based on dynamic constraints in microservice platform. The algorithm can effectively solve a series of problems of traditional algorithms in microservice platform, making the algorithm more suitable for the environment of microservice architecture. We evaluate and verify the algorithm on the simulation software platform. Experimental results show that the algorithm meets the performance requirements of high cache hit rate, high concurrency and high throughput in the microservice platform, and is significantly better than the traditional cache algorithms.","PeriodicalId":327964,"journal":{"name":"2022 International Conference on Service Science (ICSS)","volume":"110 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Cache Replacement Algorithm Based on Dynamic Constraints in Microservice Platform\",\"authors\":\"Liwen Li, Chunyang Ye, Hui Zhou\",\"doi\":\"10.1109/ICSS55994.2022.00033\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Distributed cache is one of the most important components in cloud computing and microservice systems. Adding cache components to the microservice system can significantly improve the concurrency and throughput of the whole microservice framework, and effectively promote the overall performance of the microservice system. However, traditional caching algorithm can easily lead to the imbalance of cache resource allocation in microservice system, thus affecting the performance of the microservice system. We study the basic architecture of cache in microservice platform, and propose the mathematical model of distributed cache and the probability distribution model of data access in microservice platform. Next, based on the above mathematical model, we design a cache replacement algorithm based on dynamic constraints in microservice platform. The algorithm can effectively solve a series of problems of traditional algorithms in microservice platform, making the algorithm more suitable for the environment of microservice architecture. We evaluate and verify the algorithm on the simulation software platform. Experimental results show that the algorithm meets the performance requirements of high cache hit rate, high concurrency and high throughput in the microservice platform, and is significantly better than the traditional cache algorithms.\",\"PeriodicalId\":327964,\"journal\":{\"name\":\"2022 International Conference on Service Science (ICSS)\",\"volume\":\"110 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-05-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 International Conference on Service Science (ICSS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICSS55994.2022.00033\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Service Science (ICSS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSS55994.2022.00033","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

分布式缓存是云计算和微服务系统的重要组成部分之一。在微服务系统中加入缓存组件,可以显著提高整个微服务框架的并发性和吞吐量,有效提升微服务系统的整体性能。然而,传统的缓存算法容易导致微服务系统中缓存资源分配的不平衡,从而影响微服务系统的性能。研究了微服务平台中缓存的基本架构,提出了分布式缓存的数学模型和微服务平台中数据访问的概率分布模型。接下来,在上述数学模型的基础上,设计了微服务平台中基于动态约束的缓存替换算法。该算法有效地解决了传统算法在微服务平台上存在的一系列问题,使算法更适合微服务架构环境。在仿真软件平台上对算法进行了评估和验证。实验结果表明,该算法满足微服务平台对高缓存命中率、高并发性和高吞吐量的性能要求,明显优于传统的缓存算法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Cache Replacement Algorithm Based on Dynamic Constraints in Microservice Platform
Distributed cache is one of the most important components in cloud computing and microservice systems. Adding cache components to the microservice system can significantly improve the concurrency and throughput of the whole microservice framework, and effectively promote the overall performance of the microservice system. However, traditional caching algorithm can easily lead to the imbalance of cache resource allocation in microservice system, thus affecting the performance of the microservice system. We study the basic architecture of cache in microservice platform, and propose the mathematical model of distributed cache and the probability distribution model of data access in microservice platform. Next, based on the above mathematical model, we design a cache replacement algorithm based on dynamic constraints in microservice platform. The algorithm can effectively solve a series of problems of traditional algorithms in microservice platform, making the algorithm more suitable for the environment of microservice architecture. We evaluate and verify the algorithm on the simulation software platform. Experimental results show that the algorithm meets the performance requirements of high cache hit rate, high concurrency and high throughput in the microservice platform, and is significantly better than the traditional cache algorithms.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信