Abstract
The article deals with the different solution implementations for the problems that require the usage of event sourcing design pattern. The problem of event sourcing in web applications (particularly, those that run using LAMP (Linux, Apache, MySQL, PHP) stack) is discussed and the related works are reviewed. The experiments with performance testing of each event sourcing approach for web app are described and conducted: creation with and without snapshots, using separate queries and transactions; reading the data from the snapshot and data array, as well as calculation of the balance using a database management system, back-end, and front-end. The experiment results are presented and discussed, and the conclusions are drawn based on the results. Results can be useful for web developers who design LAMP stack applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Martin RC (2017) IClean architecture: a craftsman’s guide to software structure and design. Prentice Hall, Boston, MA
Kabbedijk J, Jansen S, Brinkkemper S (2012) A case study of the variability consequences of the CQRS pattern in online business software. In: Proceedings of the 17th European conference on pattern languages of programs (EuroPLoP '12). Association for Computing Machinery, New York, NY, USA, Article 2, pp 1–10
Zhong Y, Li W, Wang J (2019) Using event sourcing and CQRS to build a high performance point trading system. In: Proceedings of the 2019 5th international conference on E-Business and applications (ICEBA 2019). Association for Computing Machinery, New York, NY, USA, pp 16–19
Vasconcellos PRG, Bezerra VM, Bianchini CP (2018) Applying event sourcing in a ERP system: a case study. In: 2018 XLIV Latin American computer conference (CLEI), pp 80–89
Bogner J, Fritzsch J, Wagner S, Zimmermann A (2019) Microservices in industry: insights into technologies, characteristics, and software quality. In: 2019 IEEE international conference on software architecture companion (ICSA-C)
Baldini I et al (2017) Serverless computing: current trends and open problems. In: Chaudhary S, Somani G, Buyya R (eds) Research advances in cloud computing. Springer, Singapore
Rybicki J (2018) Application of event sourcing in research data management. In: 2018 ALLDATA 2018, the fourth international conference on Big Data, small data, linked data and open data, pp 46–52
Overeem M, Spoor M, Jansen S (2017) The dark side of event sourcing: managing data conversion. In: 2017 IEEE 24th international conference on software analysis, evolution and reengineering (SANER), pp 193–204
Kyriakakis P, Chatzigeorgiou A, Xinogalos S, Ampatzoglou A (2019) Exploring the frequency and change proneness of dynamic feature pattern instances in PHP applications. Sci Comput Program 171
Laaziri M, Benmoussa K, Khoulji S (2019) Mohamed Larbi Kerkeb: a Comparative study of PHP frameworks performance. Procedia Manuf 32:864–871
Dhuny R, Peer AAI, Mohamudally NA, Nissanke N (2022) Performance evaluation of a portable single-board computer as a 3-tiered LAMP stack under 32-bit and 64-bit operating systems. Softw Impacts 14:100390
PHP and Event Sourcing. https://www.eventstore.com/blog/php-and-event-sourcing
Adding Event Sourcing to an existing PHP project (for the right reasons). https://symfonycasts.com/screencast/symfonycon2019/adding-event-sourcing-to-an-existing-php-project-for-the-right-reasons
CQRS and Event Sourcing implementation in PHP. https://tsh.io/blog/cqrs-event-sourcing-php/
Starting with Event Sourcing in PHP. https://medium.com/nerd-for-tech/starting-with-event-sourcing-in-php-161a83597d69
Acknowledgements
Authors want to thank the Armed Forces of Ukraine and all the defenders of Ukraine that give us the possibility to proceed scientific and engineering work in time of war.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Slabinoha, M., Melnychuk, S., Kropyvnytska, V., Pashkovskyi, B. (2023). Comparative Analysis of Using Event Sourcing Approach in Web Application Based on the LAMP Stack. In: Shakya, S., Papakostas, G., Kamel, K.A. (eds) Mobile Computing and Sustainable Informatics. Lecture Notes on Data Engineering and Communications Technologies, vol 166. Springer, Singapore. https://doi.org/10.1007/978-981-99-0835-6_19
Download citation
DOI: https://doi.org/10.1007/978-981-99-0835-6_19
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-0834-9
Online ISBN: 978-981-99-0835-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)