大数据需要复杂的系统吗?Spark与Unicage Shell的性能比较
Does Big Data Require Complex Systems? A Performance Comparison Between Spark and Unicage Shell Scripts
摘要:
大数据范式的特点是需要收集和处理大量数据集,以各种格式以极快的速度到达系统。Spark是一种广泛使用的大数据处理系统,可以与Hadoop集成,为开发人员提供强大的抽象,例如通过HDFS的分布式存储和通过YARN的资源管理。当所有必需的配置完成后,Spark还可以提供质量属性,如可扩展性、容错和安全性。然而,所有这些好处都是以复杂性为代价的,具有高内存要求和额外的处理延迟。另一种方法是使用精益软件栈,如Unicage,将大部分控制权委托给开发人员。在这项工作中,我们在IBM Cloud托管的集群环境中评估了Spark与Unicage的大数据处理性能。进行了两组实验:非结构化数据集的批处理和结构化数据集的查询处理。输入数据集的大小很大,从64 GB到8192 GB不等。结果表明,对于grep和select等搜索工作负载,Unicage脚本的性能优于Spark,但是Hadoop堆栈中的分布式存储和资源管理的抽象使Spark能够执行具有记录间依赖性的工作负载,例如排序和连接,并具有正确的输出。
英文摘要:
The paradigm of big data is characterized by the need to collect and process data sets of great volume, arriving at the systems with great velocity, in a variety of formats. Spark is a widely used big data processing system that can be integrated with Hadoop to provide powerful abstractions to developers, such as distributed storage through HDFS and resource management through YARN. When all the required configurations are made, Spark can also provide quality attributes, such as scalability, fault tolerance, and security. However, all of these benefits come at the cost of complexity, with high memory requirements, and additional latency in processing. An alternative approach is to use a lean software stack, like Unicage, that delegates most control back to the developer. In this work we evaluated the performance of big data processing with Spark versus Unicage, in a cluster environment hosted in the IBM Cloud. Two sets of experiments were performed: batch processing of unstructured data sets, and query processing of structured data sets. The input data sets were of significant size, ranging from 64 GB to 8192 GB in volume. The results show that the performance of Unicage scripts is superior to Spark for search workloads like grep and select, but that the abstractions of distributed storage and resource management from the Hadoop stack enable Spark to execute workloads with inter-record dependencies, such as sort and join, with correct outputs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。