Operator / Controller Performance
Curently, the runtime worker flag across almost all runtime controller(Alluxio,Juicefs..) In a multi tenant production environment, multiple users or automated pipelines (e.g KubeFlow, ArgoWorkflow) often trigger dataset or Runtime Custom Resource actions simaltaneously. Because distributed cache initialization involves logn-running operations (such pulling container images, configuring mounting namespaces, and namesapces, and waiting for health checks), a single worker thread can be occupied for minutes.
When all 3 default workers are saturated, the 4th concurrent operation faces a silent queeing delay in the controller-rutime work-queue ( appearing "stuck" in a Pending state), leading to an artifical bottleneck.
Proposed Solution
- Introduce an option to read this configuration from environment variables (e.g.,
ALLUXIO_RUNTIME_WORKERS), falling back to a sensible default (e.g.,3or5) if unset. - Update Fluid's Helm charts to expose these concurrency worker settings in
values.yamlso cluster administrators can scale the operator concurrency to match their team size without rebuilding the binary.
I would be happy to work on a Pull Request to implement this across the relevant runtime commands and charts!
Hi @SamarthSRao,
I'd like to contribute to issue #6008.
I went through the issue description and understand that the goal is to make runtime controller worker concurrency configurable, so that administrators can adjust the number of concurrent reconciliation workers without rebuilding the Fluid operator.
I'd like to investigate the existing worker configuration across the runtime controllers, introduce environment-variable-based configuration with sensible defaults, and expose the settings through the relevant Helm chart values and templates.
I'll also add tests to verify default values, custom worker counts, and configuration handling.
Would it be okay if I take this issue and work on a PR? Also, would you prefer the implementation to cover all runtime controllers together or start with Alluxio and JuiceFS first?
Thank you for your time and guidance!