Managing Caches (Windows Azure Shared Caching)
Use the Windows Azure Management Portal to manage caches for Windows Azure Shared Caching. This topic describes common management tasks associated with Shared Caching.
|The latest Windows Azure (Preview) Management Portal does not support the cache creation or management for Shared Caching. You must switch back to the previous portal.|
Cache Management (Shared Caching)
To create and manage caches, you must go to the Cache section of the Management Portal.
On the main page of the Management Portal, click Service Bus, Access Control, & Caching at the bottom of the left pane.
In the left pane, expand Services, and then click Cache.
In the main window, you can create and manage caches. If you select an existing cache, you can see the cache details appear in the Properties window on the right side. These properties contain information that can be used to connect to and use the cache from any .NET application.
In addition, the toolbar provides other ways to interact with your cache. The View Client Configuration button brings up XML that can be used to configure the cache in an application configuration file or a web.config file. The Change Cache Size button allows you to change the cache size. See the next section on cache size for more details.
|You can only change your cache size once per day.|
When you create a cache or change its size, you have the option of setting the cache size to one of the following values:
This is the maximum amount of memory that can be used for the cache. However, it is important to understand that objects are serialized before they are placed in the cache. Serialized objects are always larger than their raw data, because they also contain type information and other metadata. Currently the amount of memory used in a cache is calculated as the size of the serialized objects in the cache rounded to the nearest 1 KB.
Each cache size also has an associated expectation on the type of network resources required. Larger caches expect that more network bandwidth is necessary to handle more objects going in and out of the cache. For more information about memory and network quotas, see Understanding Quotas for Windows Azure Shared Caching.
The Windows Azure Management Portal has several cache properties for monitoring Shared Caching.
Peak Size (this month)
Peak Size (last year)
In This Section
ConceptsAbout Windows Azure Shared Caching