Research on the Realizability of Microservice Interaction Contract Based on CSP#

Ruiqiong Wu, Qing Duan, Fei Dai, Hongji Yang, Yi Zhang, Bisen Xie · 2019

Microservice Architecture is a new development paradigm that transforms the traditional business-oriented information management system into the collaborative work of microservices. Microservices are usually distributed in a loosely coupled manner in the network. In order to coordinate tasks, microservices must coordinate their executions through message interactions with each other. Therefore, modeling and analyzing the interaction between microservices becomes a key issue. The choreography defines the interaction contract between services, and the realizability analysis is the key task to ensure the correct implementation of the microservices interaction contract. The choreography is realizable if interaction contract satisfies choreography specification. This paper use CSP# to analyze the realizability of microservice choreography under synchronous communication and bounded asynchronous communication, and a solution is proposed to repair the unrealizable microservice choreography and made it realizable.

Read the paper · More papers on PaperTik