Skip to content
This repository was archived by the owner on Mar 31, 2022. It is now read-only.
This repository was archived by the owner on Mar 31, 2022. It is now read-only.

Support scaling all clusters in an instance based on the metrics of the "primary" cluster #124

Description

@srwilson

I work for Sift and we have possibly a unique use case for our Bigtable instances. For each of our instances we have 2 clusters. At a given time one instance is "primary" and serves all live requests (configured via application profiles). The "secondary" instance is mostly idle so cpu usage is low. We want to keep the secondary the same size as the primary instance so that we can switch live traffic to the secondary instance.

This use case does not seem to be supported in the current implementation here. It seems scaling decisions are made independently for each cluster based on the metrics for that cluster.

Our plan is to fork the repo and make a few tweaks. In AutoscaleJob we lookup what is the primary cluster for that instance (by getting app profile data) and use that cluster as the source for metrics for the scaling algorithms. This will work for us but probably couldn't be contributed upstream in its current form.

Is there interest in a feature like this being contributed? Have others expressed interested in functionality similar to this?

cc @rravi-sift

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions