In-Role Cache for Azure Cache
Updated: July 17, 2010
|For guidance on choosing the right Azure Cache offering for your application, see Which Azure Cache offering is right for me?.|
In-Role Cache allows you to host caching within your roles. This cache can be used by any roles within the same cloud service deployment.
There are two main deployment topologies for In-Role Cache: dedicated and co-located. In the dedicated topology, you define a worker role that is dedicated to caching. This means that all of the worker role's available memory is used for the caching and operating overhead. In a co-located topology, you use a percentage of available memory on application roles for caching. For example, you could assign 20% of the physical memory for caching on each web role instance. In both cases, you only pay for the Compute services required for the running role instances. For more information, see In-Role Cache FAQ (Azure Cache).
In This Section