Using Cloud Functions as Accelerator for Elastic Data Analytics

Author:

Bian Haoqiong1ORCID,Sha Tiannan1ORCID,Ailamaki Anastasia1ORCID

Affiliation:

1. EPFL, Lausanne, Switzerland

Abstract

Cloud function (CF) services, such as AWS Lambda, have been applied as the new computing infrastructure in implementing analytical query engines. For bursty and sparse workloads, CF-based query engine is more elastic than the traditional query engines running in servers, i.e., virtual machines (VMs), and might provide a higher performance/price ratio. However, it is still controversial whether CF services are good suites for general analytical workloads, in respect of the limitations of CFs in storage, network, and lifetime, as well as the much higher resource unit prices than VMs. In this paper, we first present micro-benchmark evaluations of the features of CF and VM. We reveal that for query processing, though CF is more elastic than VM, it is less scalable and is more expensive for continuous workloads. Then, to get the best of both worlds, we propose Pixels-Turbo - a hybrid query engine that processes queries in a scalable VM cluster by default and invokes CFs to accelerate the processing of unpredictable workload spikes. In the query engine, we propose several optimizations to improve the performance and scalability of the CF-based operators and a cost-based optimizer to select the appropriate algorithm and parallelism for the physical query plan. Evaluations on TPC-H and real-world workload show that our query engine has a 1-2 orders of magnitude higher performance/price ratio than state-of-the-art serverless query engines for sustained workloads while not compromising the elasticity for workload spikes.

Publisher

Association for Computing Machinery (ACM)

Reference78 articles.

1. 2022. Alibaba Cloud E-MapReduce. https://www.alibabacloud.com/product/emapreduce 2022. Alibaba Cloud E-MapReduce. https://www.alibabacloud.com/product/emapreduce

2. 2022. Amazon Athena Engine Version 3. https://docs.aws.amazon.com/athena/latest/ug/engine-versions-reference-0003.html 2022. Amazon Athena Engine Version 3. https://docs.aws.amazon.com/athena/latest/ug/engine-versions-reference-0003.html

3. 2022. Amazon CloudWatch. https://aws.amazon.com/cloudwatch/ 2022. Amazon CloudWatch. https://aws.amazon.com/cloudwatch/

4. 2022. Amazon EC2 On-demand Instances. https://aws.amazon.com/ec2/spot/ 2022. Amazon EC2 On-demand Instances. https://aws.amazon.com/ec2/spot/

5. 2022. Amazon EC2 Spot Instances. https://aws.amazon.com/ec2/pricing/on-demand/ 2022. Amazon EC2 Spot Instances. https://aws.amazon.com/ec2/pricing/on-demand/

Cited by 3 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Cackle: Analytical Workload Cost and Performance Stability With Elastic Pools;Proceedings of the ACM on Management of Data;2023-12-08

2. Efficient Resource Utilization in IoT and Cloud Computing;Information;2023-11-19

3. Space-Efficient TREC for Enabling Deep Learning on Microcontrollers;Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 3;2023-03-25

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3