title: ÐÐµÑÐ¾Ð´Ð¾Ð»Ð¾Ð³Ð¸Ñ Ð²Ð½ÐµÐ´ÑÐµÐ½Ð¸Ñ Ð±ÐµÑÑÐµÑÐ²ÐµÑÐ½ÑÑ ÑÐµÑ Ð½Ð¾Ð»Ð¾Ð³Ð¸Ð¹ Ð² ÑÐ¸ÑÑÐµÐ¼Ñ Ñ Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½Ð¾Ð¹ Ð°ÑÑ Ð¸ÑÐµÐºÑÑÑÐ¾Ð¹
title: Ð²ÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð¼Ð°Ð³Ð¸ÑÑÑÐ°
titleType: Subtitle
title: Methodology for implementing serverless technology in a system with a microservice architectureÂ
Creators: name: Ð¨Ð°Ð»Ð³ÑÐµÐ²Ð°, Ð¡Ð¾ÑÐ¸Ñ
Publisher: name: Ð¡Ð°Ð½ÐºÑ-ÐÐµÑÐµÑÐ±ÑÑÐ³ÑÐºÐ¸Ð¹ Ð¿Ð¾Ð»Ð¸ÑÐµÑÐ½Ð¸ÑÐµÑÐºÐ¸Ð¹ ÑÐ½Ð¸Ð²ÐµÑÑÐ¸ÑÐµÑ ÐÐµÑÑÐ° ÐÐµÐ»Ð¸ÐºÐ¾Ð³Ð¾
Year: 2023
Subjects: Ð±ÐµÑÑÐµÑÐ²ÐµÑÐ½ÑÐµ Ð²ÑÑÐ¸ÑÐ»ÐµÐ½Ð¸Ñ
Ð¾Ð±Ð»Ð°ÑÐ½ÑÐµ Ð²ÑÑÐ¸ÑÐ»ÐµÐ½Ð¸Ñ
knative
Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÑ
Ð¼Ð¸Ð³ÑÐ°ÑÐ¸Ñ
serverless computing
cloud computing
microservices
migration

