This paper belongs to a research work that develops a deterministic actor framework in Java named Theatre, which addresses the modeling, analysis, and implementation of time-critical, cyber-physical systems. Theatre distinguishes 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 lightweight nature of Theatre and its concurrent/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

Franco Cicirelli;
2021

Abstract

This paper belongs to a research work that develops a deterministic actor framework in Java named Theatre, which addresses the modeling, analysis, and implementation of time-critical, cyber-physical systems. Theatre distinguishes 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 lightweight nature of Theatre and its concurrent/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
Istituto di Calcolo e Reti ad Alte Prestazioni - ICAR
Actors
Asynchronous message passing
Java
Theatre
Akka
Multi-core machines
High-performance computing
Scalable parallel iterated prisoner's dilemma
File in questo prodotto:
File Dimensione Formato  
prod_459543-doc_179002.pdf

solo utenti autorizzati

Descrizione: Performance Comparison of Two Java-Based Actor Systems
Tipologia: Versione Editoriale (PDF)
Dimensione 422.56 kB
Formato Adobe PDF
422.56 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

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.14243/429862
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? ND
social impact