Skip to main content
CenXiv.org
This website is in trial operation, support us!
We gratefully acknowledge support from all contributors.
Contribute
Donate
cenxiv logo > cs > arXiv:2510.19012

Help | Advanced Search

Computer Science > Distributed, Parallel, and Cluster Computing

arXiv:2510.19012 (cs)
[Submitted on 21 Oct 2025 ]

Title: Comparative analysis of large data processing in Apache Spark using Java, Python and Scala

Title: Apache Spark中使用Java、Python和Scala的大数据处理比较分析

Authors:Ivan Borodii, Illia Fedorovych, Halyna Osukhivska, Diana Velychko, Roman Butsii
Abstract: During the study, the results of a comparative analysis of the process of handling large datasets using the Apache Spark platform in Java, Python, and Scala programming languages were obtained. Although prior works have focused on individual stages, comprehensive comparisons of full ETL workflows across programming languages using Apache Iceberg remain limited. The analysis was performed by executing several operations, including downloading data from CSV files, transforming and loading it into an Apache Iceberg analytical table. It was found that the performance of the Spark algorithm varies significantly depending on the amount of data and the programming language used. When processing a 5-megabyte CSV file, the best result was achieved in Python: 6.71 seconds, which is superior to Scala's score of 9.13 seconds and Java's time of 9.62 seconds. For processing a large CSV file of 1.6 gigabytes, all programming languages demonstrated similar results: the fastest performance was showed in Python: 46.34 seconds, while Scala and Java showed results of 47.72 and 50.56 seconds, respectively. When performing a more complex operation that involved combining two CSV files into a single dataset for further loading into an Apache Iceberg table, Scala demonstrated the highest performance, at 374.42 seconds. Java processing was completed in 379.8 seconds, while Python was the least efficient, with a runtime of 398.32 seconds. It follows that the programming language significantly affects the efficiency of data processing by the Apache Spark algorithm, with Scala and Java being more productive for processing large amounts of data and complex operations, while Python demonstrates an advantage in working with small amounts of data. The results obtained can be useful for optimizing data handling processes depending on specific performance requirements and the amount of information being processed.
Abstract: 在研究过程中,获得了使用Apache Spark平台在Java、Python和Scala编程语言中处理大型数据集的过程的比较分析结果。 尽管先前的研究集中在个别阶段,但使用Apache Iceberg在不同编程语言之间进行全面的ETL工作流比较仍然有限。 该分析是通过执行多个操作完成的,包括从CSV文件下载数据,并将其转换和加载到一个Apache Iceberg分析表中。 发现Spark算法的性能在很大程度上取决于数据量和使用的编程语言。 在处理5兆字节的CSV文件时,Python取得了最佳结果:6.71秒,这优于Scala的9.13秒和Java的9.62秒。 对于处理1.6吉字节的大CSV文件,所有编程语言都表现出相似的结果:Python的最快性能为46.34秒,而Scala和Java分别为47.72秒和50.56秒。 当执行涉及将两个CSV文件合并为一个数据集并进一步加载到Apache Iceberg表中的更复杂操作时,Scala表现出最高的性能,耗时374.42秒。 Java的处理时间为379.8秒,而Python的运行时间最长,为398.32秒。 由此可见,编程语言显著影响Apache Spark算法的数据处理效率,Scala和Java在处理大量数据和复杂操作时更为高效,而Python在处理小规模数据时具有优势。 获得的结果可以根据特定的性能要求和处理的信息量,在优化数据处理过程中有所帮助。
Comments: CITI 2025, 3rd International Workshop on Computer Information Technologies in Industry 4.0, June 11-12, 2025, Ternopil, Ukraine. The article includes 10 pages, 5 figures, 9 tables
Subjects: Distributed, Parallel, and Cluster Computing (cs.DC) ; Databases (cs.DB); Programming Languages (cs.PL); Software Engineering (cs.SE)
Cite as: arXiv:2510.19012 [cs.DC]
  (or arXiv:2510.19012v1 [cs.DC] for this version)
  https://doi.org/10.48550/arXiv.2510.19012
arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Ivan Borodii [view email]
[v1] Tue, 21 Oct 2025 18:54:21 UTC (375 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled
  • View Chinese PDF
  • View PDF
license icon view license
Current browse context:
cs.DC
< prev   |   next >
new | recent | 2025-10
Change to browse by:
cs
cs.DB
cs.PL
cs.SE

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack

京ICP备2025123034号