Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support totaling length of multiple redis lists/regex for Redis List scaler #4907

Closed
madyarini opened this issue Aug 24, 2023 · 4 comments
Closed
Labels
feature-request All issues for new features that have not been committed to needs-discussion

Comments

@madyarini
Copy link

madyarini commented Aug 24, 2023

Proposal

Hi, I'm trying to scale sidekiq using KEDA
I have different queues handled by a type of sidekiq worker pod

queue:work1
queue:work2

how do i able to say, if the list of jobs in both queues averaging 20, trigger the scaledobject ?
if i do this

triggers:
- listName: queue:work1
   listLength: 10
- listName: queue:work2
   listLength: 10

this means if either average is 10, trigger the scaled object right? its not an aggregation of the average of both queues
it would be great if the scaler supports regex to allow this use case

Use-Case

Scale Sidekiq pro workers using KEDA that's managing different queues

Is this a feature you are interested in implementing yourself?

No

Anything else?

No response

@madyarini madyarini added feature-request All issues for new features that have not been committed to needs-discussion labels Aug 24, 2023
@madyarini madyarini changed the title Support regex for Redis List scaler Support totaling length of multiple redis lists/regex for Redis List scaler Aug 25, 2023
@JorTurFer
Copy link
Member

I think that this PR could help with your requirement as it allows performing mathematic operations over different scalers. WDYT?

@madyarini
Copy link
Author

which PR are u referring to?

@JorTurFer
Copy link
Member

**** I didn't paste the link, my fault :/
I meant this PR

@madyarini
Copy link
Author

yes that can help thanks looking forward to it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request All issues for new features that have not been committed to needs-discussion
Projects
Archived in project
Development

No branches or pull requests

2 participants