This paper belongs to a research work which develops a deterministic actor framework in Java named Theatre, which addresses the modelling, analysis and implementation of time-critical, cyber-physical systems. Theatre distin-guishes from other actor systems by being control-based, time-sensitive and centered on not thread-based actors. Although its main orientation to real-time embedded systems, Theatre can also be exploited for building high-performance applications on nowadays multi-core machines with shared memory. This paper reports an experience of performance comparison of Theatre with the Akka actor toolkit, through a parallel and scalable version of the Iterated Prisoner’s Dilemma multi-agent system. Akka is a well-known library implemented in Scala and Java, which efficiently supports classical actors and it is best suited to untimed distributed applications. The experimental work confirms the light-weight nature of Theatre and its con-current/parallel lock-free computational model, are also a key for achieving high execution performance, even better than that provided by Akka and similar toolkits, when large-scale systems are considered.

Performance Comparison of two Java-based Actor Systems

Cicirelli Franco
Membro del Collaboration Group
;
Nigro Libero
Membro del Collaboration Group
;
Pupo Francesco
Membro del Collaboration Group
2021-01-01

Abstract

This paper belongs to a research work which develops a deterministic actor framework in Java named Theatre, which addresses the modelling, analysis and implementation of time-critical, cyber-physical systems. Theatre distin-guishes from other actor systems by being control-based, time-sensitive and centered on not thread-based actors. Although its main orientation to real-time embedded systems, Theatre can also be exploited for building high-performance applications on nowadays multi-core machines with shared memory. This paper reports an experience of performance comparison of Theatre with the Akka actor toolkit, through a parallel and scalable version of the Iterated Prisoner’s Dilemma multi-agent system. Akka is a well-known library implemented in Scala and Java, which efficiently supports classical actors and it is best suited to untimed distributed applications. The experimental work confirms the light-weight nature of Theatre and its con-current/parallel lock-free computational model, are also a key for achieving high execution performance, even better than that provided by Akka and similar toolkits, when large-scale systems are considered.
2021
Actors, asynchronous message passing, Java, Theatre, Akka, multi-core machines, high-performance computing, scalable parallel Iterated Prisoner’s Di-lemma
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11770/311798
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact