In-place Scaling for Cadence

A Cadence cluster can be scaled in-place, either vertically or horizontally, via the Console, Terraform or by issuing a request to our Provisioning API.

Vertical scaling allows you to move to a new node size that lets you scale the CPU core count, and memory quotas as well as increase or decrease disk capacity to meet changing demands.

Similarly, Horizontal scaling allows you to increase or decrease the number of nodes in your cluster for the given current node size.

Preparation

Instaclustr recommends that you first test your applications against in-place scaling in a non-production setting to verify that the scaling process doesn’t interrupt your applications.

During a cluster scaling operation one or more nodes will temporarily become unavailable as they are being scaled, e.g. during vertical scaling or decreasing the number of nodes. Cadence, as a whole, will handle these transient outages, but client applications may need to be programmed with certain considerations in mind.

Other Constraints

  • The nodes selected for resize must all be the same size.
  • AWS:
    • (For EBS backed storage system only) Vertical scaling where the disk is modified can only be done once every 6 hours due to EBS limitations.

Vertical Scaling

To resize the data centre nodes, navigate to the Scaling page for your Cadence cluster. The page will show you the current state of your cluster. Click Next.

The next page allows you to select the type of Scaling you want to perform, i.e. Horizontal or Vertical. Select the Vertical option and click Next.

To ensure the data’s availability within the cluster, Cadence cluster data centres are only allowed to be vertically scaled (resized) one node at a time. Any resize requests with a concurrency factor greater than 1 will not be processed. 

Finally, select a desired target node size that you wish to scale (resize) to.

Once you have selected a new size, you will be shown a summary of the resize, which will include the new price for managing your cluster. Click on Resize to begin the resize process. 

You can also select to notify your accounts’ designated support contacts via email once the resize is complete. You may opt-out of this notification by deselecting the Notify this account’s designated support contacts on resize completion checkbox.

While a resize is in progress, the Scaling page will display the progress of the resize. You will see individual nodes switch statuses as they progress through the scaling process. The Cluster Details page will also display the progress of the resize operation. You will see individual nodes switch from Running to PendingProvisioning/Provisioned and then back to Running once their size has been changed. 

In some rare cases, it may be desirable to cancel a resize operation while it is in progress. This can be achieved via the API. This may leave the cluster in a non-uniform state with some nodes already resized. Please contact Instaclustr Support to assist in this case, to ensure your cluster is correctly sized.

Clients Settings

We suggest using all nodes that are provided for connection configuration to achieve high availability during resizing.

Horizontal Scaling

Horizontal Scaling can be used to increase (Upscale) or decrease (Downscale) the number of nodes in your cluster which in turn will increase or decrease the capacity of the cluster. To perform this scaling operation, navigate to the Scaling page for your Cadence cluster. The page will show you the current state of your cluster. Click Next.

The next page allows you to select the type of Scaling you want to perform, i.e. Horizontal or Vertical. Select the Horizontal option and click Next.

Upscaling

Initially on this Setup page (i.e., Horizontal Scaling: Change Number of Nodes), the Number of Nodes field will show the current number of RUNNING nodes in the cluster. To add nodes, juts increase the number in this field. The summary section will automatically update to show the following information:

  • Current number of nodes in the cluster
  • Number of nodes to be added
  • The total (new) number of nodes in the cluster after the Scaling operation is complete
  • The new cost

Once you are happy, click Resize to start the upscaling.

While in progress, the Scaling page will display the progress of the scaling operation. You will see individual nodes switch statuses as they progress through the scaling process. The Cluster Details page will also display the progress of the add node(s) operation.

Downscaling

To remove (delete) nodes, juts decrease the number in the Number of Nodes field on the Setup page (i.e., Horizontal Scaling: Change Number of Nodes). The summary section will automatically update to show the following information:

  • Current number of nodes in the cluster
  • Number of nodes to be removed (deleted)
  • The total (new) number of nodes in the cluster after the Scaling operation is complete
  • The new cost

Once you are happy, click Resize to start the downscaling.

While in progress, the Scaling page will display the progress of the scaling (i.e., node removal) operation. You will see individual nodes switch statuses as they progress through the removal process.

By Instaclustr Support
Need Support?
Experiencing difficulties on the website or console?
Already have an account?
Need help with your cluster?
Contact Support
Why sign up?
To experience the ease of creating and managing clusters via the Instaclustr Console
Spin up a cluster in minutes