Radiotekhnika
Publishing house Radiotekhnika

"Publishing house Radiotekhnika":
scientific and technical literature.
Books and journals of publishing houses: IPRZHR, RS-PRESS, SCIENCE-PRESS


Тел.: +7 (495) 625-9241

 

Special virtual machine for distributed information system with actor model support

Keywords:

A.Yu. Bogachev – Post-graduate Student, Assistant, Department «Information Processing and Control Systems», Bauman Moscow State Technical University
E-mail: alexbog21@gmail.com


Currently, there are many tasks that require the development of distributed information systems. Among the methods of developing such systems, which are gaining popularity, we should note the approach oriented to the use of the actor model. The mathematical model of actors allows to describe and implement the asynchronous interaction between parallel threads by the method of message passing instead of using common variables, which helps to prevent possible errors. The most successful way of implementing the actor approach is to build a distributed system on the basis of a specialized virtual machine, that allows this information system to be presented as a set of interacting processes that perform application functions with possibility to dynamically change in their behavior.
To achieve simplicity and ease of programming actors and the perception of the system, it is suggested to use an imperative description of the actors' processes in the format of event handlers similar to the «Event Loop» message processing cycles.
The developed specialized virtual machine is a special case of a machine with an unlimited set of registers and uses three-address in-structions. And using a tagged memory architecture allows to combine operation codes (OP codes) designed to process data of various types, and thereby reduce the number of OP codes used. Also the tagged memory architecture provides strict typing, which avoids the incorrect application of operators to the data.
The proposed virtual machine can become a good basis for the development of distributed systems using the actor model, with support of object-oriented programming methodology in the style of Smalltalk and Objective C programming languages for the implementation of actors for microservice and service-oriented architecture and multi-agent systems.

References:
  1. Carl Hewitt, Peter Bishop, Richard Steiger. A Universal Modular Actor Formalism for Artificial Intelligence. IJCAI. 1973.
  2. Bernhardt Manuel. Reactive Web Applications: Covers Play, Akka and Reactive Streams. Manning Publications. 2016.
  3. Chernen'kij V.M., Semkin P.S. Metod opisaniya proczessov vy'polneniya zadanij v mul'tiprogrammny'x i mul'tiproczessorny'x sistemax // Vestnik MGTU im. N.E'. Baumana. Ser. Priborostroenie. M.: MGTU im. N.E'. Baumana. 2014.
  4. Agha Gul Abdulnabi. ACTORS: A Model of Concurrent Computation in Distributed Systems. MIT Press. 1986.
  5. Kay Alan C. The Early History of smalltalk. ACM SIGPLAN Notices. 1993.
  6. Allen Jamie. Effective Akka. O'Reilly Media. 2013.
  7. Vinogradova M.V. Metodika sozdaniya mul'tiaspektnoj informaczionnoj sistemy' s algoritmoorientirovannoj strukturoj danny'x: 05.13.11. Avtoreferat dis. … kand. texn. nauk. M.: MGTU im. N.E'. Baumana. 2005.
  8. Joe Armstrong Erlang. Communications of the ACM. 2010. V. 53. № 9.
  9. Feustel Edward A. On the Advantages of Tagged Architecture // IEEE Transactions on Computers. 1973.
  10. Giuseppe Castagna, Giorgio Ghelli, Giuseppe Longo. A calculus for overloaded functions with subtyping. Information and Computation (Academic press). 1995.
  11. Castagna Giuseppe. Object-Oriented Programming: A Unified Foundation. Birkhäuser. 1996.
  12. Baldin A.V., Danchul A.N. O realizaczii servis-orientirovannoj arxitektury' // Inzhenerny'j vestnik MGTU im. N.E'. Baumana (e'lektronny'j zhurnal). 2012. № 7. URL = http://engbul.bmstu.ru/doc/457870.html (08.12.2017).
  13. Bogachyov A.Yu. Primenenie yazy'kov programmirovaniya s vozmozhnost'yu zameny' koda dlya razrabotki raspredelenny'x sistem // Inzhenerny'j vestnik MGTU im. N.E'. Baumana (e'lektronny'j zhurnal). 2016. № 3. URL = engbul.bmstu.ru/doc/837038.html (data obrashheniya 08.12.2017).

© Издательство «РАДИОТЕХНИКА», 2004-2017            Тел.: (495) 625-9241                   Designed by [SWAP]Studio