Journal of Network and Computer Applications | 2021
Optimizing the resource usage of actor-based systems
Abstract
Abstract Runtime environments for IoT data processing systems based on the actor model often apply a thread pool to serve data streams. In this paper, we propose an approach based on Reinforcement Learning (RL) to find a trade-off between the the resource (thread pool in server machines) usage and the quality of service for data streams. We compare our approach and the Thread Pool Executor of Akka, an open-source software toolkit. Simulation results show that our approach outperforms ThreadPoolExecutor with the timeout rule when the thread start times are not negligible. Furthermore, the tuning of our approach is not tedious as the application of the timeout rule requires.