METHOD OF CONVERTING THE MONOLITHIC ARCHITECTURE OF A FRONT-END APPLICATION TO MICROFRONTENDS
Autor: | Olena Nikulina, Kyrylo Khatsko |
---|---|
Jazyk: | English<br />Russian<br />Ukrainian |
Rok vydání: | 2023 |
Předmět: | |
Zdroj: | Вісник Національного технічного університету "ХПÌ": Системний аналіз, управління та інформаційні технології, Iss 2 (10), Pp 79-84 (2023) |
Druh dokumentu: | article |
ISSN: | 2079-0023 2410-2857 |
DOI: | 10.20998/2079-0023.2023.02.12 |
Popis: | Web systems have existed for a long time and quite a lot of them have been created. Modern development uses new microservice architectural to improve performance, portability, and other important characteristics. This necessitates the transformation of legacy systems from a monolithic architecture to a microservices one. Such a process is complex and costly, so improving the methods for converting old systems to a new platform is relevant. This research aims to develop a method of applying microfrontends approach for monolithic single page applications (SPA). The article proposes a method of transforming the software system architecture from monolithic to microservice architecture (MSA). Since the client part of the system is considered, the term microfrontend is proposed, as an analog of microservers in the server part of the software systems. A brief review of existing architecture reengineering research is made and the advantages of a microservice approach are identified. The proposed three-stage method differs from the methods by the selection of an additional stage of conversion, which allows to gently change the connections between parts of the monolithic application, which were implemented in the initial monolithic architecture. The first stage is reverse engineering, it is proposed to shift the focus from the search for outdated code to the functional analysis of the program as such. The second stage, a transition to a modular architecture with the allocation of functionality into separate modules is proposed. At the end of the third stage, we have several separate programs (microinterfaces) that are connected to the main program. An experiment with a typical external SPA demonstrates the operation of the proposed algorithm. The system obtained as a result of the transformation is compared with the original one according to the following measurable parameters: production builds building time, size of the main bundle, and first page average load time. All comparisons showed the advantages of the system obtained as a result of the conversion. As a result, the architecture transformation algorithm allows you to obtain a guaranteed better result, taking into account the limitations of the interface SPA, which were not considered by the authors of previous articles. |
Databáze: | Directory of Open Access Journals |
Externí odkaz: |