Microservices vs Serverless: A Performance Comparison on a Cloud-native Web Application

Chen-Fu Fan, Anshul Jindal, Michael Gerndt

2020

Abstract

A microservices architecture has gained higher popularity among enterprises due to its agility, scalability, and resiliency. However, serverless computing has become a new trendy topic when designing cloud-native applications. Compared to the monolithic and microservices, serverless architecture offloads management and server configuration from the user to the cloud provider and let the user focus only on the product development. Hence, there are debates regarding which deployment strategy to use. This research provides a performance comparison of a cloud-native web application in terms of scalability, reliability, cost, and latency when deployed using microservices and serverless deployment strategy. This research shows that neither the microservices nor serverless deployment strategy fits all the scenarios. The experimental results demonstrate that each type of deployment strategy has its advantages under different scenarios. The microservice deployment strategy has a cost advantage for long-lasting services over serverless. On the other hand, a request accompanied by the large size of the response is more suitably handled by serverless because of its scaling-agility.

Download


Paper Citation


in Harvard Style

Fan C., Jindal A. and Gerndt M. (2020). Microservices vs Serverless: A Performance Comparison on a Cloud-native Web Application.In Proceedings of the 10th International Conference on Cloud Computing and Services Science - Volume 1: CLOSER, ISBN 978-989-758-424-4, pages 204-215. DOI: 10.5220/0009792702040215


in Bibtex Style

@conference{closer20,
author={Chen-Fu Fan and Anshul Jindal and Michael Gerndt},
title={Microservices vs Serverless: A Performance Comparison on a Cloud-native Web Application},
booktitle={Proceedings of the 10th International Conference on Cloud Computing and Services Science - Volume 1: CLOSER,},
year={2020},
pages={204-215},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0009792702040215},
isbn={978-989-758-424-4},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 10th International Conference on Cloud Computing and Services Science - Volume 1: CLOSER,
TI - Microservices vs Serverless: A Performance Comparison on a Cloud-native Web Application
SN - 978-989-758-424-4
AU - Fan C.
AU - Jindal A.
AU - Gerndt M.
PY - 2020
SP - 204
EP - 215
DO - 10.5220/0009792702040215