Dissertation/ Thesis
Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms
| Τίτλος: | Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms |
|---|---|
| Συγγραφείς: | Ellul, Jacob (2025) |
| Στοιχεία εκδότη: | University of Malta Faculty of Information and Communication Technology. Department of Computer Science |
| Έτος έκδοσης: | 2025 |
| Συλλογή: | University of Malta: OAR@UM / L-Università ta' Malta |
| Θεματικοί όροι: | Computer architecture, System architecture, Application program interfaces (Computer software), Database management, PostgreSQL |
| Περιγραφή: | B.Sc. (Hons)(Melit.) ; 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. ; N/A |
| Τύπος εγγράφου: | bachelor thesis |
| Γλώσσα: | English |
| Relation: | Ellul, J. (2025). Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms (Bachelor’s dissertation).; https://www.um.edu.mt/library/oar/handle/123456789/140081 |
| Διαθεσιμότητα: | https://www.um.edu.mt/library/oar/handle/123456789/140081 |
| Rights: | info:eu-repo/semantics/restrictedAccess ; The copyright of this work belongs to the author(s)/publisher. The rights of this work are as defined by the appropriate Copyright Legislation or as modified by any successive legislation. Users may access this work and can make use of the information contained in accordance with the Copyright Legislation provided that the author must be properly acknowledged. Further distribution or reproduction in any format is prohibited without the prior permission of the copyright holder. |
| Αριθμός Καταχώρησης: | edsbas.73FD560E |
| Βάση Δεδομένων: | BASE |
| FullText | Text: Availability: 0 CustomLinks: – Url: https://www.um.edu.mt/library/oar/handle/123456789/140081# Name: EDS - BASE (ns324271) Category: fullText Text: View record from BASE |
|---|---|
| Header | DbId: edsbas DbLabel: BASE An: edsbas.73FD560E RelevancyScore: 822 AccessLevel: 3 PubType: Dissertation/ Thesis PubTypeId: dissertation PreciseRelevancyScore: 821.935607910156 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Ellul%2C+Jacob+%282025%29%22">Ellul, Jacob (2025)</searchLink> – Name: Publisher Label: Publisher Information Group: PubInfo Data: University of Malta<br />Faculty of Information and Communication Technology. Department of Computer Science – Name: DatePubCY Label: Publication Year Group: Date Data: 2025 – Name: Subset Label: Collection Group: HoldingsInfo Data: University of Malta: OAR@UM / L-Università ta' Malta – Name: Subject Label: Subject Terms Group: Su Data: <searchLink fieldCode="DE" term="%22Computer+architecture%22">Computer architecture</searchLink><br /><searchLink fieldCode="DE" term="%22System+architecture%22">System architecture</searchLink><br /><searchLink fieldCode="DE" term="%22Application+program+interfaces+%28Computer+software%29%22">Application program interfaces (Computer software)</searchLink><br /><searchLink fieldCode="DE" term="%22Database+management%22">Database management</searchLink><br /><searchLink fieldCode="DE" term="%22PostgreSQL%22">PostgreSQL</searchLink> – Name: Abstract Label: Description Group: Ab Data: B.Sc. (Hons)(Melit.) ; 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. ; N/A – Name: TypeDocument Label: Document Type Group: TypDoc Data: bachelor thesis – Name: Language Label: Language Group: Lang Data: English – Name: NoteTitleSource Label: Relation Group: SrcInfo Data: Ellul, J. (2025). Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms (Bachelor’s dissertation).; https://www.um.edu.mt/library/oar/handle/123456789/140081 – Name: URL Label: Availability Group: URL Data: https://www.um.edu.mt/library/oar/handle/123456789/140081 – Name: Copyright Label: Rights Group: Cpyrght Data: info:eu-repo/semantics/restrictedAccess ; The copyright of this work belongs to the author(s)/publisher. The rights of this work are as defined by the appropriate Copyright Legislation or as modified by any successive legislation. Users may access this work and can make use of the information contained in accordance with the Copyright Legislation provided that the author must be properly acknowledged. Further distribution or reproduction in any format is prohibited without the prior permission of the copyright holder. – Name: AN Label: Accession Number Group: ID Data: edsbas.73FD560E |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=edsbas&AN=edsbas.73FD560E |
| RecordInfo | BibRecord: BibEntity: Languages: – Text: English Subjects: – SubjectFull: Computer architecture Type: general – SubjectFull: System architecture Type: general – SubjectFull: Application program interfaces (Computer software) Type: general – SubjectFull: Database management Type: general – SubjectFull: PostgreSQL Type: general Titles: – TitleFull: Comparing performance and scalability of a microservice oriented architecture vs a monolithic architecture for e‐commerce platforms Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Ellul, Jacob (2025) IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2025 Identifiers: – Type: issn-locals Value: edsbas |
| ResultId | 1 |