description: ÐÑÐ¿ÑÑÐºÐ½Ð°Ñ ÐºÐ²Ð°Ð»Ð¸ÑÐ¸ÐºÐ°ÑÐ¸Ð¾Ð½Ð½Ð°Ñ ÑÐ°Ð±Ð¾ÑÐ° Ð¼Ð°Ð³Ð¸ÑÑÑÐ° Ð¿Ð¾ÑÐ²ÑÑÐµÐ½Ð° Ð¸ÑÑÐ»ÐµÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑÐ¸Ð¼ÐµÐ½Ð¸Ð¼Ð¾ÑÑÐ¸ Ð±ÐµÑÑÐµÑÐ²ÐµÑÐ½ÑÑ Ð²ÑÑÐ¸ÑÐ»ÐµÐ½Ð¸Ð¹ Ð² ÑÐ¸ÑÑÐµÐ¼Ð°Ñ Ñ Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ½Ð¾Ð¹ Ð°ÑÑÐ¸-ÑÐµÐºÑÑÑÐ¾Ð¹. ÐÑÐ¾Ð¸Ð·Ð²ÐµÐ´ÑÐ½ Ð¾Ð±Ð·Ð¾Ñ ÑÐ¾Ð²ÑÐµÐ¼ÐµÐ½Ð½ÑÑ Ð¿Ð¾Ð´ÑÐ¾Ð´Ð¾Ð² Ðº ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ð¸ Ð±ÐµÑÑÐµÑÐ²ÐµÑÐ½ÑÑ ÑÐµÑÐ²Ð¸ÑÐ¾Ð² Ð¸ ÑÑÑÐµÑÑÐ²ÑÑÑÐ¸Ñ Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½ÑÐ¾Ð² Ð´Ð»Ñ Ð¼Ð¸Ð³ÑÐ°ÑÐ¸Ð¸ Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ¾Ð² Ð´Ð»Ñ ÑÐ°-Ð±Ð¾ÑÑ Ð¿Ð¾ Ð±ÐµÑÑÐµÑÐ²ÐµÑÐ½Ð¾Ð¹ ÑÐµÑÐ½Ð¾Ð»Ð¾Ð³Ð¸Ð¸, Ð½Ð° Ð¾ÑÐ½Ð¾Ð²Ðµ ÐºÐ¾ÑÐ¾ÑÐ¾Ð³Ð¾ Ð´Ð°Ð½Ð° ÑÑÐ°Ð²Ð½Ð¸ÑÐµÐ»ÑÐ½Ð°Ñ ÑÐ°-ÑÐ°ÐºÑÐµÑÐ¸ÑÑÐ¸ÐºÐ° ÑÐ°ÑÑÐ¼Ð¾ÑÑÐµÐ½Ð½ÑÑ ÑÐ¿Ð¾ÑÐ¾Ð±Ð¾Ð² Ð¸ Ð²ÑÐ±ÑÐ°Ð½ Ð²Ð°ÑÐ¸Ð°Ð½Ñ, ÑÐ´Ð¾Ð²Ð»ÐµÑÐ²Ð¾ÑÑÑÑÐ¸Ð¹ Ð·Ð°-Ð´Ð°Ð½Ð½ÑÐ¼ ÐºÑÐ¸ÑÐµÑÐ¸ÑÐ¼. ÐÐ¾ ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐ°Ð¼ ÑÑÐ°Ð²Ð½Ð¸ÑÐµÐ»ÑÐ½Ð¾Ð³Ð¾ Ð°Ð½Ð°Ð»Ð¸Ð·Ð° Ð¿ÑÐµÐ´ÑÑÐ°Ð²Ð»ÐµÐ½Ð° Ð¼ÐµÑÐ¾Ð´Ð¾Ð»Ð¾Ð³Ð¸Ñ Ð¿ÐµÑÐµ-Ð²Ð¾Ð´Ð° ÑÐ¸ÑÑÐµÐ¼Ñ Ð¼Ð¸ÐºÑÐ¾ÑÐµÑÐ²Ð¸ÑÐ¾Ð² Ð² Ð±ÐµÑÑÐµÑÐ²ÐµÑÐ½ÑÐ¹ ÑÐµÐ¶Ð¸Ð¼. ÐÐ»Ñ ÑÐ´Ð¾Ð±ÑÑÐ²Ð° Ð¿Ð¾Ð»ÑÐ·Ð¾Ð²Ð°ÑÐµÐ»Ñ ÑÐ°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½ Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½Ñ Ð°Ð²ÑÐ¾Ð¼Ð°ÑÐ¸ÑÐµÑÐºÐ¾Ð¹ Ð¼Ð¸Ð³ÑÐ°ÑÐ¸Ð¸ Ð¸ ÑÐ°Ð·Ð²ÐµÑÑÑÐ²Ð°Ð½Ð¸Ñ ÑÐ¸ÑÑÐµÐ¼Ñ Ð² ÐºÐ»Ð°ÑÑÐµÑÐµ Kubernetes. Ð ÑÐ°Ð±Ð¾ÑÐµ Ð¾Ð¿Ð¸ÑÐ°Ð½Ð° Ð°ÑÑÐ¸ÑÐµÐºÑÑÑÐ° ÑÐ¸ÑÑÐµÐ¼Ñ, Ð´ÐµÑÐ°Ð»Ð¸ ÑÐµÐ°Ð»Ð¸Ð·Ð°ÑÐ¸Ð¸, Ð¿ÑÐ¾ÑÐµÑÑ ÑÐµÑÑÐ¸ÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¿ÑÐ¾Ð³ÑÐ°Ð¼Ð¼Ð½Ð¾Ð³Ð¾ Ð¿ÑÐ¾Ð´ÑÐºÑÐ°. Ð Ð°Ð·ÑÐ°Ð±Ð¾ÑÐ°Ð½Ð½ÑÐ¹ Ð¸Ð½ÑÑÑÑÐ¼ÐµÐ½Ñ Ð±ÑÐ» Ð¿ÑÐ¸Ð¼ÐµÐ½ÑÐ½ Ðº ÑÐµÑÑÐ¾Ð²Ð¾Ð¹ ÑÐ¸ÑÑÐµÐ¼Ðµ Ð¼Ð¸ÐºÑÐ¾ÑÐµÑ-Ð²Ð¸ÑÐ¾Ð² Ð´Ð»Ñ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð¸Ñ Ð´Ð°Ð½Ð½ÑÑ Ð¾ Ð¿Ð¾Ð²ÐµÐ´ÐµÐ½Ð¸Ð¸ ÑÐµÑÐ²Ð¸ÑÐ¾Ð² Ð² Ð±ÐµÑÑÐµÑÐ²ÐµÑÐ½Ð¾Ð¼ ÑÐµÐ¶Ð¸Ð¼Ðµ. ÐÐ° Ð¾ÑÐ½Ð¾Ð²Ð°Ð½Ð¸Ð¸ Ð¿Ð¾Ð»ÑÑÐµÐ½Ð½ÑÑ ÑÐµÐ·ÑÐ»ÑÑÐ°ÑÐ¾Ð² Ð¾ Ð¿Ð¾ÑÑÐµÐ±Ð»ÐµÐ½Ð¸Ð¸ ÑÐµÑÑÑÑÐ¾Ð² Ð¸ Ð²ÑÐµÐ¼ÐµÐ½Ð¸ Ð¾ÑÐ²ÐµÑÐ° Ð¿ÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ð¹ Ð² Ð·Ð°Ð²Ð¸ÑÐ¸Ð¼Ð¾ÑÑÐ¸ Ð¾Ñ Ð¸Ñ ÑÐ°ÑÐ°ÐºÑÐµÑÐ¸ÑÑÐ¸Ðº Ð±ÑÐ»Ð¸ Ð¿ÑÐµÐ´Ð»Ð¾Ð¶ÐµÐ½Ñ ÑÐµÐºÐ¾Ð¼ÐµÐ½Ð´Ð°-ÑÐ¸Ð¸ Ð¿Ð¾ Ð¿ÐµÑÐµÐ²Ð¾Ð´Ñ ÑÐµÑÐ²Ð¸ÑÐ¾Ð² Ñ Ð¾Ð¿ÑÐµÐ´ÐµÐ»ÑÐ½Ð½ÑÐ¼Ð¸ ÑÐ°ÑÐ°ÐºÑÐµÑÐ¸ÑÑÐ¸ÐºÐ°Ð¼Ð¸. ÐÐ° Ð¾ÑÐ½Ð¾Ð²Ðµ ÑÑÐ¸Ñ ÑÐµÐºÐ¾Ð¼ÐµÐ½Ð´Ð°ÑÐ¸Ð¹ Ð½Ð° ÑÐµÐ°Ð»ÑÐ½Ð¾Ð¹ ÑÐ¸ÑÑÐµÐ¼Ðµ ÑÐ´Ð°Ð»Ð¾ÑÑ Ð´Ð¾Ð±Ð¸ÑÑÑÑ ÑÐ½Ð¸Ð¶ÐµÐ½Ð¸Ñ Ð¿Ð¾ÑÑÐµÐ±Ð»ÐµÐ½Ð¸Ñ ÑÐµ-ÑÑÑÑÐ¾Ð² RAM Ð¸ CPU Ð½Ð° 8%.
description: This masters thesis is devoted to a study of the applicability of serverless com-puting in systems with microservices architecture. A review of modern approaches to implementing serverless services and existing tools for migrating microservices to work on serverless technology was made, based on which a comparative characteristic of the considered methods was given and the option that meets the given criteria was selected. Based on the results of the comparative analysis, a methodology for migrating a system of microservices to a serverless mode is presented. For user convenience, a tool for automatic migration and deployment of the system in a Kubernetes cluster has been developed. The paper describes the system architecture, implementation details, and software product testing process. The developed tool has been applied to a microservices test system to obtain data on the behavior of services in serverless mode. Based on the results obtained on the resource consumption and response time of the applications depending on their characteristics, recommendations have been proposed to translate the services with certain characteristics. Based on these recommendations, an 8% reduction in RAM and CPU resource consumption was achieved on a real system.