Enhancing Redis Cache Efficiency Based on Dynamic TTL and Adaptive Eviction Mechanism

Common caching strategies used in Redis are often inefficient when dealing with complex data structures, leading to inefficient memory usage and degraded system performance. This work presents the idea of decomposing complex data structures into simpler sub-elements and a custom caching strategy is applied to each of them. This custom caching strategy is based on dynamic Time-To-Live (TTL) determination and an assessment of real-time access patterns to more accurately balance data retention and eviction. It determines the need for eviction based on the combination of the weight of each key along with the advantages of the Least Recently Used (LRU) and Least Frequently Used (LFU) algorithms. Developed using C# on the.NET platform with the StackExchange. Redis library, the suggested solution aims to improve cache hit rates and reduce memory overhead in high-load scenarios. The results of the experiment confirm the promising nature of the developed adaptive strategy.

Authors

Institutions

Publication Details

Published
2025-04-24
DOI
https://doi.org/10.1109/estream66938.2025.11016870
Primary Topic
IoT and Edge/Fog Computing
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Redis Cache Efficiency Based on Dynamic TTL and Adaptive Eviction Mechanism

Mariya Shirokopetleva, Zoia Dudar, Olena Shevchenko, Matvii Kuchapin
IoT and Edge/Fog Computing
article

Enhancing Redis Cache Efficiency Based on Dynamic TTL and Adaptive Eviction Mechanism

Mariya Shirokopetleva, Zoia Dudar, Olena Shevchenko, Matvii Kuchapin
article en

Abstract

Common caching strategies used in Redis are often inefficient when dealing with complex data structures, leading to inefficient memory usage and degraded system performance. This work presents the idea of decomposing complex data structures into simpler sub-elements and a custom caching strategy is applied to each of them. This custom caching strategy is based on dynamic Time-To-Live (TTL) determination and an assessment of real-time access patterns to more accurately balance data retention and eviction. It determines the need for eviction based on the combination of the weight of each key along with the advantages of the Least Recently Used (LRU) and Least Frequently Used (LFU) algorithms. Developed using C# on the.NET platform with the StackExchange. Redis library, the suggested solution aims to improve cache hit rates and reduce memory overhead in high-load scenarios. The results of the experiment confirm the promising nature of the developed adaptive strategy.

Kharkiv National University of Radio Electronics (UA)
Openalex Percentile: Top 86%
IoT and Edge/Fog Computing
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.