FUNÇÕES SERVERLESS, MÁQUINAS VIRTUAIS OU CONTÊINERES PARA FERRAMENTAS INTERNAS DE USO INTERMITENTE: DESEMPENHO, CUSTO E RESPONSABILIDADE OPERACIONAL EM UM ESTUDO DE CASO NA AWS

Resumo

A escolha da arquitetura de hospedagem para ferramentas operacionais internas de uso intermitente envolve compromissos entre desempenho, custo e responsabilidade operacional. Este estudo avalia esses compromissos entre Function as a Service (FaaS), Infrastructure as a Service (IaaS) e Container as a Service (CaaS), tendo como caso uma ferramenta de monitoramento e recuperação de tarefas do AWS Database Migration Service (DMS). AWS Lambda e Amazon EC2 foram comparados na execução de um núcleo com uma leitura em lote e 42 atualizações no Amazon DynamoDB; o Amazon EKS foi analisado documentalmente. Três rodadas exploratórias mostraram que corrigir a reinstanciação do SDK reduziu em 83,4% o tempo médio da Lambda. Uma rodada confirmatória, com artefato idêntico, ensaios intercalados e aleatorizados (N = 60 por condição) e três configurações de memória, mostrou que a diferença depende da memória da Lambda: com 128 MB, o tempo médio foi 5,81 vezes o da EC2 t3.micro (1,4956 s versus 0,2572 s); com 512 MB, 1,35 vez; com 1.769 MB, não houve diferença estatisticamente significativa. A medição abrange apenas o núcleo instrumentado, sem inicialização, API Gateway nem rede do cliente. No modelo de custos, a Lambda apresentou baixo custo incremental no uso intermitente, enquanto EC2 e EKS mantiveram custos de capacidade provisionada. A análise da recuperação indicou potencial redução das ações humanas, sem constituir medição experimental do Mean Time to Recovery (MTTR). A adequação das alternativas depende do perfil de uso, da configuração dos recursos e dos requisitos operacionais, não havendo paradigma universalmente superior.

Biografia do(a) Autor(a)

Kaiky Henrique Vieira Barbosa de Moura, Federal Institute of São Paulo

Graduando em Tecnologia em Análise e Desenvolvimento de Sistemas pelo Instituto Federal de Educação, Ciência e Tecnologia de São Paulo (IFSP), campus Jacareí, e engenheiro de software.

Ana Paula Abrantes de Castro e Shiguemori, Federal Institute of São Paulo

Doutora em Computação Aplicada pelo Instituto Nacional de Pesquisas Espaciais (INPE) e professora da área de Computação no Instituto Federal de Educação, Ciência e Tecnologia de São Paulo (IFSP).

Referências

ABEDI, Ali; BRECHT, Tim. Conducting repeatable experiments in highly variable cloud computing environments. In: ACM/SPEC INTERNATIONAL CONFERENCE ON PERFORMANCE ENGINEERING, 8., 2017, L’Aquila. Proceedings […]. New York: ACM, 2017. p. 287–292. DOI: https://doi.org/10.1145/3030207.3030229

ADZIC, Gojko; CHATLEY, Robert. Serverless computing: economic and architectural impact. In: JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING (ESEC/FSE), 11., 2017, Paderborn. Proceedings […]. New York: ACM, 2017. p. 884–889. DOI: https://doi.org/10.1145/3106237.3117767

ALLEN, Christopher; LI, Xiaozhou; ABDELFATTAH, Amr S.; CERNY, Tomas; TAIBI, Davide. Comparing cost and performance of microservices and serverless in AWS: EC2 vs Lambda. In: HAN, H.; BAKER, E. (ed.). Next Generation Data Science: Second Southwest Data Science Conference, SDSC 2023, Waco, TX, USA, March 24–25, 2023, Revised Selected Papers. Cham: Springer, 2024. (Communications in Computer and Information Science, v. 2113). p. 60–72. DOI: https://doi.org/10.1007/978-3-031-61816-1_5

AMAZON WEB SERVICES. Amazon EBS pricing. [S. l.], [s. d.]a. Disponível em: https://aws.amazon.com/ebs/pricing/ Acesso em: 11 set. 2026.

AMAZON WEB SERVICES. Amazon EC2 T3 instances. [S. l.], [s. d.]b. Disponível em: https://aws.amazon.com/ec2/instance-types/t3/ Acesso em: 11 set. 2026.

AMAZON WEB SERVICES. Amazon ECS pricing. [S. l.], [s. d.]c. Disponível em: https://aws.amazon.com/ecs/pricing/ Acesso em: 5 nov. 2026.

AMAZON WEB SERVICES. Amazon EKS pricing. [S. l.], [s. d.]d. Disponível em: https://aws.amazon.com/eks/pricing/ Acesso em: 11 set. 2026.

AMAZON WEB SERVICES. Amazon VPC pricing. [S. l.], [s. d.]e. Disponível em: https://aws.amazon.com/vpc/pricing/ Acesso em: 5 nov. 2026.

AMAZON WEB SERVICES. AWS Fargate pricing. [S. l.], [s. d.]f. Disponível em: https://aws.amazon.com/fargate/pricing/ Acesso em: 11 set. 2026.

AMAZON WEB SERVICES. AWS Lambda pricing. [S. l.], [s. d.]g. Disponível em: https://aws.amazon.com/lambda/pricing/ Acesso em: 11 set. 2026.

AMAZON WEB SERVICES. Best practices for working with AWS Lambda Functions. [S. l.], [s. d.]h. Disponível em: https://docs.aws.amazon.com/lambda/latest/dg/best-practices.html Acesso em: 5 nov. 2026.

AMAZON WEB SERVICES. Configure Lambda Function memory. [S. l.], [s. d.]i. Disponível em: https://docs.aws.amazon.com/lambda/latest/dg/configuration-memory.html Acesso em: 5 nov. 2026.

AMAZON WEB SERVICES. Creating tasks for ongoing replication using AWS DMS. [S. l.], [s. d.]j. Disponível em: https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Task.CDC.html Acesso em: 11 set. 2026.

AMAZON WEB SERVICES. Purchasing On-Demand Instances for Amazon EC2. [S. l.], [s. d.]k. Disponível em: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html Acesso em: 4 nov. 2026.

AMAZON WEB SERVICES. Security in Amazon EKS. [S. l.], [s. d.]l. Disponível em: https://docs.aws.amazon.com/eks/latest/userguide/security.html Acesso em: 4 nov. 2026.

AMAZON WEB SERVICES. Shared responsibility model. [S. l.], [s. d.]m. Disponível em: https://aws.amazon.com/compliance/shared-responsibility-model/ Acesso em: 4 nov. 2026.

AMAZON WEB SERVICES. Understand Fargate Pod configuration details. [S. l.], [s. d.]n. Disponível em: https://docs.aws.amazon.com/eks/latest/userguide/fargate-pod-configuration.html Acesso em: 5 nov. 2026.

AMAZON WEB SERVICES. What is AWS Database Migration Service? [S. l.], [s. d.]o. Disponível em: https://docs.aws.amazon.com/dms/latest/userguide/Welcome.html Acesso em: 11 set. 2026.

BURNS, Brendan; GRANT, Brian; OPPENHEIMER, David; BREWER, Eric; WILKES, John. Borg, Omega, and Kubernetes. ACM Queue, v. 14, n. 1, p. 70–93, 2016. DOI: https://doi.org/10.1145/2898442.2898444

DECKER, Jonathan; KASPRZAK, Piotr; KUNKEL, Julian Martin. Performance evaluation of open-source serverless platforms for Kubernetes. Algorithms, v. 15, n. 7, art. 234, 2022. DOI: https://doi.org/10.3390/a15070234

EISMANN, Simon et al. Serverless applications: why, when, and how? IEEE Software, v. 38, n. 1, p. 32–39, 2021. DOI: https://doi.org/10.1109/MS.2020.3023302

FORSGREN, Nicole; HUMBLE, Jez; KIM, Gene. Accelerate: the science of lean software and DevOps. Portland: IT Revolution Press, 2018.

GARTNER. Gartner forecasts worldwide public cloud end-user spending to total $723 billion in 2025. [S. l.], 19 nov. 2024. Disponível em: https://www.gartner.com/en/newsroom/press-releases/2024-11-19-gartner-forecasts-worldwide-public-cloud-end-user-spending-to-total-723-billion-dollars-in-2025 Acesso em: 4 nov. 2026.

