Actor4j: A Software Framework for the Actor Model Focusing on the Optimization of Message Passing
- Common actor implementations often use standardized thread pools without special optimization for the message passing. For that, a high-performance solution was worked out. The actor-oriented software framework Akka uses internally a ForkJoinPool that is intended for a MapReduce approach. However, the MapReduce approach is not relevant for message passing, as it may lead to significant performance losses. One solution is to develop a thread pool that focuses on the message passing. In the implementation of the Actor4j framework, the message queue of the actors is placed in threads to enable an efficient message exchange. The actors are operated directly from this queue (injecting the message), without further ado. It was further enhanced by the use of multiple task-specific queues. Fairness and the responsiveness of the system have been raised. In particular, the performance measurement results show that an intra-thread communication towards an inter-thread communication is much better and has very good scaling properties.
Author: | David Alessandro Bauer, Juho MäkiöORCiD |
---|---|
URL: | https://personales.upv.es/thinkmind/dl/conferences/aict/aict_2018/aict_2018_8_10_10087.pdf |
ISBN: | 978-1-61208-650-7 |
Parent Title (German): | Fourteenth Advanced International Conference on Telecommunications (AICT), 22.07.-26.07.2018, Barcelona (Spain) |
Document Type: | Conference Proceeding |
Language: | English |
Year of Completion: | 2018 |
Date of first Publication: | 2018/07/22 |
Release Date: | 2025/05/06 |
Tag: | Actor model; Message passing; Microservices; Parallelization; Reactive system |
First Page: | 125 |
Last Page: | 134 |
Institute: | Fachbereich Technik |
Research Focus Area: | Industrielle Informatik |