Enabling Cost-Effective, SLO-Aware Machine Learning Inference Serving on Public Cloud
- 2 July 2020
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Cloud Computing
- Vol. 10 (3) , 1765-1779
Abstract
The remarkable advances of Machine Learning (ML) have spurred an increasing demand for ML-as-a-Service on publiccloud: developers train and publish ML models as online services to provide low-latency inference for dynamic queries. The primarychallenge of ML model serving is to meet the response-time Service-Level Objectives (SLOs) of inference workloads while minimizingserving cost. In this paper, we proposes MArk (Model Ark), a general-purpose inference serving system, to tackle the dual challenge ofSLO compliance and cost effectiveness. MArk employs three design choices tailored to inference workload. First, MArk dynamicallybatches requests and opportunistically serves them using expensive hardware accelerators (e.g., GPU) for improved performance-costratio. Second, instead of relying on feedback control scaling or over-provisioning to serve dynamic workload, which can be too slow ortoo expensive, MArk employs predictive autoscaling to hide the provisioning latency at low cost. Third, given the stateless nature ofinference serving, MArk exploits the flexible, yet costly serverless instances to cover occasional load spikes that are hard to predict. Weevaluated the performance of MArk using several state-of-the-art ML models trained in TensorFlow, MXNet, and Keras. Compared withthe premier industrial ML serving platform SageMaker, MArk reduces the serving cost up to 7.8while achieving even better latencyperformance.Keywords
Funding Information
- RGC ECS (26213818)
- National Science Foundation (CCF-1756013, IIS-1838024)
- Hong Kong PhD Fellowship Scheme
- Huawei PhD Fellowship Scheme
This publication has 37 references indexed in Scilit:
- Cutting the Cost of Hosting Online Services Using Cloud Spot Markets2015
- Towards an Autonomic Auto-scaling Prediction System for Cloud Resource Provisioning2015
- SpotCheck2015
- Enabling cost-aware and adaptive elasticity of multi-tier cloud applicationsFuture Generation Computer Systems, 2014
- Applying reinforcement learning towards automating resource allocation and application scalability in the cloudConcurrency and Computation: Practice and Experience, 2012
- Efficient Autoscaling in the Cloud Using Predictive Models for Workload Forecasting2011
- Trace data characterization and fitting for Markov modelingPerformance Evaluation, 2010
- Prediction-based real-time resource provisioning for massively multiplayer online gamesFuture Generation Computer Systems, 2009
- Agile dynamic provisioning of multi-tier Internet applicationsACM Transactions on Autonomous and Adaptive Systems, 2008
- The Markov-modulated Poisson process (MMPP) cookbookPerformance Evaluation, 1993