Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes
Ano de defesa: | 2021 |
---|---|
Autor(a) principal: | |
Orientador(a): | |
Banca de defesa: | |
Tipo de documento: | Dissertação |
Tipo de acesso: | Acesso aberto |
Idioma: | por |
Instituição de defesa: |
Não Informado pela instituição
|
Programa de Pós-Graduação: |
Pós-Graduação em Ciência da Computação
|
Departamento: |
Não Informado pela instituição
|
País: |
Não Informado pela instituição
|
Palavras-chave em Português: | |
Área do conhecimento CNPq: | |
Link de acesso: | https://ri.ufs.br/jspui/handle/riufs/15084 |
Resumo: | The microservice architecture became a trend for application development and deployment in cloud applications due to its capability of reducing service complexity and increase elasticity. Containers emerged as an alternative to virtual machines, and together with tools such as Kubernetes, have been empowering the usage of microservices. Provisioning and deprovisioning resources is a key factor to achieve elasticity, and consequently availability and responsiveness in cloud applications. Therefore, the efficient instantiation of containers is one requirement for the elastic behavior of web applications. This study analyzes the performance of containers instantiation, and the Kubernetes autoscaling mechanism. On the container instantiation process it was considered factors such as image size, and caching. Experiment results indicated that image sizes had a large impact in the instantiation time with low cache levels. This study presents a Markov Chain model, a Non-Markovian Petri Net model and a Stochastic Petri Net model using phase-type approximation through moment matching technique. A sensitivity analysis performed with the proposed models shows a linear relationship between instantiation time, image size and cache. The analysis checked the impact of each factor on the total response time, indicating strategies for performance improvements. The proposed SPN model with phase-type approximation achieves a better representation of the actual behavior of the system, by fitting the data obtained from the experiments not only on average values, but on the overall response time distribution. Besides, this study also presents a Stochastic Petri Net model to represent the Kubernetes autoscaling mechanism. The model includes monitoring, dimensioning, admission and processing. The model was analyzed using transient and stationary simulation for the following metrics: for the average number of Pods in the period and average utilization of the period. A sensitivity analysis was performed to analyze the relationship between the average number of pods, the number of users, the service time and the interval between requests. The analysis showed that the increase in load, due to the increase in the number of users or the arrival rate, implies a faster scaling. As well as increased of the service time. It can be seen that the model successfully represents the automatic scaling behavior of Kubernetes. Therefore, since the execution of what-if analyses in production environments is not an easy task, having an accurate model to assess the system performance in different scenarios can be a very important advantage to cloud systems administrators. |
id |
UFS-2_e8bc29367620832fe8a004f03c7e8515 |
---|---|
oai_identifier_str |
oai:ufs.br:riufs/15084 |
network_acronym_str |
UFS-2 |
network_name_str |
Repositório Institucional da UFS |
repository_id_str |
|
spelling |
Paulo, Katharine Padilha deMatos Júnior, Rubens de SouzaSalgueiro, Ricardo Jose Paiva de Britto2022-02-25T19:37:39Z2022-02-25T19:37:39Z2021-12-21PAULO, Katharine Padilha de. Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes. 2021. 78 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Sergipe, São Cristóvão, 2021.https://ri.ufs.br/jspui/handle/riufs/15084The microservice architecture became a trend for application development and deployment in cloud applications due to its capability of reducing service complexity and increase elasticity. Containers emerged as an alternative to virtual machines, and together with tools such as Kubernetes, have been empowering the usage of microservices. Provisioning and deprovisioning resources is a key factor to achieve elasticity, and consequently availability and responsiveness in cloud applications. Therefore, the efficient instantiation of containers is one requirement for the elastic behavior of web applications. This study analyzes the performance of containers instantiation, and the Kubernetes autoscaling mechanism. On the container instantiation process it was considered factors such as image size, and caching. Experiment results indicated that image sizes had a large impact in the instantiation time with low cache levels. This study presents a Markov Chain model, a Non-Markovian Petri Net model and a Stochastic Petri Net model using phase-type approximation through moment matching technique. A sensitivity analysis performed with the proposed models shows a linear relationship between instantiation time, image size and cache. The analysis checked the impact of each factor on the total response time, indicating strategies for performance improvements. The proposed SPN model with phase-type approximation achieves a better representation of the actual behavior of the system, by fitting the data obtained from the experiments not only on average values, but on the overall response time distribution. Besides, this study also presents a Stochastic Petri Net model to represent the Kubernetes autoscaling mechanism. The model includes monitoring, dimensioning, admission and processing. The model was analyzed using transient and stationary simulation for the following metrics: for the average number of Pods in the period and average utilization of the period. A sensitivity analysis was performed to analyze the relationship between the average number of pods, the number of users, the service time and the interval between requests. The analysis showed that the increase in load, due to the increase in the number of users or the arrival rate, implies a faster scaling. As well as increased of the service time. It can be seen that the model successfully represents the automatic scaling behavior of Kubernetes. Therefore, since the execution of what-if analyses in production environments is not an easy task, having an accurate model to assess the system performance in different scenarios can be a very important advantage to cloud systems administrators.A arquitetura de microsserviço se tornou uma tendência para o desenvolvimento e implantação de aplicações em nuvem devido à sua capacidade de reduzir a complexidade do serviço e aumentar a elasticidade. Os contêineres surgiram como uma alternativa às máquinas virtuais e, juntamente com ferramentas como o Kubernetes, têm potencializado o uso de microsserviços. O provisionamento e o desprovisionamento de recursos é um fator chave para obter elasticidade e, consequentemente, disponibilidade e capacidade de resposta em aplicações em nuvem. Portanto, a instanciação eficiente de contêineres é um requisito para se obter elasticidade de aplicações na web. Este estudo avalia o desempenho da instanciação de contêineres e do mecanismo de escalonamento automático do Kubernetes. No processo de instanciação de contêineres, foram considerados fatores como tamanho da imagem e armazenamento em cache. Os resultados do experimento indicaram que os tamanhos das imagens tiveram um grande impacto no tempo de instanciação com baixos níveis de cache. Este estudo apresenta um modelo de Cadeia de Markov, um modelo de Rede de Petri Estocástica Não-Markoviana e um modelo de Rede de Petri Estocástica Markoviana usando aproximação por fases através da técnica moment matching. Uma análise de sensibilidade realizada com os modelos de desempenho da instanciação de contêineres mostra uma relação linear entre o tempo de instanciação, o tamanho da imagem e o cache. A análise verificou o impacto de cada fator, tamanho da imagem e o cache, no tempo total de resposta, indicando estratégias para melhorias de desempenho. O modelo SPN proposto com aproximação por fases consegue uma melhor representação do comportamento real do sistema, ajustando os dados obtidos nos experimentos não apenas nos valores médios, mas na distribuição geral do tempo de resposta. Além disso, este estudo também apresenta um modelo de Rede de Petri Estocásticas para representar o mecanismo de escalonamento automático do Kubernetes. O modelo inclui monitoramento, dimensionamento, admissão e processamento. O modelo foi analisado por meio de simulação transiente e estacionária para as seguintes métricas: número médio de Pods no período e utilização média do período. Uma análise de sensibilidade foi realizada para analisar a relação entre quantidade média de Pods, quantidade de usuários, tempo de serviço, e intervalo entre requisições. A análise mostrou que o aumento da carga, seja devido ao aumento da quantidade de usuários ou da taxa de entrada, implica em um escalonamento mais rápido, bem como o aumento de tempo de serviço. Com isso, pode-se observar que o modelo representa com sucesso o comportamento de dimensionamento automático do Kubernetes. Portanto, como a execução de análises what-if em ambientes de produção não é uma tarefa fácil, ter um modelo preciso para avaliar o desempenho do sistema em diferentes cenários pode ser uma vantagem muito importante para administradores de sistemas em nuvem.São CristóvãoporComputação em nuvemMicrosserviçosDockerAvaliação de desempenhoModelagem analíticaVirtualização baseada em contêinerCloud computingMicroservicesPerformance evaluationAnalytical modelingContainer-based virtualizationCIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAOAvaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetesinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisPós-Graduação em Ciência da ComputaçãoUniversidade Federal de Sergipereponame:Repositório Institucional da UFSinstname:Universidade Federal de Sergipe (UFS)instacron:UFSinfo:eu-repo/semantics/openAccessLICENSElicense.txtlicense.txttext/plain; charset=utf-81475https://ri.ufs.br/jspui/bitstream/riufs/15084/1/license.txt098cbbf65c2c15e1fb2e49c5d306a44cMD51ORIGINALKATHARINE_PADILHA_PAULO.pdfKATHARINE_PADILHA_PAULO.pdfapplication/pdf4308726https://ri.ufs.br/jspui/bitstream/riufs/15084/2/KATHARINE_PADILHA_PAULO.pdf4f4fbd01769a6ad570612c9b3710fde0MD52TEXTKATHARINE_PADILHA_PAULO.pdf.txtKATHARINE_PADILHA_PAULO.pdf.txtExtracted texttext/plain158659https://ri.ufs.br/jspui/bitstream/riufs/15084/3/KATHARINE_PADILHA_PAULO.pdf.txtb7516f40ba9a1530e18236eb933d9c79MD53THUMBNAILKATHARINE_PADILHA_PAULO.pdf.jpgKATHARINE_PADILHA_PAULO.pdf.jpgGenerated Thumbnailimage/jpeg1406https://ri.ufs.br/jspui/bitstream/riufs/15084/4/KATHARINE_PADILHA_PAULO.pdf.jpg425dc7b838cf846710912daf7865bc8cMD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Ozc2l0bywgcXVlIHNlamEgZGUgc2V1IGNvbmhlY2ltZW50bywgbsOjbyBpbmZyaW5nZSBkaXJlaXRvcyBhdXRvcmFpcyBkZSBuaW5ndcOpbS4KCkNhc28gbyB0cmFiYWxobyBjb250ZW5oYSBtYXRlcmlhbCBxdWUgdm9jw6ogbsOjbyBwb3NzdWkgYSB0aXR1bGFyaWRhZGUgZG9zIGRpcmVpdG9zIGF1dG9yYWlzLCB2b2PDqiBkZWNsYXJhIHF1ZSBvYnRldmUgYSBwZXJtaXNzw6NvIGlycmVzdHJpdGEgZG8gZGV0ZW50b3IgZG9zIGRpcmVpdG9zIGF1dG9yYWlzIHBhcmEgY29uY2VkZXIgw6AgVW5pdmVyc2lkYWRlIEZlZGVyYWwgZGUgU2VyZ2lwZSBvcyBkaXJlaXRvcyBhcHJlc2VudGFkb3MgbmVzdGEgbGljZW7Dp2EsIGUgcXVlIGVzc2UgbWF0ZXJpYWwgZGUgcHJvcHJpZWRhZGUgZGUgdGVyY2Vpcm9zIGVzdMOhIGNsYXJhbWVudGUgaWRlbnRpZmljYWRvIGUgcmVjb25oZWNpZG8gbm8gdGV4dG8gb3Ugbm8gY29udGXDumRvLgoKQSBVbml2ZXJzaWRhZGUgRmVkZXJhbCBkZSBTZXJnaXBlIHNlIGNvbXByb21ldGUgYSBpZGVudGlmaWNhciBjbGFyYW1lbnRlIG8gc2V1IG5vbWUocykgb3UgbyhzKSBub21lKHMpIGRvKHMpIApkZXRlbnRvcihlcykgZG9zIGRpcmVpdG9zIGF1dG9yYWlzIGRvIHRyYWJhbGhvLCBlIG7Do28gZmFyw6EgcXVhbHF1ZXIgYWx0ZXJhw6fDo28sIGFsw6ltIGRhcXVlbGFzIGNvbmNlZGlkYXMgcG9yIGVzdGEgbGljZW7Dp2EuIAo=Repositório InstitucionalPUBhttps://ri.ufs.br/oai/requestrepositorio@academico.ufs.bropendoar:2022-02-25T19:37:39Repositório Institucional da UFS - Universidade Federal de Sergipe (UFS)false |
dc.title.pt_BR.fl_str_mv |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes |
title |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes |
spellingShingle |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes Paulo, Katharine Padilha de Computação em nuvem Microsserviços Docker Avaliação de desempenho Modelagem analítica Virtualização baseada em contêiner Cloud computing Microservices Performance evaluation Analytical modeling Container-based virtualization CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
title_short |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes |
title_full |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes |
title_fullStr |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes |
title_full_unstemmed |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes |
title_sort |
Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes |
author |
Paulo, Katharine Padilha de |
author_facet |
Paulo, Katharine Padilha de |
author_role |
author |
dc.contributor.author.fl_str_mv |
Paulo, Katharine Padilha de |
dc.contributor.advisor1.fl_str_mv |
Matos Júnior, Rubens de Souza |
dc.contributor.advisor-co1.fl_str_mv |
Salgueiro, Ricardo Jose Paiva de Britto |
contributor_str_mv |
Matos Júnior, Rubens de Souza Salgueiro, Ricardo Jose Paiva de Britto |
dc.subject.por.fl_str_mv |
Computação em nuvem Microsserviços Docker Avaliação de desempenho Modelagem analítica Virtualização baseada em contêiner Cloud computing Microservices Performance evaluation Analytical modeling Container-based virtualization |
topic |
Computação em nuvem Microsserviços Docker Avaliação de desempenho Modelagem analítica Virtualização baseada em contêiner Cloud computing Microservices Performance evaluation Analytical modeling Container-based virtualization CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
dc.subject.cnpq.fl_str_mv |
CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO |
description |
The microservice architecture became a trend for application development and deployment in cloud applications due to its capability of reducing service complexity and increase elasticity. Containers emerged as an alternative to virtual machines, and together with tools such as Kubernetes, have been empowering the usage of microservices. Provisioning and deprovisioning resources is a key factor to achieve elasticity, and consequently availability and responsiveness in cloud applications. Therefore, the efficient instantiation of containers is one requirement for the elastic behavior of web applications. This study analyzes the performance of containers instantiation, and the Kubernetes autoscaling mechanism. On the container instantiation process it was considered factors such as image size, and caching. Experiment results indicated that image sizes had a large impact in the instantiation time with low cache levels. This study presents a Markov Chain model, a Non-Markovian Petri Net model and a Stochastic Petri Net model using phase-type approximation through moment matching technique. A sensitivity analysis performed with the proposed models shows a linear relationship between instantiation time, image size and cache. The analysis checked the impact of each factor on the total response time, indicating strategies for performance improvements. The proposed SPN model with phase-type approximation achieves a better representation of the actual behavior of the system, by fitting the data obtained from the experiments not only on average values, but on the overall response time distribution. Besides, this study also presents a Stochastic Petri Net model to represent the Kubernetes autoscaling mechanism. The model includes monitoring, dimensioning, admission and processing. The model was analyzed using transient and stationary simulation for the following metrics: for the average number of Pods in the period and average utilization of the period. A sensitivity analysis was performed to analyze the relationship between the average number of pods, the number of users, the service time and the interval between requests. The analysis showed that the increase in load, due to the increase in the number of users or the arrival rate, implies a faster scaling. As well as increased of the service time. It can be seen that the model successfully represents the automatic scaling behavior of Kubernetes. Therefore, since the execution of what-if analyses in production environments is not an easy task, having an accurate model to assess the system performance in different scenarios can be a very important advantage to cloud systems administrators. |
publishDate |
2021 |
dc.date.issued.fl_str_mv |
2021-12-21 |
dc.date.accessioned.fl_str_mv |
2022-02-25T19:37:39Z |
dc.date.available.fl_str_mv |
2022-02-25T19:37:39Z |
dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
dc.type.driver.fl_str_mv |
info:eu-repo/semantics/masterThesis |
format |
masterThesis |
status_str |
publishedVersion |
dc.identifier.citation.fl_str_mv |
PAULO, Katharine Padilha de. Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes. 2021. 78 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Sergipe, São Cristóvão, 2021. |
dc.identifier.uri.fl_str_mv |
https://ri.ufs.br/jspui/handle/riufs/15084 |
identifier_str_mv |
PAULO, Katharine Padilha de. Avaliação de desempenho para elasticidade de ambientes conteinerizados: estudo experimental e de modelagem do Kubernetes. 2021. 78 f. Dissertação (Mestrado em Ciência da Computação) - Universidade Federal de Sergipe, São Cristóvão, 2021. |
url |
https://ri.ufs.br/jspui/handle/riufs/15084 |
dc.language.iso.fl_str_mv |
por |
language |
por |
dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
eu_rights_str_mv |
openAccess |
dc.publisher.program.fl_str_mv |
Pós-Graduação em Ciência da Computação |
dc.publisher.initials.fl_str_mv |
Universidade Federal de Sergipe |
dc.source.none.fl_str_mv |
reponame:Repositório Institucional da UFS instname:Universidade Federal de Sergipe (UFS) instacron:UFS |
instname_str |
Universidade Federal de Sergipe (UFS) |
instacron_str |
UFS |
institution |
UFS |
reponame_str |
Repositório Institucional da UFS |
collection |
Repositório Institucional da UFS |
bitstream.url.fl_str_mv |
https://ri.ufs.br/jspui/bitstream/riufs/15084/1/license.txt https://ri.ufs.br/jspui/bitstream/riufs/15084/2/KATHARINE_PADILHA_PAULO.pdf https://ri.ufs.br/jspui/bitstream/riufs/15084/3/KATHARINE_PADILHA_PAULO.pdf.txt https://ri.ufs.br/jspui/bitstream/riufs/15084/4/KATHARINE_PADILHA_PAULO.pdf.jpg |
bitstream.checksum.fl_str_mv |
098cbbf65c2c15e1fb2e49c5d306a44c 4f4fbd01769a6ad570612c9b3710fde0 b7516f40ba9a1530e18236eb933d9c79 425dc7b838cf846710912daf7865bc8c |
bitstream.checksumAlgorithm.fl_str_mv |
MD5 MD5 MD5 MD5 |
repository.name.fl_str_mv |
Repositório Institucional da UFS - Universidade Federal de Sergipe (UFS) |
repository.mail.fl_str_mv |
repositorio@academico.ufs.br |
_version_ |
1802111154863996928 |