SOFTWARE METHODS ANALYSIS OF OPTIMIZING THE LOCAL STATE OF DATA WEB APPLICATIONS MANAGEMENT

Authors

DOI:

https://doi.org/10.20535/kpisn.2022.1-2.260552

Keywords:

web application, optimization, local state of data, Redux, MobXState-Tree, Recoil

Abstract

Background. The use of various libraries often leads to a decrease in the speed of the web application and the complexity of the execution of the program code. The object of this study is the process of storing and managing the data of the client part of the web application, the subject of the research is the software methods of managing the local state of the data of the web application.

Objective. The goal of the article is the reduction in the data processing time of web applications relative to existing software methods.

Methods. The main idea of ​​the proposed method is to use an atomic approach to the state of the web application data. Having an arbitrary entity, in the general state of the web application, a state fragment is created that is responsible only for this entity. Such a fragment is independent of other state fragments and can only work with the encapsulated entity. Using encapsulation, the configuration of an entity is passed to the React Context API as an object containing data and functions that modify it.

Results. The developed framework method was compared with popular state management libraries Redux, MobXState-Tree and Recoil. Comparing each of the test scenarios in a percentage ratio, an average decrease in program execution time by 17% was obtained.

Conclusions. The Redux, MobXState-Tree, and Recoil libraries were selected for the research of existing software methods. The analysis of methods was performed using the SonarQube utility. To evaluate the results of the software methods, the Google Chrome browser utility DevTools was used. The proposed optimized software method allows to reduce the data processing time and optimize the state management of web applications.

  Keywords: web application, optimization, local state of data, Redux, MobXState-Tree, Recoil.

Author Biography

Lyubov Оleshchenko, Computer Systems Software Department of National Technical University of Ukraine «Igor Sikorsky Kyiv polytechnic institute»

Доцент кафедри програмного забезпечення комп'ютерних систем Факультету прикладної математики

References

L.Оleshchenko, P. Burchak, “Аnalysis and optimization of methods for storing and processing data of web applications”, Прикладна математика та комп’ютинг. ПМК – 2021. Збірник тез доповідей XІV наукової конференції магістрантів та аспірантів, м. Київ, 17-19 листопада, 2021, с. 59-63.

M.Tajima, K. Goto, M. Toyama, “Non-procedural generation of web pages with nested infinite-scrolls in superSQL”, Proceedings of the 19th International Conference on Information Integration and Web-based Applications & Services, 2017, pp. 289-295. doi:10.1145/3151759.3151806.

T.M. Ahmed, C.P. Bezemer, T.H. Chen, A.E. Hassan, W. Shang, “Studying the effectiveness of application performance management (APM) tools for detecting performance regressions for web applications: an experience report”, IEEE/ACM 13th International Conference on Mining Software Repositories (MSR), 2016, pp. 1-12. IEEE.

S. Elbaum, S. Karre, G. Rothermel, “Improving web application testing with user session data”, 25th International Conference on Software Engineering IEEE Computer Society, 2003, pp. 49-59. doi:10.1109/ICSE.2003.1201187

R. Atterer, A.Schmidt, “Tracking the interaction of users with AJAX applications for usability testing”, Proceedings of the SIGCHI conference on Human factors in computing systems, 2007, рр.1347-1350.

Q. Zhongsheng, “Test case generation and optimization for user session-based web application testing”, Journal of Computers, 5(11), 2010, pp.1655-1662.

S. Souders, “High-performance web sites”, Communications of the ACM, 51(12), 2008, pp. 36-41.

Shailesh Shivakumar, P.V Suresh, “A Survey and Analysis of Techniques and Tools for Web Performance Optimization”, Journal of Information Organization, 2018, Vol. 8, № 2, pp. 31-57.

Chi, Xiaoni, Liu, Bichuan, Niu, Qi, Wu, Qiuxuan, “Web Load Balance and Cache Optimization Design Based Nginx under High-Concurrency Environment”, Third International Conference on Digital Manufacturing & Automation, 2012, рр.1029-1032.

Hui B.W., Chen M.R. and Yang D.P., “Research and application of performance test on Web application system”, Journal of Computer Applications, 31, 7 Nov. 2011, рр.1769-1772.

Published

2023-10-27

Issue

Section

Статті