Eksportér (0) Udskriv
Udvid alt
EN
Dette indhold er ikke tilgængeligt på dit sprog, men her er den engelske version.

Scale a Cache for Azure Managed Cache Service

Updated: July 16, 2010

noteNote
For guidance on choosing the right Azure Cache offering for your application, see Which Azure Cache offering is right for me?.

Managed Cache Service has different cache offerings which provide flexibility in the choice of cache size and features. If the requirements of your application change after a cache is created, you can change the size and features of your cache using the Scale tab for Cache in the . This topic provides an overview of scaling a cache in Managed Cache Service.

For guidance on the cache offering and cache memory that is right for your application, see Capacity Planning for Azure Managed Cache Service.

Scale a Cache

You can use the monitoring features of Managed Cache Service to monitor the health and performance of your Managed Cache Service applications and to help determine if there is a need to scale the cache. If you determine that your cache is no longer meeting the requirements of your application, you can increase or decrease the cache memory available with your current cache offering, or you can scale to a new cache offering.

noteNote
For more information about monitoring the health and performance of your cache, see Monitor Azure Managed Cache Service.

Caches are scaled on the Scale tab for Cache on the .

Scale Cache

Managed Cache Service has three Cache Offerings, each with a different set cache features and a different range of cache memory available.

  • Basic - Cache in sizes from 128MB to 1GB in 128MB increments, with one default named cache

  • Standard - Cache in sizes from 1GB to 10GB in 1GB increments, with support for notifications and up to ten named caches

  • Premium - Cache in sizes from 5GB to 150GB in 5GB increments, with support for notifications, high availability, and up to ten named caches

You can scale the cache memory of a cache up or down, and you can also scale to a new cache offering.

noteNote
When you increase or decrease cache memory or change cache offerings, you are changing the price you pay for caching. For more information, see Cache Pricing.

In this section

Scale Cache Memory

Cache memory is purchased and configured in units. Basic caches have 128MB units, Standard caches have 1GB units, and Premium caches have 5GB units. When you increase or decrease cache memory, the memory scales in terms of these units. The Cache Memory slider on the Scale tab for Cache shows the amount of memory currently allocated, and the amount of memory available for scaling. Cache memory is increased or decreased by adjusting this slider.

To Increase Cache Memory

On the Scale tab for Cache in the , move the Cache Memory slider to the desired increased memory setting, and click Save. It takes a few moments for the new cache memory size to be saved.

If you require more capacity than the current cache offering, see the following Scale Cache Offering section in this topic.

noteNote
Data in the cache is not lost when cache memory is increased.

To Decrease Cache memory

On the Scale tab for Cache in the , move the Cache Memory slider to the desired decreased memory setting, and click Save. It takes a few moments for the new cache memory size to be saved. When decreasing cache memory, you can only decrease the memory by two units at a time. If you need to decrease the cache memory by more than two units, you must perform this procedure multiple times until the desired cache memory size is configured.

If you require less capacity than the current cache offering, see the following Scale Cache Offering section in this topic.

ImportantImportant
Data in the cache may be lost when cache memory is decreased, depending on the amount of data in the cache and how the data is distributed across the cache. You can check the usage of the cache by viewing Memory Used % and other metrics on the cache dashboard. If your cache is running close to capacity then for best performance it is not recommended to decrease cache memory. For more information, see Monitor Azure Managed Cache Service.

Scale Cache Offering

If you need more or less cache memory than available in the current cache offering, or you require features not found in your current cache offering, you can scale your cache to a different cache offering.

To Change Cache Offering

On the Scale tab for Cache in the , select the desired cache offering from the Cache Offering drop-down, and click Save.

ImportantImportant
All items in the cache are lost when the cache offering is changed. It can take a few minutes for the new cache offering to be applied, and during this interval cache clients will still have access to the previous cache offering. When the new cache offering is ready to come online, there may be a very brief interval during the switchover where cache clients can't connect.

See Also

Fællesskabsindhold

Tilføj
Vis:
© 2014 Microsoft