cli icon indicating copy to clipboard operation
cli copied to clipboard

Determine concurrency at runtime

Open clebs opened this issue 3 years ago • 1 comments

Description

Whenever possible, determine the best fitting concurrency (# of workers) at runtime by using runtime.NumCPU().

The priority order to set the concurrency would be:

  1. User provided --concurrency flag
  2. Number of cores determined at runtime.
  3. If number of cores is unknown set to default of 4.

Reasons

Better resource utilisation in any scenario and hardware.

clebs avatar Jun 09 '22 11:06 clebs

This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions.

kyma-stale-bot[bot] avatar Aug 08 '22 11:08 kyma-stale-bot[bot]

This issue has been automatically marked as stale due to the lack of recent activity. It will soon be closed if no further activity occurs. Thank you for your contributions.

kyma-stale-bot[bot] avatar Oct 09 '22 09:10 kyma-stale-bot[bot]

@clebs ; is this flag still supported when moving to the new deploy command?

tobiscr avatar Oct 21 '22 08:10 tobiscr

Hi @tobiscr, that is a very good point. With the new deploy I do not think this is relevant anymore. Closing the issue.

clebs avatar Oct 24 '22 07:10 clebs