Programming Adaptive Microservice Applications: An AIOCJ Tutorial

Saverio Giallorenzo, Ivan Lanese, Jacopo Mauro, Maurizio Gabbrielli

Research output: Chapter in Book/Report/Conference proceedingBook chapterResearchpeer-review

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.
Original languageEnglish
Title of host publicationBehavioural Types : from Theory to Tools
EditorsSimon Gay, António Ravara
PublisherRiver Publishers
Publication date2017
Pages147-167
Chapter7
ISBN (Electronic)9788793519824
DOIs
Publication statusPublished - 2017
Externally publishedYes

Fingerprint

Dive into the research topics of 'Programming Adaptive Microservice Applications: An AIOCJ Tutorial'. Together they form a unique fingerprint.

Cite this