see on GitHub

RavenDB on the Cloud: Scaling


After a RavenDB cloud instance has been set up, you can scale it up and down to modify the workload it can handle.


Scaling

To scale a RavenDB cloud instance, open your portal's products tab and click the Manage button for the product you want to scale.

"Manage Product"

In the General tab, you will see buttons to Change Instance Type and Change Storage.

The scaling buttons are presented only for Development and Production products.
The Free product doesn't show them because its tier includes only one configuration.

"Scaling Buttons"

1. Click Change Instance Type to reconfigure your product.
2. Click Change Storage to modify your product's storage capacity.


1. Change Instance Type

Use the CPU Priority and Cluster Size slide bars to compose a configuration that would allow your product to properly handle its expected workload.

"Scaling Instance Type"


2. Change Storage

"Scaling Storage"

There are two types of storage: Standard and Premium. Pick either to change your current storage capacity.
The Premium storage type also lets you choose the number of IOPS (Input/Output Operations Per Second) that the instance can handle.

"Premium IOPS"

It is fairly obvious why the size of the storage matters, but it is important to also understand the impact of the storage type and allocated IOPS on the overall performance.

RavenDB, as a database, is sensitive to I/O latencies resulting from slow storage. If your instances are running into high I/O latencies, RavenDB will alert you to the issue so you can upgrade the type of storage you are using and the number of IOPS reserved for your instances.

Scaling a Development product brings it down temporarily, while its single-node's instance is being reconfigured.
Scaling a Production product does not bring it down, because it is a multi-node cluster and the nodes are scaled in a rolling update, one instance at a time.