Skip to content

Partitioning of analysis specifications into smaller units #250

@anthonysena

Description

@anthonysena

Idea

We'd like to be able to partition an analysis specification into smaller units of work to distribute the workload across a number of worker nodes for execution.

Current state

Today we can partition a large analysis specification by HADES module only. We can do this by using the modulesToExecute parameter of the execution settings (example). As an example, if we have an analysis specification that utilizes all of the available HADES modules, we can scale out an analysis across machines in the following way: we can set modulesToExecute = c("CohortGeneratorModule") to generate the cohorts required for the study. Once the cohorts are generated, if we had a machine available for each module in the analysis specification, we could execute each module in parallel to execute the full study. These machine could be connected to a shared drive to hold the results or later those results are aggregated to a single location for results upload and review.

Proposed solution

In addition to partitioning by module, we'd like to be able to extend this to partition tasks within a given module so that we can continue to scale out analyses. Given an analysis specification, each HADES module should be capable of partitioning the work to distribute and determining if the work completed successfully. This is related to #246 as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions