arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.00728cs.DC
收藏

基于AWS的Spark度量--基于标注查询的科技文献挖掘

Measuring Spark on AWS: A Case Study on Mining Scientific Publications with Annotation Query

Darin McBeath, Ron Daniel

摘要:

注释查询(AQ)是一个程序,它提供了查询文本上许多不同类型的NLP注释以及文本的原始内容和结构的能力。查询结果可以提供新的注释,或者它们可以选择内容和注释的子集用于更深的处理。像GATE的Mimir一样,AQ基于区域代数。我们的AQ实现在Spark集群上运行。在本文中,我们看看AQ的运行时是如何受到集合的大小,集群中的节点数,节点类型和查询的特性的影响。当然,只要能够避免偏斜,集群大小会对性能产生很大影响。我们发现,有最小的性能差异时,持久化的注释序列化到本地SSD驱动器,而不是存储到本地内存。我们还发现,如果节点数量保持不变,那么AWS的存储优化实例性能最佳。但是,如果我们考虑总成本,计算优化的节点提供了相对于成本的最佳性能。

英文摘要:

Annotation Query (AQ) is a program that provides the ability to query many different types of NLP annotations on a text, as well as the original content and structure of the text. The query results may provide new annotations, or they may select subsets of the content and annotations for deeper processing. Like GATE's Mimir, AQ is based on region algebras. Our AQ is implemented to run on a Spark cluster. In this paper we look at how AQ's runtimes are affected by the size of the collection, the number of nodes in the cluster, the type of node, and the characteristics of the queries. Cluster size, of course, makes a large difference in performance so long as skew can be avoided. We find that there is minimal difference in performance when persisting annotations serialized to local SSD drives as opposed to deserialized into local memory. We also find that if the number of nodes is kept constant, then AWS' storage-optimized instance performs the best. But if we factor in total cost, the compute-optimized nodes provides the best performance relative to cost.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