Approaching Actor-Level Resource Control for Akka

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 are increasingly complex and s...

Full description

Saved in:
Bibliographic Details
Published inJob Scheduling Strategies for Parallel Processing Vol. 11332; pp. 127 - 146
Main Authors Abdelmoamen, Ahmed, Wang, Dezhong, Jamali, Nadeem
Format Book Chapter
LanguageEnglish
Published Switzerland Springer International Publishing AG 2019
Springer International Publishing
SeriesLecture Notes in Computer Science
Subjects
Online AccessGet full text
ISBN9783030106317
3030106314
ISSN0302-9743
1611-3349
DOI10.1007/978-3-030-10632-4_7

Cover

More Information
Summary: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 are increasingly complex and significantly different from one system to another. This paper presents our efforts in implementing resource control support for Actor systems implemented using the Akka library. Particularly, given the lack of support in Akka for direct scheduling of actors, we compare two different ways of approximating actor-level control support. The first implementation expects messages to actors to provide estimates of resources likely to be consumed for processing them; these estimates are then relied upon to make scheduling decisions. In the second implementation, resource use of scheduled actors is tracked, and compared against allocations 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.
ISBN:9783030106317
3030106314
ISSN:0302-9743
1611-3349
DOI:10.1007/978-3-030-10632-4_7