I was checking the documentation of the future package https://cran.r-project.org/web/packages/future/vignettes/future-1-overview.html.
It has several strategies for parallel processing. My inquiry is specific to the difference, in terms of performance/speed, between a multisession
& a multicore
future.
In the documentation it is mentioned that:
multisession
runs on all OS and it uses background R sessions on current machine.
multicore
doesn't run on Windows or RStudio, and it forkes R processes on current machine.
My question is: Is anyone of those 2 strategies a clear winner in terms of speed? If not, then what considerations should I take into account when choosing what strategy to use (apart from that multicore
is not compatible with Windows or RStudio.
question from:
https://stackoverflow.com/questions/65952084/multisession-vs-multicore-in-future 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…