Microservices Identification Through Interface Analysis

被引:94
作者
Baresi, Luciano [1 ]
Garriga, Martin [1 ]
De Renzis, Alan [2 ]
机构
[1] Politecn Milan, Dipartimento Elettron Informaz & Bioingn, Milan, Italy
[2] Natl Univ Comahue, Fac Informat, Neuquen, Argentina
来源
SERVICE-ORIENTED AND CLOUD COMPUTING (ESOCC 2017) | 2017年 / 10465卷
关键词
Microservices; Microservice architecture; Monolith decomposition; DESIGN;
D O I
10.1007/978-3-319-67262-5_2
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The microservices architectural style is gaining more and more momentum for the development of applications as suites of small, autonomous, and conversational services, which are then easy to understand, deploy and scale. One of today's problems is finding the adequate granularity and cohesiveness of microservices, both when starting a new project and when thinking of transforming, evolving and scaling existing applications. To cope with these problems, the paper proposes a solution based on the semantic similarity of foreseen/available functionality described through OpenAPI specifications. By leveraging a reference vocabulary, our approach identifies potential candidate microservices, as fine-grained groups of cohesive operations (and associated resources). We compared our approach against a state-of-the-art tool, sampled microservices-based applications and decomposed a large dataset of Web APIs. Results show that our approach is able to find suitable decompositions in some 80% of the cases, while providing early insights about the right granularity and cohesiveness of obtained microservices.
引用
收藏
页码:19 / 33
页数:15
相关论文
共 29 条
[1]  
Alrifai Mohammad, 2010, P 19 INT C WORLD WID, P11, DOI DOI 10.1145/1772690.1772693
[2]  
[Anonymous], 3 BRAZ WORK SHOP XSO
[3]  
[Anonymous], 2015, SOFTWARE ARCHITECTUR
[4]  
[Anonymous], MICR SCI ENG WORKSH
[5]  
[Anonymous], 2008, P INT C WWW BEIJ CHI, DOI DOI 10.1145/1367497.1367606
[6]  
[Anonymous], CHALLENGES IMPLEMENT
[7]  
[Anonymous], 2015, Monolith First
[8]  
[Anonymous], 2015, MICR WORKSH SATURN C
[9]  
[Anonymous], 2009, ELECTRONICALLY
[10]  
[Anonymous], 2014, MICROSERVICES ARCHIT