Metraipolis › archive › dc_b98b54720210

An Empirical Comparison of Monolithic and Microservices Architectures for an E-Commerce Application — arXiv:2608.15668

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.15668
License (as archived)
CC0-1.0
Archived
2026-10-18T19:55:21.767Z
SHA-256 of the archived text
4f55f40e9bf532e5514d61baf9589f7abe593197f764bd140fc8e58a8432e6d3
Stable URL of this page
https://metraipolis.com/documento/dc_b98b54720210

How to cite

An Empirical Comparison of Monolithic and Microservices Architectures for an E-Commerce Application — arXiv:2608.15668 — arXiv (en), https://arxiv.org/abs/2608.15668 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_b98b54720210 (Metraipolis archive dc_b98b54720210, sha256 4f55f40e9bf532e5514d61baf9589f7abe593197f764bd140fc8e58a8432e6d3)
BibTeX
@misc{dcb98b54720210,
  title = {An Empirical Comparison of Monolithic and Microservices Architectures for an E-Commerce Application — arXiv:2608.15668},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.15668},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_b98b54720210; sha256 4f55f40e9bf532e5514d61baf9589f7abe593197f764bd140fc8e58a8432e6d3},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.15668. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Microservices architectures are widely adopted for their promised scalability and modularity, yet empirical evidence comparing their runtime performance to monolithic designs remains context-dependent. This paper presents an experimental comparison of a monolithic and a microservices implementation of the same e-commerce application, both backed by a shared PostgreSQL database. Using k6, we subject both systems to identical HTTP workloads at 50 and 100 virtual users (VUs) over 60-second runs, measuring throughput, latency, and error rates. At 50 VUs, both architectures perform similarly with no errors. At 100 VUs, the microservices design achieves 5.4% higher throughput, 25% lower average latency, and 39% lower p95 latency than the monolith, while exhibiting a lower median error rate (0.00% vs 0.69%). The monolith shows consistent order-creation failures under load, whereas microservices failures are transient and confined to the cart service in one run. These results suggest that, in this deployment context, decomposing the system into microservices improves scalability and tail latency under stress, while introducing distinct, service-specific failure modes that must be managed.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-18 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2608.15668 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T19:41:46.002Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).