How should we determine the target metric size? #142
-
Right now, the target metric size is hard-coded at 100. We should figure out how to dynamically set this. The scaler has access to all the interceptors so it can, at any time, figure out the size of the HTTP request queue. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I think we should move it to the CRD and use 100 as a default |
Beta Was this translation helpful? Give feedback.
-
I think it would be ideal if we could algorithmically calculate the best target metric for a service which would produce the best performance. We can also allow the user to specify a target metric in the HttpScaledObject in order to accommodate an edge case. |
Beta Was this translation helpful? Give feedback.
-
@rwkarg thanks for those links. my understanding is @ajanth97 is simply providing a user-overridable default for now. as we proceed, we'll keep an eye on whether folks require a more automated approach |
Beta Was this translation helpful? Give feedback.
I think we should move it to the CRD and use 100 as a default