论文标题

使用期货中R中并行和分布式处理的统一框架

A Unifying Framework for Parallel and Distributed Processing in R using Futures

论文作者

Bengtsson, Henrik

论文摘要

未来是一种编程结构,旨在并发和异步评估代码,使其对于并行处理特别有用。未来的软件包实现了与R中的未来编程的未来API。此最小API为实施良好的高级地图降低的API提供了足够的构造。未来的生态系统支持异常处理,输出和状况继电器,并行随机数生成以及自动识别全球范围,从而降低了阈值到并行化代码。未来的API桥梁与平行的后端平行,遵循以下理念:最终用户是选择平行后端的人,而开发人员则专注于并行化。存在各种后端,并且符合规格的第三方贡献会自动支持所有后端,以确保相同的代码在所有后端中起作用。未来的框架解决了R中其他并行框架未解决的几个问题。

A future is a programming construct designed for concurrent and asynchronous evaluation of code, making it particularly useful for parallel processing. The future package implements the Future API for programming with futures in R. This minimal API provides sufficient constructs for implementing parallel versions of well-established, high-level map-reduce APIs. The future ecosystem supports exception handling, output and condition relaying, parallel random number generation, and automatic identification of globals lowering the threshold to parallelize code. The Future API bridges parallel frontends with parallel backends following the philosophy that end-users are the ones who choose the parallel backend while the developer focuses on what to parallelize. A variety of backends exist and third-party contributions meeting the specifications, which ensure that the same code works on all backends, are automatically supported. The future framework solves several problems not addressed by other parallel frameworks in R.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源