Skip to content

Revisit worker parallelism strategy after multi-container worker migration #1424

@coderabbitai

Description

@coderabbitai

Context

A TODO comment in the codebase needs to be addressed after migrating from single-container to multi-container workers.

Location

File: components/clp-package-utils/clp_package_utils/controller.py
Method: DockerComposeController._get_num_workers()
Line: ~630

TODO Comment

TODO: Revisit after moving from single-container to multi-container workers.

Current Behaviour

The _get_num_workers() method currently returns cpu_count() // 2 to determine the parallelism number for worker components. This implementation assumes a single-container deployment model.

Action Required

Once the architecture moves to multi-container workers, the worker parallelism strategy should be revisited and potentially updated to align with the new deployment model.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions