Published June 6, 2025 | Version v1

Análise comparativa de desempenho das funções lambda entre as linguagens Go e Java

  • 1. ROR icon Fatec Praia Grande
  • 2. ROR icon São Paulo State Technological College

Description

À medida que a geração de dados cresce exponencialmente, as empresas deparam-se com desafios cada vez maiores no que diz respeito ao armazenamento, processamento e análise eficiente dessas informações. A adoção de funções Lambda tem-se mostrado uma solução viável e econômica para lidar com o grande volume de dados. Nesse contexto, a comparação de desempenho entre as linguagens de programação Go e Java é de interesse para desenvolvedores e empresas em busca de melhor performace de suas funções Lambda. Este estudo tem como objetivo analisar e comparar o desempenho dessas funções nessas duas linguagens e fornecer informações relevantes para a seleção da linguagem mais adequada às necessidades e objetivos de desempenho. A metodologia empregada envolve a implementação de diferentes abordagens para a série de Fibonacci em ambas as linguagens, com medição do tempo de execução em nanosegundos. Os resultados indicam um melhor desempenho da linguagem Go em relação a linguagem Java, oferecendo insights para os desenvolvedores na escolha da linguagem mais adequada. Além disso, dada a crescente demanda por aplicações em nuvem, é crucial aprofundar o conhecimento sobre computação em nuvem e o uso de tecnologias relacionadas para lidar eficientemente com grandes volumes de dados.

Versão publicada na Revista Processando o Saber:
https://www.fatecpg.edu.br/revista/index.php/ps/article/view/337

Abstract (English)

As data generation grows exponentially, companies face increasing challenges in storage, processing, and efficient analysis of this information. The adoption of Lambda functions has proven to be a viable and cost-effective solution for handling large volumes of data. In this context, comparing the performance between the Go and Java programming languages is of interest to developers and companies seeking improved performance of their Lambda functions. This study aims to analyze and compare the performance of these functions in both languages and provide relevant information for selecting the most suitable language based on performance needs and goals. The methodology employed involves implementing different approaches for the Fibonacci series in both languages, with measurement of execution time in nanoseconds. The results indicate better performance of the Go language compared to Java, offering insights for developers in choosing the most suitable language. Furthermore, given the growing demand for cloud applications, it is crucial to deepen knowledge about cloud computing and the use of related technologies to efficiently handle large volumes of data.

Files

01.pdf

Files (399.6 kB)

Name Size Download all
md5:5e84dd8fd855148b9a93d437d8e478b8
399.6 kB Preview Download

Additional details

Additional titles

Translated title (English)
Comparative performance analysis of lambda functions between go and java languages

Related works

Dates

Issued
2025-06-06

References

  • AWS. Estudo de caso da Netflix e do AWS Lambda. 2014. Neil Hunt - Chief Product Officer Netflix. Disponível em: https://aws.amazon.com/pt/solutions/case-studies/netflix-and-aws-lambda/. Acesso em: 28 maio 2023.
  • AWS. Tutorial: Uso do Lambda com API Gateway. 2023. Disponível em: https://docs.aws.amazon.com/pt_br/lambda/latest/dg/services-apigateway-tutorial.html. Acesso em: 28 maio 2023.
  • BARENDREGT, Henk. The impact of the lambda calculus in logic and computer science. Bulletin of Symbolic Logic, v. 3, n. 2, p. 181-215, 1997. BIRD, Richard. Introduction to functional programming using Haskell. Pearson Educación, 1998.
  • DEVMEDIA (org.). JavaServer Faces: guia de referência jsf - javaserver faces. Guia de Referência JSF - JavaServer Faces. 2023. Disponível em: https://www.devmedia.com.br/guia/jsf-javaserver-faces/38322. Acesso em: 05 jun. 2023.
  • DIETZ, Linus et al. Java By Comparison: Become a Java Craftsman in 70 Examples. Java By Comparison, p. 1-206, 2018.
  • DONOVAN, Alan AA; KERNIGHAN, Brian W. The Go programming language. Addison-Wesley Professional, 2015.
  • EYUPOGLU, Can. Big Data Processing: Concepts, Architectures, Technologies, and Techniques. In: Applications and Approaches to Object-Oriented Software Design: Emerging Research and Opportunities. IGI Global, 2020. p. 111-132.
  • FARRELL, Joyce. Java programming. Cengage Learning, 2022.
  • FOUNDATION, The Apache Software (org.). Apache Struts. 2023. Disponível em: https://struts.apache.org/. Acesso em: 05 jun. 2023.
  • GEARY, Cay S. et al. Java Performance: The Definitive Guide. Sebastopol: O'Reilly, 2016.
  • GO, Inc. (org.). A Tour of Go - 2023. Disponível em: https://go.dev/tour/concurrency/1. Acesso em: 05 jun. 2023.
  • ISO/IEC-17025. International Organisation for Standardisation. General requirements for the competence of testing and calibration laboratories. 2005.
  • JANEV, Valentina. Semantic intelligence in big data applications. Smart Connected World: Technologies and Applications Shaping the Future, p. 71-89, 2021.
  • JetBrains. The State of Developer Ecosystem in 2021 Infographic. JetBrains: Developer Tools for Professionals and Teams. 2021. Disponível em: https://www.jetbrains.com/lp/devecosystem-2021/#Main. Acesso maio 2023.
  • KLEMS, Markus. AWS Lambda Quick Start Guide: Learn how to build and deploy serverless applications on AWS. Packt Publishing Ltd, 2018.
  • KORAKITIS, Konstantinos; MUIR, Richard; JONES, Simon; CONDON, Michael. Developer Economics: State of the Developer Nation 22nd Edition. 2022. Disponível em: https://developer-economics.cdn.prismic.io/developer-economics/f99dc570-f8f4-41f0-bc3b-8 08b2dcdb6cb_Slashdata++22nd+edition+of+The+State+of+the+Developer+Nation+%28Q1+2022%29.pdf. Acesso em: 28 maio 2023.
  • MOORE, Susan. Gartner Says More Than Half of Enterprise IT Spending in Key Market Segments Will Shift to the Cloud by 2025. 2022. Disponível em: https://www.gartner.com/en/newsroom/press-releases/2022-02-09-gartner-says-more-than-half-of-enterprise-it-spending. Acesso em: 28 maio 2023.
  • MUGHAL, Khalid A.; RASMUSSEN, Rolf W. A Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA). Addison-Wesley Professional, 2016.
  • O'GRADY, Stephen. The RedMonk Programming Language Rankings: January 2022.
  • PATTERSON, Scott. Learn AWS Serverless Computing: A Beginner's Guide to Using AWS Lambda, Amazon API Gateway, and Services from Amazon Web Services. Packt Publishing Ltd, 2019.
  • REDHATE (org.). Hibernate: everything data. 2023. Disponível em: https://hibernate.org. Acesso em: 05 jun. 2023.
  • TINYGO, Inc. (org.). TINYGO Documentation - 2023. Disponível em: https://tinygo.org/docs/. Acesso em: 05 jun. 2023.
  • VMware, Inc. (org.). SPRING Framework: 6.0.9. 2023. Disponível em: https://spring.io/projects/spring-framework. Acesso em: 05 jun. 2023.