无服务器架构效率:探索性研究
Serverless architecture efficiency: an exploratory study
摘要:
云服务提供商向不敏感的客户提供服务以使用他们的平台。不同的服务可以以不同的成本达到相同的结果。在本文中,我们研究了运行高度并行化任务的无服务器架构的效率,以比较这些服务,从而找到在性能和成本方面最有效的服务。更准确地说,我们查看给定任务的计算时间和每个任务的成本。所研究的任务是计算给定单词在语料库中的出现次数。我们将无服务器架构与通常用于此类任务的Apache Spark map reduce技术进行了比较。使用AWS Lambda进行无服务器架构,使用Amazon EMR进行Apache Spark map reduce,具有类似的计算能力,我们表明无服务器技术在计算时间和成本方面实现了相当的性能。我们观察到lambda函数对于实时的计算是一种很好的方法,而EMR对于需要长计算时间的任务更可取。
英文摘要:
Cloud service provider propose services to insensitive customers to use their platform. Different services can achieve the same result at different cost. In this paper, we study the efficiency of a serverless architecture for running highly parallelizable tasks to compare theses services in order to find the most efficient in term of performance and cost. More precisely, we look at the compute time and at the cost per task for a given task. The tasks studied is the count of the occurrence of a given word in a corpus. We compare the serverless architecture to the Apache Spark map reduce technique commonly used for this type of task. Using AWS Lambda for the serverless architecture and Amazon EMR for the Apache Spark map reduce, with similar compute power, we show that the serverless technique achieve comparable performance in term of compute time and cost. We observed that the lambda function is a great approach for real time computing, while EMR is preferable for task that require long compute time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。