In this blog, we’ll share how we at Halodoc implemented predictive right-sizing for Apache Spark. By analyzing Spark metrics in real time, we dynamically adjust resources using EMR on EKS pods, scaling up or down as needed, optimizing performance and cost without manual intervention.