A framework for microservices synchronization

被引:5
作者
De Iasio, Antonio [1 ]
Zimeo, Eugenio [1 ]
机构
[1] Univ Sannio, Dept Engn, Benevento, Italy
关键词
concurrency; continuous deployment; microservices paradigm; middleware; services coordination; synchronization;
D O I
10.1002/spe.2877
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Microservices architecture and continuous software engineering are becoming popular approaches for developing and operating software products. The enabling feature of this success is the independence of the execution environments hosting microservices: by insulating failures and versioning in specific microservices, a complex application benefits of high availability at runtime and agility at development time. However, execution independence does not mean functional independence. Microservices need to interact among them to fulfill a common goal of an application. The unavailability of a microservice may seriously impact other dependent microservices, limiting continuity. To address this new kind of problem in microservices architecture, we argue the necessity of a synchronization mechanism able to support microservices coordination according to their running states: dependent microservices should wait for unready ones to avoid useless and faulty interactions. In this article, we propose a new framework,Synchronizer, able to support synchronization among microservices by exploiting distributed registries for collecting health/state information about deployed containers and hosted microservices. It has been implemented for the OpenShift platform and validated in different use cases: for example, for coordinating applications bootstrap and for programming scripts of continuous deployment orchestrators, such as Jenkins. In both cases,Synchronizerworked as expected and showed the positive effects of synchronization, giving us a valuable feedback about the possibility of further extending its application and of integrating the feature in existing microservices frameworks (eg, services mesh).
引用
收藏
页码:25 / 45
页数:21
相关论文
共 43 条
[1]  
Aderaldo CM, 2017, BENCHMARK REQUIREMEN, P8
[2]  
[Anonymous], 2018, OPENSHIFT
[3]  
[Anonymous], 2018, KUBERNETES
[4]  
[Anonymous], 2018, ETCD
[5]  
[Anonymous], 2018, 7 METRICS TRACK IMPL
[6]  
[Anonymous], 2018, OPENSHIFT PIPELINE P
[7]  
[Anonymous], 2018, CONSUL
[8]  
[Anonymous], 2019, SERF DOCUMENTATION
[9]  
[Anonymous], 2018, JENKINS
[10]  
[Anonymous], 2019, ZOOKEEPER 3 5 DOCUME