Stocator:一个用于Spark的高性能对象存储连接器
Stocator: A High Performance Object Store Connector for Spark
摘要:
我们介绍了Stocator,一个用于Apache Spark的高性能对象存储连接器,它利用了对象存储语义。先前的连接器已经假定了文件系统语义,特别是,通过创建临时文件来实现容错并允许推测性执行,以避免执行相同任务的工作线程之间的干扰,然后重命名这些文件。复制不是一个本机对象存储操作;它不仅不是原子的,而且是使用代价高昂的复制操作和删除操作实现的。相反,我们的连接器利用了对象创建的固有原子性,通过避免重命名范式,它大大减少了对对象存储的操作数量,并实现了一种更简单的方法来处理对象存储的最终一致的典型语义。我们已经实现了Stocator,并以开源的形式共享它。性能测试表明,与传统Hadoop连接器相比,它在写入密集型工作负载方面的速度快了18倍,在对象存储上执行的操作少了30倍,从而降低了客户端和对象存储服务提供商的成本。
英文摘要:
We present Stocator, a high performance object store connector for Apache Spark, that takes advantage of object store semantics. Previous connectors have assumed file system semantics, in particular, achieving fault tolerance and allowing speculative execution by creating temporary files to avoid interference between worker threads executing the same task and then renaming these files. Rename is not a native object store operation; not only is it not atomic, but it is implemented using a costly copy operation and a delete. Instead our connector leverages the inherent atomicity of object creation, and by avoiding the rename paradigm it greatly decreases the number of operations on the object store as well as enabling a much simpler approach to dealing with the eventually consistent semantics typical of object stores. We have implemented Stocator and shared it in open source. Performance testing shows that it is as much as 18 times faster for write intensive workloads and performs as much as 30 times fewer operations on the object store than the legacy Hadoop connectors, reducing costs both for the client and the object storage service provider.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。