This tutorial describes AIOCJ, which stands for Adaptive Interaction Oriented Choreographies in Jolie, a choreographic language for programming microservice-based applications which can be updated at runtime. The compilation of a single AIOCJ program generates the whole set of distributed microservices that compose the application. Adaptation is performed using adaptation rules. Abstractly, each rule replaces a pre-delimited part of the program with the new code contained in the rule itself. Concretely, at runtime, the application of a rule updates part of the microservices that compose the application so to match the behavior specified by the updated program. Thanks to the properties of choreographies, the adaptive application is free from communication deadlocks and message races even after adaptation.

Giallorenzo S., Lanese I., Mauro J., Gabbrielli M. (2017). Programming adaptive microservice applications: An AIOCJ tutorial. Gistrup : River Publishers [10.13052/rp-9788793519817].

Programming adaptive microservice applications: An AIOCJ tutorial

Giallorenzo S.;Lanese I.;Mauro J.;Gabbrielli M.
2017

Abstract

This tutorial describes AIOCJ, which stands for Adaptive Interaction Oriented Choreographies in Jolie, a choreographic language for programming microservice-based applications which can be updated at runtime. The compilation of a single AIOCJ program generates the whole set of distributed microservices that compose the application. Adaptation is performed using adaptation rules. Abstractly, each rule replaces a pre-delimited part of the program with the new code contained in the rule itself. Concretely, at runtime, the application of a rule updates part of the microservices that compose the application so to match the behavior specified by the updated program. Thanks to the properties of choreographies, the adaptive application is free from communication deadlocks and message races even after adaptation.
2017
Behavioural Types: from Theory to Tools
147
168
Giallorenzo S., Lanese I., Mauro J., Gabbrielli M. (2017). Programming adaptive microservice applications: An AIOCJ tutorial. Gistrup : River Publishers [10.13052/rp-9788793519817].
Giallorenzo S.; Lanese I.; Mauro J.; Gabbrielli M.
File in questo prodotto:
File Dimensione Formato  
main.pdf

accesso aperto

Descrizione: postprint autore
Tipo: Postprint
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione (CCBY)
Dimensione 340.78 kB
Formato Adobe PDF
340.78 kB Adobe PDF Visualizza/Apri
bookBETTY-AIOCJ.pdf

accesso aperto

Tipo: Versione (PDF) editoriale
Licenza: Licenza per Accesso Aperto. Creative Commons Attribuzione (CCBY)
Dimensione 630.63 kB
Formato Adobe PDF
630.63 kB Adobe PDF Visualizza/Apri

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/11585/912512
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 2
social impact