Umeå University's logo

umu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Evaluating Cost Efficiency in Scaling Software Architectures: A Comparative Study of Vertical and Horizontal Scaling Approaches in Financial Workflows
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

This thesis investigates the cost efficiency of vertical and horizontal scaling approaches in financial software architectures by implementing and evaluating equivalent monolithic and microservice versions of a high-throughput brokerage system. The research examines what bottlenecks limit effective scaling in each architecture and identifies when a monolithic architecture with vertical scaling should be chosen over a microservice architecture with horizontal scaling based on performance-to-cost considerations.

The study implements a financial system handling both IO-intensive order processing and CPU-intensive price update workflows commonly found in brokerage systems. Both architectures are deployed in a Kubernetes environment with equivalent resources. Both incorporating realistic security features like mutual TLS encryption, and are subjected to identical workloads.

Results reveal that neither architecture universally outperforms the other across all scenarios. The monolithic architecture demonstrates significantly higher initial order throughput but struggles to effectively scale both workflows simultaneously, with performance gains heavily dependent on database resources rather than system resources. The microservice architecture, while starting with much lower throughput, scales both workflows more effectively and continuously, but never catches up with the monolithic order processing capability. Service mesh technology significantly impacts microservice performance by adding substantial communication latency and resource consumption.

The findings suggest that monoliths are better suited for simple systems with single dataflows, particularly those leveraging complex database operations, while microservices offer better resource control for multi-dataflow systems despite communication overhead. This research contributes valuable insights for architects and developers designing scalable cloud-native systems, highlighting that architectural decisions should consider specific workflow characteristics rather than following universal best practices.

Place, publisher, year, edition, pages
2025. , p. 58
Series
UMNAD ; 1542
Keywords [en]
Computer Science, Distrubuted Systems, Scaling, Cost Efficency
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:umu:diva-239878OAI: oai:DiVA.org:umu-239878DiVA, id: diva2:1966051
External cooperation
Clear Street
Educational program
Master of Science Programme in Computing Science and Engineering
Supervisors
Examiners
Available from: 2025-06-11 Created: 2025-06-09 Last updated: 2025-06-11Bibliographically approved

Open Access in DiVA

fulltext(1458 kB)87 downloads
File information
File name FULLTEXT01.pdfFile size 1458 kBChecksum SHA-512
d8fd7793dc1dab152fc4d7b0af33587a8bc2ad77eeb399eeb73538a3c33cb3429ea1b314e1c4f919978a63d0c14d6c2f0be614ee013fa8e0106d5cbf8a6f3019
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Westerlund Holmgren, Oskar
By organisation
Department of Computing Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 87 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 269 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf