Modelling and simulation of asynchronous real-time systems using Timed Rebeca

Abstract In this paper we propose Timed Rebeca as an extension of the Rebeca language that can be used to model distributed and asynchronous systems with timing constraints. Timed Rebeca restricts the modeller to a pure asynchronous actor-based paradigm, where the structure of the model represents the service oriented architecture, while the computational model matches the network infrastructure. The modeller can specify both computational and network delay, and assign deadlines for serving a request. We provide the formal semantics of the language using Structural Operational Semantics, and show its expressiveness by means of examples. We developed a tool for automated translation from Timed Rebeca to the Erlang language, which provides a first implementation of Timed Rebeca. We can use the tool to set the parameters of Timed Rebeca models, which represent the environment and component variables, and use McErlang to run multiple simulations for different settings. The results of the simulations can then be employed to select the most appropriate values for the parameters in the model. Simulation is shown to be an effective analysis support, specially where model checking faces almost immediate state explosion in an asynchronous setting.

[1]  Andrew S. Tanenbaum,et al.  Distributed systems: Principles and Paradigms , 2001 .

[2]  Averill M. Law,et al.  Simulation Modeling and Analysis , 1982 .

[3]  Mohammad Mahdi Jaghoori,et al.  Ten Years of Analyzing Actors: Rebeca Experience , 2011, Formal Modeling: Actors, Open Systems, Biological Systems.

[4]  Ahmad Khonsari,et al.  Maximizing Download Bandwidth for File Sharing in BitTorrent-like Peer-to-Peer Networks , 2008, 2008 14th IEEE International Conference on Parallel and Distributed Systems.

[5]  Frank S. de Boer,et al.  Modeling and Verification of Reactive Systems using Rebeca , 2004, Fundam. Informaticae.

[6]  Rajeev Alur,et al.  A Theory of Timed Automata , 1994, Theor. Comput. Sci..

[7]  Lars-Åke Fredlund,et al.  A unified semantics for future Erlang , 2010, Erlang '10.

[8]  Wang Yi,et al.  Uppaal in a nutshell , 1997, International Journal on Software Tools for Technology Transfer.

[9]  Carl Hewitt,et al.  Description and Theoretical Analysis (Using Schemata) of Planner: A Language for Proving Theorems and Manipulating Models in a Robot , 1972 .

[10]  B. Cohen,et al.  Incentives Build Robustness in Bit-Torrent , 2003 .

[11]  Lars-Åke Fredlund,et al.  McErlang: a model checker for a distributed functional programming language , 2007, ICFP '07.

[12]  A. Buss Modeling with event graphs , 1996, Proceedings Winter Simulation Conference.

[13]  Gul A. Agha,et al.  ACTORS - a model of concurrent computation in distributed systems , 1985, MIT Press series in artificial intelligence.

[14]  Narciso Martí-Oliet,et al.  Maude: specification and programming in rewriting logic , 2002, Theor. Comput. Sci..

[15]  Ehsan Khamespanah,et al.  Timed-rebeca schedulability and deadlock-freedom analysis using floating-time transition system , 2012, AGERE! 2012.

[16]  Brian Nielsen,et al.  Semantics for an actor-based real-time language , 1996, Proceedings of the 4th International Workshop on Parallel and Distributed Real-Time Systems.

[17]  Frank S. de Boer,et al.  Model Checking, Automated Abstraction, and Compositional Verification of Rebeca Models , 2005, J. Univers. Comput. Sci..

[18]  Frank S. de Boer,et al.  Schedulability of asynchronous real-time concurrent objects , 2009, J. Log. Algebraic Methods Program..

[19]  Einar Broch Johnsen,et al.  Lightweight Time Modeling in Timed Creol , 2010, RTRTS.

[20]  Mohammad Mahdi Jaghoori,et al.  Symmetry and partial order reduction techniques in model checking Rebeca , 2010, Acta Informatica.

[21]  Carl Hewitt,et al.  What Is Commitment? Physical, Organizational, and Social (Revised) , 2006, COIN@AAMAS/ECAI.

[22]  Libero Nigro,et al.  Schedulability Analysis of Real Time Actor Systems Using Coloured Petri Nets , 2001, Concurrent Object-Oriented Programming and Petri Nets.

[23]  Wang Yi,et al.  CCS + Time = An Interleaving Model for Real Time Systems , 1991, ICALP.

[24]  Gul Agha,et al.  RTsynchronizer: language support for real-time specifications in distributed systems , 1995 .

[25]  ÖlveczkyPeter Csaba,et al.  Specification of real-time and hybrid systems in rewriting logic , 2001 .

[26]  Luca Aceto,et al.  Modelling and Simulation of Asynchronous Real-Time Systems using Timed Rebeca , 2011, FOCLASA.

[27]  Frank S. de Boer,et al.  Modular Schedulability Analysis of Concurrent Objects in Creol , 2009, FSEN.

[28]  Ichiro Satoh,et al.  Time and Asynchrony in Interactions among Distributed Real-Time Objects , 1995, ECOOP.

[29]  Gilles Kahn,et al.  Natural Semantics , 1987, STACS.

[30]  Gordon D. Plotkin,et al.  A structural approach to operational semantics , 2004, J. Log. Algebraic Methods Program..

[31]  H. G. Baker,et al.  ACTOR SYSTEMS FOR REAL-TIME COMPUTATION , 1978 .

[32]  Peter Csaba Ölveczky,et al.  Specification and Analysis of Real-Time Systems Using Real-Time Maude , 2004, FASE.