Programming Adaptive Microservice Applications: an AIOCJ Tutorial - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Book Sections Year : 2017

Programming Adaptive Microservice Applications: an AIOCJ Tutorial


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.
Fichier principal
Vignette du fichier
main.pdf (371.46 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-01631422 , version 1 (09-11-2017)


  • HAL Id : hal-01631422 , version 1


Saverio Giallorenzo, Ivan Lanese, Jacopo Mauro, Maurizio Gabbrielli. Programming Adaptive Microservice Applications: an AIOCJ Tutorial. Simon Gay; António Ravara. Behavioural Types: from Theory to Tools, River Publishers, 2017. ⟨hal-01631422⟩
118 View
274 Download


Gmail Facebook X LinkedIn More