Content deleted Content added
m →Related Caching Technologies: Fixed Windows Azure Caching link |
Added an External Links Section |
||
Line 8:
* ''Co-located''<ref name=CachingColocated>{{cite web|title=Windows Azure Caching on Existing Roles|url=http://msdn.microsoft.com/en-us/library/hh914128.aspx|work=MSDN Library|publisher=Microsoft|accessdate=13 February 2013}}</ref>
===Dedicated
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.
Line 17:
A dedicated topology has the advantage of scaling the caching tier independently of any other role in the cloud service<ref name=CachingCacheCluster>{{cite web|title=About Windows Azure Caching, Cache Cluster|url=http://msdn.microsoft.com/en-us/library/hh914161.aspx#Concept_CacheClusters|work=MSDN Library|publisher=Microsoft|accessdate=13 February 2013}}</ref>. For the best Caching performance, a dedicated topology is recommended because the role instances do not share their resources with other application code and services<ref name=CachingDedicated/>.
===Co-located
In a co-located topology, you use a percentage of available memory on existing web or worker roles for Caching<ref name=CachingColocated/>.
Line 29:
The following sections show Windows Azure Caching configuration and code examples.
===Configuration
In [[Visual_Studio|Visual Studio]], Caching is configured in the Caching tab of the properties of the role that hosts Caching<ref name=CachingHowToGuide>{{cite web|title=How to Use Windows Azure Caching|url=http://www.windowsazure.com/en-us/develop/net/how-to-guides/cache/|work=Windows Azure Website|publisher=Microsoft|accessdate=13 February 2013}}</ref>. This makes underlying changes to the ServiceConfiguration.cscfg file<ref name=CachingCsCfg>{{cite web|title=Windows Azure Caching Role Configuration Settings (ServiceConfiguration.cscfg)|url=http://msdn.microsoft.com/en-us/library/jj658975.aspx|work=MSDN Library|publisher=Microsoft|accessdate=13 February 2013}}</ref>. These settings determine the topology used (dedicated or co-located) and the number of named caches<ref name=NamedCaches>{{cite web|title=About Windows Azure Caching, Named Caches|url=http://msdn.microsoft.com/en-us/library/hh914161.aspx#Concept_NamedCaches|work=MSDN Library|publisher=Microsoft|accessdate=13 February 2013}}</ref> and their settings.
Line 42:
</syntaxhighlight>
===Code
''Note that the code samples in this section are shown in [[C_Sharp_(programming_language)|C#]].''
Line 96:
In October 2012, support was added for hosting Caching on roles within a cloud service deployment<ref name=CachingRelNotes>{{cite web|title=Windows Azure Caching Release Notes (October 2012)|url=http://msdn.microsoft.com/library/jj651667.aspx|work=MSDN Library|publisher=Microsoft|accessdate=13 February 2013}}</ref>. This is now called Window Azure Caching.
==Related
Windows Azure Caching is related to other Microsoft caching technologies. These technologies share similar features, such as the assembly name, namespace, and types<ref name=CachingOnPremisesAndCloud/>. However, there are some differences. The table below describes these technologies.
Line 112:
==References==
{{Reflist}}
==External links==
* [http://msdn.microsoft.com/en-us/library/gg278356.aspx Windows Azure Caching Documentation]
* [http://www.windowsazure.com/en-us/develop/overview/ Windows Azure Developer Center]
* [http://www.windowsazure.com/en-us/develop/net/how-to-guides/cache/ How to Guide for Windows Azure Caching]
* [http://msdn.microsoft.com/en-us/library/jj189876.aspx Windows Azure Caching Samples]
* [http://msdn.microsoft.com/en-us/library/windowsazure/microsoft.applicationserver.caching Windows Azure Caching Class Library Reference]
|