Reinforcement Learning Based Approaches to Adaptive Context Caching in Distributed Context Management Systems
Preprint
Abstract
Performance metrics-driven context caching has a profound impact on throughput and response time in distributed context management systems for real-time context queries. This paper proposes a reinforcement learning based approach to adaptively cache context with the objective of minimizing the cost incurred by context management systems in responding to context queries. Our novel algorithms enable context queries and sub-queries to reuse and repurpose cached context in an efficient manner. This approach is distinctive to traditional data caching approaches by three main features. First, we make selective context cache admissions using no prior knowledge of the context, or the context query load. Secondly, we develop and incorporate innovative heuristic models to calculate expected performance of caching an item when making the decisions. Thirdly, our strategy defines a time-aware continuous cache action space. We present two reinforcement learning agents, a value function estimating actor-critic agent and a policy search agent using deep deterministic policy gradient method. The paper also proposes adaptive policies such as eviction and cache memory scaling to complement our objective. Our method is evaluated using a synthetically generated load of context sub-queries and a synthetic data set inspired from real world data and query samples. We further investigate optimal adaptive caching configurations under different settings. This paper presents, compares, and discusses our findings that the proposed selective caching methods reach short- and long-term cost- and performance-efficiency. The paper demonstrates that the proposed methods outperform other modes of context management such as redirector mode, and database mode, and cache all policy by up to 60% in cost efficiency.Keywords
All Related Versions
This publication has 38 references indexed in Scilit:
- Auto-scaling techniques for IoT-based cloud applications: a reviewCluster Computing, 2021
- Learning-based dynamic cache management in a cloudJournal of Parallel and Distributed Computing, 2020
- The role of big data analytics in industrial Internet of ThingsFuture Generation Computer Systems, 2019
- Transient content caching and updating with modified harmony search for Internet of ThingsDigital Communications and Networks, 2019
- Periodic Query Optimization Leveraging Popularity-Based Caching in Wireless Sensor Networks for Industrial IoT ApplicationsMobile Networks and Applications, 2014
- Building ubiquitous QoC-aware applications through model-driven software engineeringScience of Computer Programming, 2013
- Extending Context Spaces Theory by Proactive Adaptation2010
- Challenges in Modelling and Using Quality of Context (QoC)Lecture Notes in Computer Science, 2005
- Modeling Context Information in Pervasive Computing Systems2002
- Towards a Better Understanding of Context and Context-Awareness1999