Adaptable TeaStore: A Choreographic Approach
The Adaptable TeaStore has recently been proposed as a reference model for adaptable microservice architectures.It includes different configurations, as well as scenarios requiring to transition between them.We describe an implementation of the Adaptable TeaStore based on AIOCJ, a choreographic language that allows one to program multiparty systems that can adapt at runtime to different conditions.Following the choreographic tradition, AIOCJ ensures by-construction correctness of communications (e.g., no deadlocks) before, during, and after adaptation.Adaptation is dynamic, and the adaptation scenarios need to be fully specified only at runtime.Using AIOCJ to model the Adaptable TeaStore, we showcase the strengths of the approach and its current limitations, providing suggestions for future directions for refining the paradigm (and the AIOCJ language, in particular), to better align it with real-world Cloud architectures.
Authors
- Ivan Lanese (ORCID: https://orcid.org/0000-0003-2527-9995)
- Giuseppe De Palma (ORCID: https://orcid.org/0000-0002-3016-0115)
- Saverio Giallorenzo (ORCID: https://orcid.org/0000-0002-3658-6395)
- Gianluigi Zavattaro
Institutions
- Institut national de recherche en sciences et technologies du numérique (FR)
- University of Bologna (IT)
Publication Details
- Journal
- Electronic Proceedings in Theoretical Computer Science
- Published
- 2025-12-26
- DOI
- https://doi.org/10.4204/eptcs.438.5
- Primary Topic
- Diversity and Impact of Dance
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Istituto Nazionale di Alta Matematica "Francesco Severi"
- Agence Nationale de la Recherche
- Gruppo Nazionale per il Calcolo Scientifico