Cost comparison of running web applications in the cloud using monolithic, microservice, and AWS Lambda architectures

M. Villamizar, O. Garcés, L. Ochoa, H. Castro, L. Salamanca, M. Verano, R. Casallas, S. Gil, C. Valencia, A. Zambrano, M. Lang

Research output: Contribution to JournalArticleAcademicpeer-review

Abstract

© 2017, Springer-Verlag London.Large Internet companies like Amazon, Netflix, and LinkedIn are using the microservice architecture pattern to deploy large applications in the cloud as a set of small services that can be independently developed, tested, deployed, scaled, operated, and upgraded. However, aside from gaining agility, independent development, and scalability, how microservices affect the infrastructure costs is a major evaluation topic for companies adopting this pattern. This paper presents a cost comparison of a web application developed and deployed using the same scalable scenarios with three different approaches: 1) a monolithic architecture, 2) a microservice architecture operated by the cloud customer, and 3) a microservice architecture operated by the cloud provider. Test results show that microservices can help reduce infrastructure costs in comparison with standard monolithic architectures. Moreover, the use of services specifically designed to deploy and scale microservices, such as AWS Lambda, reduces infrastructure costs by 70% or more, and unlike microservices operated by cloud customers, these specialized services help to guarantee the same performance and response times as the number of users increases. Lastly, we also describe the challenges we faced while implementing and deploying microservice applications, and include a discussion on how to replicate the results on other cloud providers.
Original languageEnglish
Pages (from-to)233-247
JournalService Oriented Computing and Applications
Volume11
Issue number2
DOIs
Publication statusPublished - 1 Jun 2017
Externally publishedYes

Funding

This work is the result of a research project partially funded by Colciencias under contract 0569-2013 “Construcción de una línea de productos de aplicaciones de crédito/cartera que serán ofrecidas a través de un Marketplace en forma SaaS para el sector no bancarizado (PYMES) de Colombia” COD. 1204-562-37152.

FundersFunder number
Departamento Administrativo de Ciencia, Tecnología e Innovación (COLCIENCIAS)0569-2013, 1204-562-37152

    Fingerprint

    Dive into the research topics of 'Cost comparison of running web applications in the cloud using monolithic, microservice, and AWS Lambda architectures'. Together they form a unique fingerprint.

    Cite this