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.
In the General tab, you will see buttons to Change Instance Type and Change Storage.
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.
2. Change 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.
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 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.