Vexless: A Serverless Vector Data Management System Using Cloud Functions

Author:

Su Yongye1ORCID,Sun Yinqi1ORCID,Zhang Minjia2ORCID,Wang Jianguo1ORCID

Affiliation:

1. Purdue University, West Lafayette, IN, USA

2. University of Illinois Urbana-Champaign, Urbana, IL, USA

Abstract

Cloud functions, exemplified by AWS Lambda and Azure Functions, are emerging as a new computing paradigm in the cloud. They provide elastic, serverless, and low-cost cloud computing, making them highly suitable for bursty and sparse workloads, which are quite common in practice. Thus, there is a new trend in designing data systems that leverage cloud functions. In this paper, we focus on vector databases, which have recently gained significant attention partly due to large language models. In particular, we investigate how to use cloud functions to build high-performance and cost-efficient vector databases. This presents significant challenges in terms of how to perform sharding, how to reduce communication overhead, and how to minimize cold-start times. In this paper, we introduce Vexless, the first vector database system optimized for cloud functions. We present three optimizations to address the challenges. To perform sharding, we propose a global coordinator (orchestrator) that assigns workloads to Cloud function instances based on their available hardware resources. To overcome communication overhead, we propose the use of stateful cloud functions, eliminating the need for costly communications during synchronization. To minimize cold-start overhead, we introduce a workload-aware Cloud function lifetime management strategy. Vexless has been implemented using Azure Functions. Experimental results demonstrate that Vexless can significantly reduce costs, especially on bursty and sparse workloads, compared to cloud VM instances, while achieving similar or higher query performance and accuracy.

Funder

NSF

Publisher

Association for Computing Machinery (ACM)

Reference75 articles.

1. [n. d.]. Alibaba Cloud: Manage Stateful Asynchronous Invocations. https://www.alibabacloud.com/help/en/fc/developer-reference/manage-stateful-asynchronous-invocations.

2. [n. d.]. Alibaba Cloud: Message Service (MNS). https://www.alibabacloud.com/product/message-service.

3. [n. d.]. Amazon Simple Queue Service. https://aws.amazon.com/sqs.

4. [n. d.]. AWS Lambda - Serverless Compute - Amazon Web Services. https://aws.amazon.com/lambda.

5. [n. d.]. AWS Step Functions. https://aws.amazon.com/step-functions.

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

1. Survey of vector database management systems;The VLDB Journal;2024-07-15

2. Vector Database Management Techniques and Systems;Companion of the 2024 International Conference on Management of Data;2024-06-09

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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