GreenMicro: Identifying Microservices From Use Cases in Greenfield Development
Authors:
Open Access
- 13 June 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 10, 67008-67018
Abstract
Microservices architecture is a new paradigm for developing a software system as a collection of independent services that communicate through lightweight protocols. In greenfield development, identifying the microservices is not a trivial task, as there is no legacy code lying around and no old development to start with. Thus, identification of microservices from requirements becomes an important decision during the analysis and design phase. Use cases play a vital role in the requirements analysis modeling phases in a model-driven software engineering process. It is a technique of capturing high-level user functions and scope of the system. In this paper, we propose GreenMicro, an automatic microservice identification technique that utilizes the use cases model and the database entities. Both features are the artifacts of analysis and design phase that depict complete functionality of an overall system. In essence, a collection of related use cases indicates a bounded context of the system that can be grouped in a suitable way as microservices. Therefore, our approach GreenMicro clusters close-knit use cases to recover meaningful microservices. We investigate and validate our approach on an in-house proprietary web application and three sample benchmark applications. We have mapped our approach to state-of-the-art software quality assessment attributes and have presented the results. Preliminary results are motivating and the proposed methodology works as anticipated in producing functionally cohesive and loosely coupled microservice candidate recommendations. Our approach enables the system architects to identify microservice candidates at an early analysis and design phase of development.Keywords
This publication has 38 references indexed in Scilit:
- Microservices Identification Through Interface Analysis2017
- Migrating Monolithic Mobile Application to Microservice Architecture: An Experiment Report2017
- Extraction of Microservices from Monolithic Software Architectures2017
- Requirements Reconciliation for Scalable and Secure Microservice (De)composition2016
- Service Cutter: A Systematic Approach to Service Decomposition2016
- Identification of System Software Components Using Clustering Approach.The Journal of Object Technology, 2010
- Software Clustering Using Dynamic Analysis and Static Dependencies2009
- A complexity measure for ontology based on UML2004
- A multiple hill climbing approach to software module clustering2003
- Efficient algorithms for agglomerative hierarchical clustering methodsJournal of Classification, 1984