of the microservices scalability which is not the
case with the serverless deployment. However,
this disadvantage can be resolved by configuring a
proper caching mechanism to store repetitive con-
tent but the user has to deal with more than what
is required.
8 CONCLUSION
Based on the experimental evaluation for microser-
vices and serverless deployments, it proves that no
single type of deployment could fit all kinds of appli-
cations. For example, a POST request which fetches a
response body of large fixed size may not work well
with a microservices deployment due to the latency
in auto-scaling execution. On the other hand, a mi-
croservices deployment may outperform serverless
deployment in some scenarios, For example, the GET,
POST, and DELETE requests with a simple payload
can result in a lower duration and cost when used with
microservices as compared to using serverless. In addi-
tion, serverless strategy provides immediate scalability
and prompt response when handling random spike traf-
fic, but the microservices architecture still is the best
cost-effective when facing regular traffic patterns.
In the end, this research derived a future research
direction towards optimizing the deployment in terms
of cost, performance, and application domain by build-
ing a hybrid deployment environment consisting of
both the microservices as well the serverless deploy-
ment strategies. A deployment strategy is selected
dynamically based on the workload pattern.
ACKNOWLEDGEMENTS
This work was supported by the funding of the German
Federal Ministry of Education and Research (BMBF)
in the scope of the Software Campus program. The
authors also thank the anonymous reviewers whose
comments helped in improving this paper.
REFERENCES
Amazon (2018). Serverless. https://aws.amazon.com/
serverless/. [Online; Accessed: 4-Feburary-2020].
S¸
amdan, E. (2018). Dealing with cold starts in aws
lambda. https://medium.com/thundra/dealing-with-
cold-starts-in-aws-lambda-a5e3aa8f532. [Online; Ac-
cessed: 14-Feburary-2020].
AWS (2020a). What is aws x-ray? https://docs.aws.amazon.
com/xray/latest/devguide/aws-xray.html. [Online; Ac-
cessed: 4-Feburary-2020].
AWS (2020b). What is the aws serverless application model
(aws sam)? https://docs.aws.amazon.com/serverless-
application-model/latest/developerguide/what-is-
sam.html. [Online; Accessed: 4-Feburary-2020].
Baldini, I., Castro, P. C., Chang, K. S., Cheng, P., Fink, S. J.,
Ishakian, V., Mitchell, N., Muthusamy, V., Rabbah,
R. M., Slominski, A., and Suter, P. (2017). Serverless
computing: Current trends and open problems. CoRR,
abs/1706.03178.
Bhojwani, R. (2018). Design patterns for microservice-
to-microservice communication - dzone microser-
vices. https://dzone.com/articles/design-patterns-for-
microservice-communication.
Casalicchio, E. and Perciballi, V. (2017). Auto-scaling of
containers: The impact of relative and absolute met-
rics. 2017 IEEE 2nd International Workshops on Foun-
dations and Applications of Self* Systems (FAS*W),
pages 207–214.
Castro, P., Ishakian, V., Muthusamy, V., and Slominski, A.
(2019). The rise of serverless computing. Commun.
ACM, 62(12):44–54.
Di Francesco, P., Lago, P., and Malavolta, I. (2018). Migrat-
ing towards microservice architectures: An industrial
survey. In 2018 IEEE International Conference on
Software Architecture (ICSA), pages 29–2909.
Eivy, A. (2017). Be wary of the economics of ”serverless”
cloud computing. IEEE Cloud Computing, 4:6–12.
Gancarz, R. (2017). The economics of serverless computing:
A real-world test. https://techbeacon.com/enterprise-it/
economics-serverless-computing-real-world-test. [On-
line; Accessed: 23-March-2020].
Handy, A. (2014). Amazon introduces lambda, containers
at aws re:invent. https://sdtimes.com/amazon/amazon-
introduces-lambda-containers/. [Online; Accessed: 4-
Feburary-2020].
Jambunathan, B. and Yoganathan, K. (2018). Architecture
decision on using microservices or serverless functions
with containers. In 2018 International Conference
on Current Trends towards Converging Technologies
(ICCTCT), pages 1–7.
Jindal, A., Podolskiy, V., and Gerndt, M. (2019). Perfor-
mance modeling for cloud microservice applications.
In Proceedings of the 2019 ACM/SPEC International
Conference on Performance Engineering, ICPE ’19,
page 25–32, New York, NY, USA. Association for
Computing Machinery.
Jonas, E., Pu, Q., Venkataraman, S., Stoica, I., and Recht, B.
(2017). Occupy the cloud: Distributed computing for
the 99In Proceedings of the 2017 Symposium on Cloud
Computing, SoCC ’17, page 445–451, New York, NY,
USA. Association for Computing Machinery.
Kazanavi
ˇ
cius, J. and Ma
ˇ
zeika, D. (2019). Migrating legacy
software to microservices architecture. In 2019 Open
Conference of Electrical, Electronic and Information
Sciences (eStream), pages 1–5.
Kozhirbayev, Z. and Sinnott, R. O. (2017). A performance
comparison of container-based technologies for the
cloud. Future Generation Computer Systems, 68:175 –
182.
Kratzke, N. (2018). A brief history of cloud application
architectures. Applied Sciences, 8.
CLOSER 2020 - 10th International Conference on Cloud Computing and Services Science
214