Windows Azure Conference 2014 Caching Data in the Cloud with Windows Azure
Windows Azure Conference 2014 Agenda What is Windows Azure Cache ? Why do I need Cache ? What can I cache ? Windows Azure Cache Service (preview) Key differences Cache features Client applications Diagnostics Key takeaways Demo
Windows Azure Conference 2014 What is Windows Azure Cache? A distributed, in-memory, flexible cache for all data types that can be used to speed up Windows Azure applications and reduce database load. Basically, cache helps your app become faster. Azure Cache
Windows Azure Conference 2014 Why do I need cache? Web tier Data tier Load on server increases with users Add a load balancer and more web instances Continue to scale out the web and BI tiers DB load starts to increase, becomes the bottleneck LB BI tier
Windows Azure Conference 2014 Why do I need cache? Data tier Cache Improve application performance Cache tier LB Reduce load on DB Web tier BI tier
Windows Azure Conference 2014 Airline seating charts Inventory management system Game leaderboards Performance counters Weather Stock quotes Session state Shopping cart Game scores and state Social feeds Query output results Session state Shopping cart Game scores and state Social feeds Query output results Product catalogs Employee data User profiles Images Product catalogs Employee data User profiles Images What can I cache? Activity Data Read/Write, created and maintained during a user session Reference Data Read-heavy, changes infrequently Resource Data Read/Write, common resource accessed by multiple users
Windows Azure Conference 2014 Windows Azure Cache Offerings cloud Windows Azure Shared Caching Windows Azure In-Role Cache (SDK) Windows Azure Cache Service (preview)
Windows Azure Conference 2014 Key differences Cache Service (Preview) In-role cacheShared Azure Caching Pricing modelMemory basedVM basedMemory based SLASLA backedOnly on VMsSLA backed Dedicated infraYes No High availabilityYes No Throttling/QuotaNo Yes Size of cache128 MB to 150 GB*1 GB to 350 GB128 MB to 4 GB LatencySub-millisecond ~5 ms VM supportYesNoYes Websites supportYesNoYes
Windows Azure Conference 2014 Cache features Resilient to Azure updates High availability Scalable cache Local cache Notifications Regions and Tags
Windows Azure Conference 2014 Cache features Get/Put API variations Pessimistic and optimistic locking support Zero code ASP.NET session state and output cache support Zero code change migration for.Net based memcache apps On-wire compression Custom serialization
Windows Azure Conference 2014 Client applications NUGET package Client configuration --> Emulator
Windows Azure Conference 2014 Diagnostics Only client side logs are available to users PaaS – No change in logging. Client side logs still go to storage. IaaS – Same as on-premises. Logs are collected manually via logman command. WebSites – No access to WebSites VM. Logging relies on.Net tracing.
Windows Azure Conference 2014 Demo Portal overview Cache Client application
Windows Azure Conference 2014 Key takeaways Microsoft managed, Dedicated infra, SLA backed Breadth support – Cloud Services – Azure Websites – Azure Virtual Machines Full parity with in-role cache (SDK)
Windows Azure Conference 2014 Customer Interaction Zone (CiZ) Any question on Anything Azure! Book your slot the registration desk at the CiZ Ask the Experts GBR Day 1 5:15 PM
Windows Azure Conference 2014