-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple threads question #150
Comments
Hey @alondhe - my intent with the If there is interest in exploring ways to parallelize this, we can discuss it here. |
I am interested for sure. So at this point, all cohort generation via CohortGeneration is in serial (1 thread)? Are there any projects in OHDSI you know of that have handled parallel calls to CohortGenerator? |
Correct.
Not that I am aware of. This is a bit tricky too since the parallelization depends on your CDM RDBMS utilization - you don't want to overburden your DB and slow down all of the work. |
Hello, I'm curious about the comment here on running multi-threaded cohort generation: https://github.com/OHDSI/CohortGenerator/blob/main/R/CohortConstruction.R#L126-L131
Understandably, a dependency tree would need to be utilized to ensure we handle subsets. But I'm wondering if there are other challenges to implement it. I think it'd be a huge efficiency gain if we could parallelize.
The text was updated successfully, but these errors were encountered: