Windows Azure Caching
Pavlo Revenkov
EPAM Cloud Computing Competency Center
Email: pavlo_revenkov@epam.com
Skype: rp_risingstar
Caching services 2
CDN
• Delivering a “heavy” content closer to end user
Caching
• Storing frequently accessed data closer to Windows Azure application:
• Dedicated role
• Co-location
Shared caching
• Dedicated multi-tenant service
Blob
Content Delivery Network 3
Blob
Main characteristics 4
Dedicated endpoint
• To work through the CDN you need to change storage services
endpoint to CDN endpoint.
Dedicated billing
• CDN usage is billable separately from storage services billing
World wide
• More than 20 CDN datacenters around the world
Content Delivery Network
CDN datacenters 5
Caching 6
Two configuration models:
• Dedicated role
• Co-location
“Pay-as-you-go” only for compute resources
Several logical named caches
Ability to store session state and page output objects
Caching
7Visual Studio configuration
else
{
cache.Put(object);
}
var cacheFactory = new DataCacheFactory();
var cache = cacheFactory.GetDefaultCache();
var сache = cacheFactory.GetCache("mycache");
var item = cache.Get("item");
if (item == null)
{
cache.Add("item", object);
}
8Workflow
Demo 9
References 10
How to use Windows Azure Caching
• https://www.windowsazure.com/en-us/develop/net/how-to-guides/cache/
Using Windows Azure CDN
• https://www.windowsazure.com/en-us/develop/net/common-tasks/cdn/
Differences between caching on-premises and in the cloud
• http://msdn.microsoft.com/en-us/library/windowsazure/gg185678.aspx
Questions? 11

Windows Azure Caching

  • 1.
    Windows Azure Caching PavloRevenkov EPAM Cloud Computing Competency Center Email: pavlo_revenkov@epam.com Skype: rp_risingstar
  • 2.
    Caching services 2 CDN •Delivering a “heavy” content closer to end user Caching • Storing frequently accessed data closer to Windows Azure application: • Dedicated role • Co-location Shared caching • Dedicated multi-tenant service
  • 3.
  • 4.
    Main characteristics 4 Dedicatedendpoint • To work through the CDN you need to change storage services endpoint to CDN endpoint. Dedicated billing • CDN usage is billable separately from storage services billing World wide • More than 20 CDN datacenters around the world
  • 5.
  • 6.
    Caching 6 Two configurationmodels: • Dedicated role • Co-location “Pay-as-you-go” only for compute resources Several logical named caches Ability to store session state and page output objects
  • 7.
  • 8.
    else { cache.Put(object); } var cacheFactory =new DataCacheFactory(); var cache = cacheFactory.GetDefaultCache(); var сache = cacheFactory.GetCache("mycache"); var item = cache.Get("item"); if (item == null) { cache.Add("item", object); } 8Workflow
  • 9.
  • 10.
    References 10 How touse Windows Azure Caching • https://www.windowsazure.com/en-us/develop/net/how-to-guides/cache/ Using Windows Azure CDN • https://www.windowsazure.com/en-us/develop/net/common-tasks/cdn/ Differences between caching on-premises and in the cloud • http://msdn.microsoft.com/en-us/library/windowsazure/gg185678.aspx
  • 11.