English

Adaptable TeaStore: A Choreographic Approach

Programming Languages 2025-12-30 v1 Software Engineering

Abstract

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.

Keywords

Cite

@article{arxiv.2512.23497,
  title  = {Adaptable TeaStore: A Choreographic Approach},
  author = {Giuseppe De Palma and Saverio Giallorenzo and Ivan Lanese and Gianluigi Zavattaro},
  journal= {arXiv preprint arXiv:2512.23497},
  year   = {2025}
}

Comments

In Proceedings WACA 2025, arXiv:2512.22054

R2 v1 2026-07-01T08:44:25.139Z