Comparison of data processing efficiency in Java and Scala

Main Article Content

DOI

Bartosz Markiewicz

bartosz.markiewicz@pollub.edu.pl

Krzysztof Matyjaszczyk

krzysztof.matyjaszczyk1@pollub.edu.pl

Marek Miłosz

m.milosz@pollub.pl

https://orcid.org/0000-0002-5898-815X

Abstract

This article compares the efficiency of Java and Scala languages in data processing. Two web applications were created in these languages using the popular GraphQL interface and the H2 database. The research was conducted using test scenarios that included several data processing algorithms, varying numbers of users making requests to the application and different database sizes. Performance evaluation criteria such as data processing time, memory usage, and processor load were applied. The JMeter tool was used for the tests. The results show that the application written in Scala demonstrates higher efficiency.

Keywords:

Java, Scala, data processing, efficiency

References

Article Details

Markiewicz, B., Matyjaszczyk, K., & Miłosz, M. (2025). Comparison of data processing efficiency in Java and Scala. Journal of Computer Sciences Institute, 35, 129–136. https://doi.org/10.35784/jcsi.7048