GUPTA, Shubham; GEBHART, Jeff. AWS Lambda standardizes billing for INIT phase. AWS Compute Blog, [S. l.], 29 abr. 2025. Disponível em: https://aws.amazon.com/blogs/compute/aws-lambda-standardizes-billing-for-init-phase/ Acesso em: 4 nov. 2026.

IBM. Qual é o tempo médio para reparo (MTTR)? [S. l.], [s. d.]. Disponível em: https://www.ibm.com/br-pt/think/topics/mttr Acesso em: 4 nov. 2026.

JONAS, Eric et al. Cloud programming simplified: a Berkeley view on serverless computing. Berkeley: University of California, 2019. (Technical Report UCB/EECS-2019-3). Disponível em: https://arxiv.org/abs/1902.03383 Acesso em: 4 nov. 2026.

LAABER, Christoph; SCHEUNER, Joel; LEITNER, Philipp. Software microbenchmarking in the cloud. How bad is it really? Empirical Software Engineering, v. 24, n. 4, p. 2469–2508, 2019. DOI: https://doi.org/10.1007/s10664-019-09681-1

MELL, Peter; GRANCE, Timothy. The NIST definition of cloud computing. Gaithersburg: National Institute of Standards and Technology, 2011. (NIST Special Publication, 800-145). DOI: https://doi.org/10.6028/NIST.SP.800-145

PAHL, Claus. Containerization and the PaaS cloud. IEEE Cloud Computing, v. 2, n. 3, p. 24–31, 2015. DOI: https://doi.org/10.1109/MCC.2015.51

PAPADOPOULOS, Alessandro Vittorio et al. Methodological principles for reproducible performance evaluation in cloud computing. IEEE Transactions on Software Engineering, v. 47, n. 8, p. 1528–1543, 2021. DOI: https://doi.org/10.1109/TSE.2019.2927908

RETOOL. The 2022 state of internal tools. [S. l.], 1 fev. 2023. Disponível em: https://retool.com/blog/state-of-internal-tools-2022 Acesso em: 4 nov. 2026.

RUNESON, Per; HÖST, Martin. Guidelines for conducting and reporting case study research in software engineering. Empirical Software Engineering, v. 14, n. 2, p. 131–164, 2009. DOI: https://doi.org/10.1007/s10664-008-9102-8

SCHEUNER, Joel; LEITNER, Philipp. Function-as-a-Service performance evaluation: a multivocal literature review. Journal of Systems and Software, v. 170, art. 110708, 2020. DOI: https://doi.org/10.1016/j.jss.2020.110708

VILLAMIZAR, Mario et al. Cost comparison of running web applications in the cloud using monolithic, microservice, and AWS Lambda architectures. Service Oriented Computing and Applications, v. 11, n. 2, p. 233–247, 2017. DOI: https://doi.org/10.1007/s11761-017-0208-y

WANG, Liang et al. Peeking behind the curtains of serverless platforms. In: USENIX ANNUAL TECHNICAL CONFERENCE (USENIX ATC 18), 2018, Boston. Proceedings […]. Berkeley: USENIX Association, 2018. p. 133–146.

WOHLIN, Claes; RUNESON, Per; HÖST, Martin; OHLSSON, Magnus C.; REGNELL, Björn; WESSLÉN, Anders. Experimentation in software engineering. Berlin, Heidelberg: Springer, 2012. DOI: https://doi.org/10.1007/978-3-642-29044-2

Como Citar

Moura, K. H. V. B. de, & Shiguemori, A. P. A. de C. e. (2026). FUNÇÕES SERVERLESS, MÁQUINAS VIRTUAIS OU CONTÊINERES PARA FERRAMENTAS INTERNAS DE USO INTERMITENTE: DESEMPENHO, CUSTO E RESPONSABILIDADE OPERACIONAL EM UM ESTUDO DE CASO NA AWS. RECIMA21 - Revista Científica Multidisciplinar - ISSN 2675-6218, 7(12), e7129923. https://doi.org/10.47820/recima21.v7i12.9923
Logotipo do Crossmark

Artigos Semelhantes

Você também pode iniciar uma pesquisa avançada por similaridade para este artigo.

Artigos mais lidos pelo mesmo(s) autor(es)