Supporting Resource Control for Actor Systems in Akka
Ahmed Abdel Moamen, Dezhong Wang and Nadeem Jamali
University of Saskatchewan, University of Saskatchewan, University of Saskatchewan

Although there are models and prototype implementations for controlling resource use in Actor systems, they are difficult to implement for production implementations of Actors such as Akka. This is because the messaging and scheduling infrastructures of runtime systems vary widely and are increasingly complex. In this paper, we compare two different ways of approximating actor-level control support for Akka. The first implementation expects actor messages to include estimates of resources required for processing them. The second implementation simply tracks actors’ resource use to decide when they should be scheduled next. We present experimental results on the performance cost of these resource control mechanisms, as well as their impact on resource utilization.