-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Autoscaler multi-tenancy and strategy support #659
Comments
I’ve been thinking about how to structure the autoscaler to accommodate both distinct metrics types and distinct data structures (based on replica alone for request-response replicas and based on replica and topic for event-driven replicas). We could attempt to share state in a "base" autoscaler of the form:
with a minimal
There could be distinct implementations of Alternatively, it might be cleaner from a concurrency perspective if there were two distinct autoscalers (and no stateful "base") both implementing a multi-tenant-oriented
These autoscalers would share no state and so could have distinct designs optimised separately. |
The Elafros autoscaling contract proposal separates request-response and event-driven autoscaling into independent components. |
/assign @glyn |
/kind spec |
Note to self: metrics for the Prometheus exporter are gathered by stats_reporter.go. |
Implements #659 except for dynamic reconfiguration.
Broke out #1658 for adding the missing dynamic reconfiguration support. The strategy support is less urgent and is deferred now that eventing is reusing the serving autoscaler support. |
Broke out #1677 to address an outstanding FIXME. |
To support event-driven revisions, the autoscaler needs to support multi-tenancy. That is, the autoscaler needs to handle scaling for all revisions rather than just one.
Each revision needs its own scaling strategy so that scaling of request-response and event-driven revisions can use distinct data structures, algorithms, and metrics types (e.g. replica versus topic metrics).
For background, see the Autoscaling elafros/riff convergence design document.
The text was updated successfully, but these errors were encountered: