首页|期刊导航|湖北民族大学学报(自然科学版)|基于动态热度评估与3级划分的Redis缓存优化方法

基于动态热度评估与3级划分的Redis缓存优化方法OA

Redis Cache Optimization Method Based on Dynamic Heat Assessment and Three-level Classification

中文摘要英文摘要

针对电子回旋共振加热(electron cyclotron resonance heating,ECRH)系统高频时间序列数据在缓存中存在的命中率低、评估不连续及迁移不稳定等问题,提出基于动态热度评估与 3 级划分的远程字典服务器缓存优化(dynamic heat evaluation and three-level partition based remote dictionary server cache optimization,DHE-TP-Redis)方法.该方法通过动态热度计算模型量化数据价值,经3 级数据分类策略智能分配资源,引入基础热度保留保障热度连续性,通过逐步淘汰与模块协同实现高并发缓存稳定运行.结果表明,该方法在 3 种访问模式与持续迁移场景下均表现突出.在突发集中模式下,DHE-TP-Redis 方法的命中率较最近最少使用(least recently used,LRU)、最不常使用(least frequently used,LFU)方法分别提高了0.8、26.0个百分点.在持续迁移场景下,其迁移频率较LRU方法降低 5.7 次/h,较LFU方法降低 6.7 次/h,服务响应时间波动较LRU方法降低 4.4 个百分点,较LFU方法降低 5.1 个百分点.该方法为高频时序数据缓存提供了稳定的解决方案.

To address issues such as low hit ratio,discontinuous evaluation,and unstable migration of high-frequency time series data from the electron cyclotron resonance heating(ECRH)system in cache,a remote dictionary server cache optimization method based on dynamic heat evaluation and three-level partition(DHE-TP-Redis)was proposed.The data value was quantified through a dynamic heat calculation model,and resources were intelligently allocated via a three-level data classification strategy.Basic heat retention was introduced to ensure the continuity of data heat,while stable operation of the cache under high concurrency was achieved through gradual elimination and module collaboration.The results demonstrated that this method exhibited outstanding performance under three access patterns and continuous migration scenarios.In the burst concentration mode,the hit ratio of DHE-TP-Redis method increased by 0.8 and 26.0 percentage points respectively,compared with the least recently used(LRU)method and least frequently used(LFU)method.In the continuous migration scenario,its migration frequency was reduced by 5.7 times/h compared with LRU method and 6.7 times/h compared with LFU method,and the fluctuation of service response time was reduced by 4.4 percentage points compared with LRU method and 5.1 percentage points compared with LFU method.This method provided a stable solution for high-frequency time series data caching.

鲍海静;唐超礼

安徽理工大学 电气与信息工程学院,安徽 淮南 232001安徽理工大学 电气与信息工程学院,安徽 淮南 232001

信息技术与安全科学

ECRHRedis热数据管理缓存替换策略时序数据性能优化

ECRHRedishot data managementcache replacement policytime-series dataperformance optimization

《湖北民族大学学报(自然科学版)》 2026 (1)

87-91,100,6

安徽理工大学研究生创新基金项目(2024cx2114,2024cx2076).

10.13501/j.cnki.42-1908/n.2026.03.014

评论