Comparative performance analysis of lambda functions between GO and JAVA languages

Authors

DOI:

https://doi.org/10.5281/zenodo.15477083

Keywords:

Lambda functions, Go, Java, Performance, Cloud computing

Abstract

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.

Downloads

Download data is not yet available.

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.

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.. 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.

Published

2025-06-06

How to Cite

DIAS, J. C.; IZIDORO, C. M.; … DIAS, J. C.; Comparative performance analysis of lambda functions between GO and JAVA languages. Revista Processando o Saber, v. 17, n. 01, 01-20, 6 jun. 2025. DOI 10.5281/zenodo.15477083. Available at: https://www.fatecpg.edu.br/revista/index.php/ps/article/view/337. Accessed: 20 aug. 2025.

Issue

Section

Tecnologia em Análise e Desenvolvimento de Sistemas