Skip to content

add mirai/mori backend for memory-efficient parallelization#62

Open
jemus42 wants to merge 46 commits into
mainfrom
mirai-mori-forde-prototype
Open

add mirai/mori backend for memory-efficient parallelization#62
jemus42 wants to merge 46 commits into
mainfrom
mirai-mori-forde-prototype

Conversation

@jemus42

@jemus42 jemus42 commented Jul 5, 2026

Copy link
Copy Markdown
Member

(Migrated from #58 to a local branch.)

Parallelizing with mirai + mori allows sharing R objects in memory, meaning less overhead as data doesn't have to be copied between workers.

This will need a bit more testing but I think supporting mirai/mori is going to be a big win as the two basically redefined the modern R parallelism stack.

Currently this allows both doParallel and mirai backends and auto-selects the corresponding backend depending on what is set up.

@jemus42

This comment was marked as outdated.

@jemus42 jemus42 changed the title add mirai/mori proof of concept for forde() add mirai/mori backend for memory-efficient parallelization Jul 6, 2026
@jemus42

jemus42 commented Jul 6, 2026

Copy link
Copy Markdown
Member Author

Hmm apparently the memory benchmark was faulty, measuring (shared) memory in this settings is pretty hard 🙄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant