Intelligent Pooling: Proactive Resource Provisioning in Large-scale Cloud Service
- Deepak Ravikumar ,
- Alex Yeo ,
- Yiwen Zhu ,
- Aditya Lakra ,
- Harsha Nagulapalli ,
- Santhosh Ravindran ,
- Steve Suh ,
- Niharika Dutta ,
- Andrew Fogarty ,
- Yoonjae Park ,
- Sumeet Khushalani ,
- Arijit Tarafdar ,
- Kunal Parekh ,
- Subru Krishnan ,
- Yiwen Zhu ,
- Subru Krishnan
Proc. VLDB Endow. | , Vol 17: pp. 1618-1627
The proliferation of big data and analytic workloads has driven the need for cloud compute and cluster-based job processing. With Apache Spark, users can process terabytes of data at ease with hundreds of parallel executors. Providing low latency access to Spark clusters and sessions is a challenging problem due to the large overheads of cluster creation and session startup. In this paper, we introduce Intelligent Pooling, a system for proactively provisioning compute resources to combat the aforementioned overheads. Our system (1) predicts usage patterns using an innovative hybrid Machine Learning (ML) model with low latency and high accuracy; and (2) optimizes the pool size dynamically to meet customer demand while reducing extraneous COGS. The proposed system auto-tunes its hyper-parameters to balance between performance and operational cost with minimal to no engineering input. Evaluated using large-scale production data, Intelligent Pooling achieves up to 43% reduction in cluster idle time compared to static pooling when targeting 99% pool hit rate. Currently deployed in production, Intelligent Pooling is on track to save tens of million dollars in COGS per year as compared to traditional pre-provisioned pools.