PerformanceScalability Customer Advisory Team (CAT) Engagement Scenario Windows Azure web application Tracks election results during local and national.

Slides:



Advertisements
Similar presentations
Connected clients & continuous services Line of Business Application Event Aggregator Team Sharepoint Site … Household Appliance Phone, Tablet, PC Point.
Advertisements

Windows Azure Mobile Services Matt Milner
Mark Simms Principal Program Manager Windows Azure Customer Advisory Team.
ManageEngine TM Applications Manager 8 Monitoring Custom Applications.
Overview Of Microsoft New Technology ENTER. Processing....
Inside Windows Azure Virtual Machines Vijay Rajagopalan Microsoft Corporation.
Deep Dive into Windows Azure Virtual Machines – From Cloud Vendor and Enterprise Perspective Vijay Rajagopalan Principal Lead Program Manager Microsoft.
MABS - Key Tenets & Concepts Customer Focus on Solutions Scalable, Secure & Reliable Managed by Microsoft Secure & Isolated environment Predictable.
VMware vCenter Server Module 4.
Capacity Planning in SharePoint Capacity Planning Process of evaluating a technology … Deciding … Hardware … Variety of Ways Different Services.
Sitefinity Performance and Architecture
Diagnostics.wadcfg Web/app.config Wad-control-container IsDefault=True Deploy CSPKG.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Visual Studio Load Test Web Service Test Agent Pool - Dynamic Results database Worker Azure Blobs Azure Tables.
Windows Azure Rugby Tickets On-Premises Existing Systems of Record.
4/20/2017 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Boston Bootcamp April 27 th, 2013 Azure Websites Udaiappa Ramachandran ( Udai

DNN Performance & Scalability Planning, Evaluating & Improving : Part 1.
Austin code camp 2010 asp.net apps with azure table storage PRESENTED BY CHANDER SHEKHAR DHALL
Your First Azure Application Michael Stiefel Reliable Software, Inc.
Windows Azure Conference 2014 Deploy your Java workloads on Windows Azure.
Microsoft Azure SoftUni Team Technical Trainers Software University
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Perfmon and Profiler 101.
Delivered as a Service – VS Online -> Azure Portal Preview VSIX integration with VS 2013 Reduce mean time to detect problems Reduce mean time to resolve.
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Understand your end-users and your app with Application Insights.
Grigori Melnik, Fernando Simonazzi Microsoft patterns & practices patterns & practices symposium 2013 Autoscaling in Windows Azure aka.ms/autoscaling.
Virtual techdays INDIA │ November 2010 AppFabric Cache Jatin Kakkar │ Sr. Program Manager, AppFabric.
Terminal Services Technical Overview Olav Tvedt TVEDT.info Microsoft Speaker Community
Windows Azure Conference 2014 Caching Data in the Cloud with Windows Azure.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Cloud computingNew technology enabled value opportunities Compete velocity Direct-to-consumerMobility and devices proliferation Business modernization.
Windows Azure Cloud & Building Block Services Haishi Bai Technical Evangelist Microsoft.
Windows Azure Cloud Services Anton Boyko.NET developer.
Microsoft Confidential Automation Query, Manage and Configure Windows Azure resources (VMs, Cloud Services, Websites, Storage, Queues, Databases etc…)
 Mike Martin  Architect  MEET Member  Crew Member of Azug  Windows Azure Insider  Windows Azure MVP  
Windows Azure Custom Software Development Mobile Middleware Windows Azure Compute Dipl.-Ing. Damir Dobric Lead Architect daenet
Azure in a Day Training: Windows Azure Module 1: Windows Azure Overview Module 2: Development Environment / Portal – DEMO: Signing up for Windows Azure.
MAINFRA ME Line of Business MS DYNAMICS CRM.
MGT305 - Application Management in Private and Public Clouds Sean Christensen Senior Product Marketing Manager Microsoft Corporation MGT305.

ACCELERATE INNOVATIONS USING CLOUD DIFFERENTIATE WITH DESIGN AND USER EXPERIENCE DELIVER SCALE AND AGILITY TO THE CLOUD. THE RIGHT WAY. What we do at.
Building Cloud Solutions Presenter Name Position or role Microsoft Azure.
Integration choices 3 Connect your Existing apps to the cloud Build out your business without building new datacenters Run existing integrations in.
(re)-Architecting cloud applications on the windows Azure platform CLAEYS Kurt Technology Solution Professional Microsoft EMEA.
Windows Azure Boot CampWindowsAzureBootCamp.com. Windows Azure Boot CampWindowsAzureBootCamp.com.
Building web applications with the Windows Azure Platform Ido Flatow | Senior Architect | Sela | This session.
Windows Azure and iOS Chris Risner Windows Azure Technical Evangelist Microsoft
The changing cloud continuum COST-EFFICIENCY Simpler Management PaaS SaaS platform as a service software as a service IaaS infrastructure.
 Cloud Computing technology basics Platform Evolution Advantages  Microsoft Windows Azure technology basics Windows Azure – A Lap around the platform.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
Brian Blanchard Web: Oakwoodsys.com Blog: aka.ms/BrianBlanchard.
Cloud computingNew technology enabled value opportunities Compete velocity Direct-to-consumerMobility and devices proliferation Business modernization.
Deploying Web Application
Lead SQL BankofAmerica Blog: SQLHarry.com
Distributed Cache Dipl.-Ing. Damir Dobric Lead Architect daenet
Exam VCE Questions
PaaS - Development Stefan Geiger Gerry
Chapter 12: Automated data collection methods
TechEd /14/2018 6:05 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /14/2018 6:26 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Module 1–Windows AppFabric Cache
TechEd /18/ :08 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Windows Azure Web Sites & On-Premises Connectivity
TechEd /3/ :48 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
5 Azure Services Every .NET Developer Needs to Know
Cloud-powered Load Testing with Team Foundation Service
TechEd /7/2019 1:38 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
“RedFlag is frequently used to communicate urgent information
SharePoint 2013 Best Practices
Presentation transcript:

PerformanceScalability

Customer Advisory Team (CAT) Engagement Scenario Windows Azure web application Tracks election results during local and national elections Problem – Scalability State primary elections pushed the limits of the SQL Database Each web page made an average of 10 database calls SQL Database begins to experience soft (slowness) and hard (exceptions) throttling Upcoming presidential election could overwhelm the database (millions of views in a peak hour)

Solution: Windows Azure Caching Windows Azure Caching added to application Database was only updated as results came in (every minutes) Results were loaded into the cache The web front end accessed the cache for the results Result Decreased calls to the database Improved performance Improved scalability Fast time-to-solution Success on election night!

Co-located Dedicated Shared

Cache

Host caching on a dedicated role in your cloud service Cache

ASP.NET Providers ConfigureCode

Caching Memory default NamedCache1 (HA) NamedCache2 (>TTL)

Cache Web.Config Assemblies

<localCache isEnabled="true" sync="TimeoutBased" objectCount="100000" ttlValue="300" /> // using Microsoft.ApplicationServer.Caching DataCache cache = new DataCache(); cache = new DataCache("default"); cache = new DataCache("default", "default"); cache = new DataCache("default", "customClient");

DataTable table = new DataTable("AnyTable"); cache.Put("Table1", table); DataTable table = null; object objTable = cache.Get("Table1"); if (objTable != null) table = (DataTable)objTable; cache.Remove("Table1");

Session.Add("Table1", table); object objTable = Session["Table1"];

Local Cache High Availability RegionsNotifications

Cache

cache.CreateRegion(“CustomRegion"); cache.Put(“key”, object, “CustomRegion”);

// Create a custom region cache.CreateRegion("CustomRegion"); // Use custom tagging List tags = new List (); tags.Add(new DataCacheTag("customtag1")); cache.Put("key1", "object1", "CustomRegion"); cache.Put("key2", "object2", tags, "CustomRegion"); cache.Put("key3", "object3", tags, "CustomRegion"); IEnumerable > returnedObjects = cache.GetObjectsByTag(tags[0], "CustomRegion"); // Clear all objects in a region cache.ClearRegion("CustomRegion");

Cache

Cache NotificationPoll

Cache AddCacheLevelCallback Region AddRegionLevelCallback Item AddItemLevelCallback DataCacheOperations: AddItem, ClearRegion, CreateRegion, RemoveItem, RemoveRegion, ReplaceItem

Co-located Planner Dedicated Planner Deployment Topology Cache Requirements

Amount of data to be cached Average size of objects Number of objects Frequency of reads/writes Bandwidth of VM Size Cache Performance Caching Features such as Regions and HA

Requirements Data size Bandwidth Peak Load Buffer Bandwidth Rolling Updates Cache Cluster Configurations VM Size Instance Count Upgrade Domains

MonitorConfigureDeploy Diagnostic Level

Provides a single setting for cache servers and clients that configures collection levels for logs, traces, performance counters, and crash dumps Diagnostic LevelDiagnostic Data Collected 0Very critical/catastrophic server logs only 1 (default)Diagnostic data that helps in assessing usage patterns, health of the cache system, and any potential errors 2Diagnostic data at fine grain granularity of all requests and important system information 3Diagnostic data with more verboseness and system information 4Highest verbosity logs for all requests and system information

DiagnosticLevel Configures cache cluster diagnostic settings ClientDiagnosticLevel Configures cache client diagnostic settings Configuring Set in ServiceConfiguration.cscfg or in portal Can be updated at runtime Starting Data Collection Add code to role startup to enable diagnostic collection If not done, no diagnostics are collected

Cache Server Diagnostic Level Cache Client Diagnostic Level

Performance Counters View in Portal Download from configured storage Traces, Log files, and Crash Dumps Download from configured storage Increase Diagnostic Level in response to issues Deploy new cscfg Update in portal

Configuration A dedicated Caching topology is recommended Cache different types of data strategically: Multiple configuration sections for different cache client settings (local cache, timeouts, etc.) Multiple named caches for different cache settings (high availability, notifications, ttl, etc.) Features Local cache trade-offs: Fastest performance Stale data (use notification base invalidation to compensate) Client memory pressure

Features (continued) High availability trade-offs: More durable cached data 2 times the writes (memory / performance) Regions trade-offs: Supports organization, tagging, and searching Regions live on one cache server Capacity planning Use the capacity planning spreadsheet Diagnostics: Start at Level 1 and increase as needed for troubleshooting

Session Objective(s) To review Caching value for Windows Azure cloud services To focus on Caching configuration and programming examples To understand the capacity planning tool To understand diagnostics options Caching is easy to add/use in cloud services Caching has deep configuration/API model Understand capacity planning and diagnostics options

Documentation How to guide Samples NFL Standings Demo Capacity Planning MSDN Caching Forum

Drop by the Windows Azure booth to participate in the Windows Azure Challenge for even more prizes! MSDN Subscribers: you’ve got it, now use it Activate your MSDN Benefit & try it by 9/30 You could win* an Aston Martin V8 Vantage! Go to:

Windows Enterprise: windows.com/enterprisewindows.com/enterprise