Case Study: a data-intensive enterprise cuts Spark job runtime by 67% with Ksolves India's custom threading UDF

A Ksolves India Limited Case Study

Preview of the Data-intensive enterprise Case Study

400K Spark Tasks Consolidated Into 2K With a Custom Threading UDF, Job Runtime Cut 67%

The customer, a data-intensive enterprise, faced a critical challenge with an Apache Spark pipeline where a job processing 400,000 small Parquet files consistently took three hours, overwhelming the task scheduler and breaching SLAs for downstream analytics. Ksolves India Limited was engaged to diagnose and resolve this severe I/O fragmentation issue.

Ksolves India Limited engineered a custom UDF with internal threading that consolidated the 400,000 tasks into just 2,000 before they reached Spark's scheduler. This solution cut the job's runtime by 67%, from three hours to one, and reduced task overhead by 99.5%, all without requiring any hardware changes or reduction in data volume.


View this case study…

Ksolves India Limited

458 Case Studies