Please use this identifier to cite or link to this item:
https://www.um.edu.mt/library/oar/handle/123456789/140081| Title: | Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms |
| Authors: | Ellul, Jacob (2025) |
| Keywords: | Computer architecture System architecture Application program interfaces (Computer software) Database management PostgreSQL |
| Issue Date: | 2025 |
| Citation: | Ellul, J. (2025). Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms (Bachelor’s dissertation). |
| Abstract: | This dissertation presents a comprehensive performance evaluation and architectural comparison between microservices and monolithic systems within the context of an e‐commerce application. The study involves the development of two implementations: one as a distributed system comprising several microservices, namely the user‐service, order‐service, and product‐service, coordinated by an Application Programming Interface (API) gateway that converts JSON Web Token (JWT) tokens into custom headers for inter‐service communication, and the other as a traditional monolithic system. The microservices integrate Kafka for asynchronous messaging, and both architectures integrate PostgreSQL for shared data persistence, with container orchestration provided via Docker. Performance tests using Apache JMeter reveal that, under identical resource allocations, the monolithic architecture consistently delivers lower latency and higher throughput due to the absence of inter‐service overhead. Only when compute cores are reallocated to the hot path in the microservices setup does it surpass the monolith, achieving a 37% reduction in mean latency and a 59% increase in throughput, albeit at the expense of nearly double the peak CPU utilisation. In addition, database statistics gathered and visualised using Postgres‐exporter, cAdvisor and Grafana provide insights into query patterns and resource utilisation, confirming that neither architecture is database bound and that application and network factors dominate end to end performance. |
| Description: | B.Sc. (Hons)(Melit.) |
| URI: | https://www.um.edu.mt/library/oar/handle/123456789/140081 |
| Appears in Collections: | Dissertations - FacICT - 2025 Dissertations - FacICTCS - 2025 |
Files in This Item:
| File | Description | Size | Format | |
|---|---|---|---|---|
| 2508ICTICT391400017488_1.PDF Restricted Access | 1.43 MB | Adobe PDF | View/Open Request a copy |
Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.
