Windows Azure Caching – New Capabilities in the Next Release 11/16/2018 10:52 AM AZR309 Windows Azure Caching – New Capabilities in the Next Release Shyam Seshadri Program Manager Microsoft Corporation Shyam.Seshadri@microsoft.com © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Agenda Caching 101 Introducing the new Windows Azure Caching (Preview) Demos
Session Takeaways Use caching to improve your app performance and reduce DB load New model of caching on Windows Azure is available in Preview now Faster, cheaper and easier to develop, deploy and manage
Basic caching concepts
What is Windows Azure Caching? A distributed, in-memory, flexible cache for all data types that can be used to speed up Windows Azure applications and reduce database load. Windows Azure Caching Basically, caching helps your app become faster.
Why do I need caching? Load on server increases with users LB Add a load balancer and more web instances Web tier Continue to scale out the web and BI tiers BI tier DB load starts to increase, DB becomes the bottleneck Data tier
Why do I need caching? Improve application performance LB Reduce load on DB Web tier BI tier Cache Caching tier Data tier
What can I cache? Reference Data Activity Data Resource Data Product catalogs Employee data User profiles Images Session state Shopping cart Game scores and state Social feeds Query output results Airline seating charts Inventory management system Game leaderboards Performance counters Weather Stock quotes Reference Data Read-heavy, changes infrequently Activity Data Read/Write, created and maintained during a user session Resource Data Read/Write, common resource accessed by multiple users
Flavors of in-memory caching from Microsoft Microsoft AppFabric v1.1 for Windows Server Latest version released in Dec 2011 on premise Windows Azure Shared Caching In production today cloud Windows Azure Caching (Preview) Introduced with Windows Azure SDK June 2012
Caching in Windows Azure SDK June 2012 Caching Futures Caching in Windows Azure SDK June 2012
Listening to you Raising the bar Better quota management Relax the limits and warn me before I cross them What if there were no cache quotas at all? Flexibility, control, isolation Make the service less of a black box What if you had control over cache like your app? Larger caches Give me caches bigger than 4GB How about hundreds of GB of cache? Lower cost Cache should be cheaper than $45/mo for 128MB What if you didn’t pay a premium for cache? No compromises with perf Hold the bar How about reducing latency by more than half?
Windows Azure Caching – (Preview) Introducing… Windows Azure Caching – (Preview) The new fast, feature-rich and flexible cache on Azure
Windows Azure Caching (Preview) is a new model of caching on Windows Azure where… Cache is a part of your app Cache is deployed on regular web and worker roles Cache lives inside your cloud service Cache is scaled, managed and monitored just like your app
How is the new caching model different? http://myapplication.cloudapp.net Web Role Cache 4. Web Role Worker Role Caching plugin imported on your application role(s) 2. 3. \bin\plugins\Caching \bin\plugins\RemoteAccess \bin\runtimes\diagnostics --- \ref\CachingPreview \ref\Microsoft.ServiceBus.dll 1. Cache cluster lives inside your cloud service Cache is added to a web/worker role Cache is packaged with your app Caching server bits are delivered via the SDK
Benefits of the new caching model No cache quotas or throttling Your application is the only consumer of cache. Use as much cache as your app needs, only limited by physical capacity. Isolation, Flexibility & Control Co-located and dedicated topologies allow you maximize your resources. You have as much control over cache as you do over your own application. Lower cost Pay no premium for cache. Pay only for the web/worker roles on which cache runs. In co-located, you’ve already paid for the role!
Benefits of the new caching model Easy to scale Scale cache just like you scale your app. Scale up, scale out, as often as you want. Bigger caches – 100+ GB. Great development experience Integrated Visual Studio experience to make it easy to add cache to your app. Full fidelity devfabric experience for debugging your application before deployment. Support for memcache Support for the memcache binary and text protocols for easy migration of memcache-based applications to Windows Azure.
Benefits of the new caching model Feature rich Named Caches Regions & Tags High Availability Local cache with notifications API symmetry with AppFabric Server Improved Performance The bread and butter of caching - latencies that are 4x faster than Windows Azure Shared Caching.
Deployment Topologies
Windows Azure Caching (Preview) Dedicated deployment SQL Azure WebRole1_IN0 WebRole1_IN1 WebRole1_IN2 WorkerRole1_IN0 WorkerRole1_IN1 Add a new worker role dedicated for caching Scale cache independently of your app Pay only for the compute instance CacheRole1_IN0 CacheRole1_IN1 Cache
Windows Azure Caching (Preview) WebRole1_IN0 WebRole1_IN1 WebRole1_IN2 WorkerRole1_IN0 WorkerRole1_IN1 SQL Azure Co-located deployment Use the spare resources on your existing instances for caching Scale cache with your app The compute resources have already been paid for Cache Cache
Demos - Developer Experience - Features -- Local Cache -- Tags -- High Availability
Announcement Support for memcache
Support for the memcache protocol Open and Flexible Windows Azure Caching (Preview) supports the memcache binary and text protocols and can be used with the dedicated and co-located deployments Bring your existing memcache-based application to Windows Azure! Existing .NET, Java, PHP, Node.js applications using memcache can migrate to Windows Azure easily with no changes to the caching code Better than memcached Take advantage of features like resiliency, local cache, Visual Studio and portal integration
Bringing a memcache-based app to Windows Azure Demo Bringing a memcache-based app to Windows Azure
Summary Integrated with Windows Azure Resilient Feature rich Best Cache on Windows Azure Ships with the Windows Azure SDK June ‘12 Designed to run specifically on Windows Azure, managed through the portal Integrated with Windows Azure No data loss on Patch Tuesdays or in case of node failures Resilient Build rich applications with a differentiated set of features Feature rich Great developer experience Integrated development experience in Visual Studio
Call to action Download the Windows Azure SDK June 2012 Try out the new Windows Azure Caching (Preview) http://social.technet.microsoft.com/Forums/en-us/windowsazuredata/
Related Content AAP314: AppFabric Caching: How It Works and When You Should Use It
Questions?
Track Resources @WindowsAzure @ms_teched DOWNLOAD Windows Azure Meetwindowsazure.com @WindowsAzure @ms_teched DOWNLOAD Windows Azure Windowsazure.com/ teched Hands-On Labs
Resources Learning TechNet http://northamerica.msteched.com Connect. Share. Discuss. http://northamerica.msteched.com Microsoft Certification & Training Resources www.microsoft.com/learning TechNet Resources for IT Professionals http://microsoft.com/technet Resources for Developers http://microsoft.com/msdn
Complete an evaluation on CommNet and enter to win! Required Slide Complete an evaluation on CommNet and enter to win!
MS Tag Scan the Tag to evaluate this session now on myTechEd Mobile
11/16/2018 10:52 AM © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
11/16/2018 10:52 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.