-
Notifications
You must be signed in to change notification settings - Fork 16.8k
[stable/rabbitmq] feature request: automatic configuration for schedulers threads using resources requests #13050
Comments
As it was mentioned at #3855 there are two ways to automatically configure the scheduler threads:
I'd rather use the second approach for simplicity. What do you think @thomas-riccardi @tompizmor ? |
Hi @juan141 I'm not sure either. pros:
cons:
However, a followup issue would raise the same questions for => maybe it's better to do it in bash (and maybe it should be moved to the bitnami image? (Since #4591 the bitnami init script is half bypassed, leading to all kinds of problems, but this is another issue...)) |
I agree with you. Handling it in the Bitnami init scripts will provide us much more flexibility to implement the corresponding Bash logic without making the shell command any longer. However, there will be users complaining since they use the RabbitMQ chart with non-bitnami RabbitMQ docker images. I think that once we (Bitnami) move RabbitMQ to a Bash approach (as we did on Redis or MariaDB). The Bitnami init scripts will be much easier to understand and users'll feel more comfortable with moving all this logic to the container itself (avoiding bypassing the init logic). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
bump to remove the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
Good news! We already moved the RabbitMQ so it's based on Bash scripts. See: https://github.com/bitnami/bitnami-docker-rabbitmq/tree/master/3.7/debian-9/rootfs Now we need to decide wether we want to replace the current command and we use the logic available in the Bash container or not. As I mentioned on a previous comment, there'll be user that'll complain for this change since they're not using the Bitnami image. As an alternative, we could create a parameter in the template to decide whether to use a custom command or not (relying on the container init scripts). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
Is this a request for help?:
Is this a BUG REPORT or FEATURE REQUEST? (choose one): feature request
Which chart:
stable/rabbitmq
What happened:
Since #13044 the schedulers threads are configurable from the chart values, with hardcoded default values.
The default value could be derived from the actual
resources.requests.cpu
(cf #3855 (comment)).Prior to #13044 the default values were computed by rabbitmq: derived from the actual core count; thus #13044 could introduce performance regression with default values.
The text was updated successfully, but these errors were encountered: