Adaptable TeaStore: A Choreographic Approach
By: Giuseppe De Palma , Saverio Giallorenzo , Ivan Lanese and more
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.
Similar Papers
Decoupling Adaptive Control in TeaStore
Distributed, Parallel, and Cluster Computing
Makes computer programs fix themselves automatically.
AdaptiFlow: An Extensible Framework for Event-Driven Autonomy in Cloud Microservices
Software Engineering
Makes computer programs fix themselves automatically.
Fancy Some Chips for Your TeaStore? Modeling the Control of an Adaptable Discrete System
Programming Languages
Builds strong computer programs from different parts.