SlideShare a Scribd company logo
PLAN AND DESIGN                                                                                                                         BUILD AND DEPLOY                                                                                    RUN AND TUNE
                                                                A highly scalable application requires the use of specific patterns and practices.                                                      Cloud Services are built for scalability. Web and worker instances can be increased and             This phase contains the processes that refine the application, keep it running, and
                                                                Designing for optimal performance and scale-out is key. Use the patterns below to                                                       decreased at will. Workloads can be distributed using messaging, such as queues or                  enable scaling out (and in) as needed. Tuning your application takes time and requires
A key benefit of Windows                                        help you architect your solution and continually refine your application.                                                               Service Bus Topics.                                                                                 instrumentation and monitoring.  

Azure is creating highly                                                                                                                                                                                Tables and blobs provide massive storage capacity and SQL Database supplies relational
                                                                                                                                                                                                        capabilities. Other services such as caching can be easily integrated into a service.
                                                                                                                                                                                                                                                                                                            It’s a good practice to continually assess the metrics and balance against running costs.

scalable applications using
Cloud Services.
Applications can shrink and                                       SCALE OUT WITH SCALE UNITS                                        SAVING STATE
stretch to accommodate
changes in usage, removing                                                       VS.

the need for expensive                                                                                                                                                                                       CLIENTS
                                                                                                                                                                                                                                                                                                                                                           VISIBILITY & MONITORING
on-premises hardware.                                             Use more instances, not bigger hardware. Scale in
                                                                  and out using scale units that are easily duplicated
                                                                                                                                    The durability of a web and worker role instance is
                                                                                                                                    not assured, therefore its state (customer data,                                                                                                                                                                       Strategically instrument the app to monitor potential
                                                                  and deployed. Scale units consist of a number of                  stage in a workflow, etc.) must be saved externally.                                                                                                                                                                   bottlenecks. There are two kinds of monitoring:
A key strategy is to design                                       role instances and their support services.
                                                                                                                                    Save state to durable storage (Table, SQL Database,
                                                                                                                                                                                                                                                                                                                                                           INTERNAL: Monitoring processes inside the
                                                                  For example, a scale unit could be 3 web roles, 2                 Blobs), where other instances can resume the work.
in scale units, which are a                                       worker roles, 1 queue, and 2 SQL Database instances.
                                                                                                                                                                                                                                                                                                                                                           system is essential to determine when additional
                                                                                                                                                                                                                                                                                                                                                           scale-out is needed.
base configuration of web                                                                                                                                                                                                                                                                                                                                  EXTERNAL: Monitor the performance from outside
                                                                  DECOUPLED COMMUNICATIONS                                          CHUNKY, NOT CHATTY                                                                                                                                                                                                     the application to ensure service performance is
and worker role instances                                                                                                                                                                                                                                                                                                                                  within acceptable ranges.

with supporting services
such as data stores and                                                                                                                                                                                      LOAD BALANCER

caching.                                                          Avoid tying up valuable resources by using an
                                                                  asynchronous decoupled programming method.
                                                                  Web role instances put autonomous messages into
                                                                  a queue for pickup by worker role instances, which                Network calls require overhead for packet framing,
                                                                  continue the work. Throughput is controlled by the                serialization, processing, and so on. Rather than use                                                                                                                                                                  SCALE: BIGGER, BETTER, FASTER
                                                                                                                                                                                                                                                                                                                              WEB      WORKER    STORAGE
                                                                  number of role instances producing and processing                 "chatty" messages, batch them into fewer “chunky”                                                                                                                                        ROLE(S)   ROLE(S)
                                                                                                                                                                                                                                                                                                                                                           With visibility into the app, you can control scale
                                                                  messages. Explore using Windows Azure Service Bus                 packages. Note, however, that batching can                               WEB ROLE                                                                                                                                      with more precision. To automate, a separate
                                                                  or Storage Queues.                                                increase latency and exposure to potential data loss.                    INSTANCES                                                                                                                                     process monitors the system's vital signs. When a
                                                                                                                                                                                                                                                                                                                                                           threshold is crossed a new scale unit is deployed.

Three reasons to create                                           RETRY FOR FAULT TOLERANCE                                         CACHING
                                                                                                                                                                                                                                                                                                                                                           When a lower threshold is crossed, a scale unit
                                                                                                                                                                                                                                                                                                                                                           can be removed.

Windows Azure scalable
applications:
DEMAND PEAKS                                                      Transient errors and throttling are unavoidable in
Your app reaches thousands of users (or more)                     large-scale systems. Instead of simply failing the                Windows Azure Caching improves performance by
although usage varies, sometimes greatly.                         operation, implement a robust retry strategy across               storing recently used data for immediate reuse.
                                                                  the application to provide resiliency against failures.           Application throughput and latency are typically
DISTRIBUTED USERS AND DEVICES                                     Too many retries too quickly can add additional                   bound by how quickly data and context can be
                                                                  load, so also employ a “backoff” strategy that                    retrieved, shared, and updated.                                          MESSAGING
Your users are spread out, even around the
                                                                  allows the resource to recover by waiting after                                                                                                                                                                                                                                          AUTOMATION: SCRIPT FOR SUCCESS
globe.                                                            multiple retries.
                                                                                                                                                                                                                                                                                                                                                           Maintaining a running, highly scaled application
PARTITIONABLE WORKLOADS                                                                                                                                                                                                                                                                                                                                    involves repeating operations on a regular basis.
Your processes are divided into optimal-size                      FAN-OUT QUERIES                                                   HORIZONTAL PARTITIONING                                                                                                                                                                                                Concurrently develop a library of scripts that can
loads of work, since cloud applications scale                                                                                                                                                                                                                                                                                                              be run on multiple deployments when needed.
by adding capacity in chunks.                                                                                                                                                                                                                                                                                                                              You can manage Windows Azure services with the
                                                                                                                                                                                                                                          WORKER ROLE              WORKER ROLE              WORKER ROLE                                                    Service Management API.
 Note: Not all of these need to be present in your
 application, however, one that does not exhibit any of these
 characteristics is probably not an ideal fit.                                                                                                                                                               WORKER ROLES
                                                                                                                                    As user data increases, the need for storage
                                                                                                                                                                                                                                             TYPE: X                 TYPE: Y                TYPE: CACHE
                                                                                                                                    increases. The database must be partitioned. This
                                                                                                                                    graphic shows a horizontal partition (also known as
                                                                                                                                    a shard) where intact tables are separated into
                                                                  Database lookup logic is placed in a cloud service.               individual databases. Each user’s data can be
                                                                  To find data, that cloud service determines the                   distributed to particular databases. SQL Database
                                                                  databases to query. The query is then fanned out to               instances can also be partitioned using federation.

                                                                                                                                                                                                                                                                                                                                         !
                                                                  those databases.                                                  You can create and delete databases very quickly.
                                                                                                                                                                                                                                                                                                                                                           LOAD TESTING: GETTING LOADED
                                                                                                                                                                                                                                                                                                                                                           Load test the system with both stress tests and by
                                                                  VERTICAL AFFINITY
                                                                                                                                                                                                                                                                                                                                                           simulating real-life usage. Vary the load size to
               Plan & Design                                                                                                                                                                                                                                                                                                                               avoid surprises! Ensure that responsiveness meets
                                                                                                                                                                                                                                                                                                                                                           user requirements, and that the entire system is
                                                                                                                                                                                                                                                                                                                                                           resilient.
              Build & Deploy
                                                                                                                                    When many users access data simultaneously, traffic
                 Run & Tune                                                                                                         becomes a problem as scale increases. Design your
                                                                                                                                    processes to access exclusive partitions to minimize                     STORAGE
                                                                                                                                    traffic and resource usage.
                                                                                                                                    For example, assume databases are partitioned by
                                                                                                                                    user. Ideally all operations that access a single user's
                                                                                                                                    data are routed to a specific set of service instances.
                                                                                                                                    Those instances access a single database partition
                                                                                                                                    holding all the user's data.
                                                                                                                                                                                                                                          SQL DATABASE            TABLE STORAGE              BLOB STORAGE




                                                                Scaling Applications Using Windows Azure Cloud Services                                                                                                                                                                                                                                                                    Like it? Get it.
                                                                                                                                                                                                                                                                                                                                                                                           http://gettag.mobi
                                                                © 2013 Microsoft Corporation. All rights reserved.   Created by the Windows Azure Team     Email: AzurePoster@microsoft.com    Part no. 098-117613

More Related Content

PPTX
Private Cloud Day Session 1: Building your Private Cloud Infrastructure
PDF
CSM Bim Modelling Brochure
PPTX
Cordova kovich sargusingh
PDF
Reference architecture for community clouds
PDF
S-CUBE LP: Techniques for design for adaptation
PDF
P1153 kumar a
PDF
Database Change Management | Change Manager from Embarcadero Technologies
PDF
StruxureWare for data centers
Private Cloud Day Session 1: Building your Private Cloud Infrastructure
CSM Bim Modelling Brochure
Cordova kovich sargusingh
Reference architecture for community clouds
S-CUBE LP: Techniques for design for adaptation
P1153 kumar a
Database Change Management | Change Manager from Embarcadero Technologies
StruxureWare for data centers

What's hot (14)

PDF
EAIESB Oracle SOA Poster 2.0
PDF
March 2013 (BMC: Marimba Roadmap)
PDF
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems
PPSX
Recovery in database system new
PPTX
Herramientas De AdministracióN
PDF
Workflow Workshop 2012 Sep Leucir Marin
PDF
variable data publishing
PDF
Hosting share pointproducts2010
PDF
Commercial Offer Foundations En
PDF
BPM enabled e-governance
PDF
SOA for HR Services Delivery
PDF
Linked in presentation
PDF
Oit2010 model databases
EAIESB Oracle SOA Poster 2.0
March 2013 (BMC: Marimba Roadmap)
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems
Recovery in database system new
Herramientas De AdministracióN
Workflow Workshop 2012 Sep Leucir Marin
variable data publishing
Hosting share pointproducts2010
Commercial Offer Foundations En
BPM enabled e-governance
SOA for HR Services Delivery
Linked in presentation
Oit2010 model databases
Ad

Similar to Windows Azure Scalability (20)

PDF
Dc architecture for_cloud
PDF
Scaling apps using azure cloud services
PDF
Virtual Desktop Infrastructure
PDF
Oracle Cloud Reference Architecture
PDF
UML & SCRUM Workshop
PDF
IaaS Resource Usage Monitoring In cloud
PDF
Case Study: Embrace-IT's Migration to Azure Cloud Infrastructure
PDF
Ec24817824
PDF
Oracle Cloud Reference Architecture
PPTX
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
PDF
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...
PDF
Improving Utilization of Infrastructure Cloud
PDF
Ijebea14 287
PPTX
Evolution of netflix conductor
PPT
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)
PPTX
Capacity Planning and Modelling
PDF
Cloud computing: new challenge to the entire computer industry
PPTX
Anekacloudplatform11111111111111111.pptx
PDF
Moving apps to the cloud 3rd edition
PDF
Microsoft SQL Azure - Agility in the New Economy Technical Datasheet
Dc architecture for_cloud
Scaling apps using azure cloud services
Virtual Desktop Infrastructure
Oracle Cloud Reference Architecture
UML & SCRUM Workshop
IaaS Resource Usage Monitoring In cloud
Case Study: Embrace-IT's Migration to Azure Cloud Infrastructure
Ec24817824
Oracle Cloud Reference Architecture
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...
Improving Utilization of Infrastructure Cloud
Ijebea14 287
Evolution of netflix conductor
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)
Capacity Planning and Modelling
Cloud computing: new challenge to the entire computer industry
Anekacloudplatform11111111111111111.pptx
Moving apps to the cloud 3rd edition
Microsoft SQL Azure - Agility in the New Economy Technical Datasheet
Ad

More from David J Rosenthal (20)

PDF
Microsoft Teams Phone - Calling Made Simple
PDF
Whats New in Microsoft Teams Calling November 2021
PDF
Whats New in Microsoft Teams Hybrid Meetings November 2021
PDF
Viva Connections from Microsoft
PDF
Protect your hybrid workforce across the attack chain
PDF
Microsoft Viva Introduction
PDF
Microsoft Viva Learning
PDF
Microsoft Viva Topics
PDF
A Secure Journey to Cloud with Microsoft 365
PDF
Azure Arc Overview from Microsoft
PDF
Microsoft Windows Server 2022 Overview
PDF
Windows365 Hybrid Windows for a Hybrid World
PDF
Windows 11 for the Enterprise
PDF
Microsoft Scheduler for M365 - Personal Digital Assistant
PDF
What is New in Teams Meetings and Meeting Rooms July 2021
PDF
Modernize Java Apps on Microsoft Azure
PDF
Microsoft Defender and Azure Sentinel
PDF
Microsoft Azure Active Directory
PDF
Nintex Worflow Overview
PDF
Microsoft Power BI Overview
Microsoft Teams Phone - Calling Made Simple
Whats New in Microsoft Teams Calling November 2021
Whats New in Microsoft Teams Hybrid Meetings November 2021
Viva Connections from Microsoft
Protect your hybrid workforce across the attack chain
Microsoft Viva Introduction
Microsoft Viva Learning
Microsoft Viva Topics
A Secure Journey to Cloud with Microsoft 365
Azure Arc Overview from Microsoft
Microsoft Windows Server 2022 Overview
Windows365 Hybrid Windows for a Hybrid World
Windows 11 for the Enterprise
Microsoft Scheduler for M365 - Personal Digital Assistant
What is New in Teams Meetings and Meeting Rooms July 2021
Modernize Java Apps on Microsoft Azure
Microsoft Defender and Azure Sentinel
Microsoft Azure Active Directory
Nintex Worflow Overview
Microsoft Power BI Overview

Recently uploaded (20)

PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Cloud computing and distributed systems.
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Approach and Philosophy of On baking technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPT
Teaching material agriculture food technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
The Rise and Fall of 3GPP – Time for a Sabbatical?
20250228 LYD VKU AI Blended-Learning.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Cloud computing and distributed systems.
Network Security Unit 5.pdf for BCA BBA.
Approach and Philosophy of On baking technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Unlocking AI with Model Context Protocol (MCP)
Teaching material agriculture food technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

Windows Azure Scalability

  • 1. PLAN AND DESIGN BUILD AND DEPLOY RUN AND TUNE A highly scalable application requires the use of specific patterns and practices. Cloud Services are built for scalability. Web and worker instances can be increased and This phase contains the processes that refine the application, keep it running, and Designing for optimal performance and scale-out is key. Use the patterns below to decreased at will. Workloads can be distributed using messaging, such as queues or enable scaling out (and in) as needed. Tuning your application takes time and requires A key benefit of Windows help you architect your solution and continually refine your application. Service Bus Topics. instrumentation and monitoring.   Azure is creating highly Tables and blobs provide massive storage capacity and SQL Database supplies relational capabilities. Other services such as caching can be easily integrated into a service. It’s a good practice to continually assess the metrics and balance against running costs. scalable applications using Cloud Services. Applications can shrink and SCALE OUT WITH SCALE UNITS SAVING STATE stretch to accommodate changes in usage, removing VS. the need for expensive CLIENTS VISIBILITY & MONITORING on-premises hardware. Use more instances, not bigger hardware. Scale in and out using scale units that are easily duplicated The durability of a web and worker role instance is not assured, therefore its state (customer data, Strategically instrument the app to monitor potential and deployed. Scale units consist of a number of stage in a workflow, etc.) must be saved externally. bottlenecks. There are two kinds of monitoring: A key strategy is to design role instances and their support services. Save state to durable storage (Table, SQL Database, INTERNAL: Monitoring processes inside the For example, a scale unit could be 3 web roles, 2 Blobs), where other instances can resume the work. in scale units, which are a worker roles, 1 queue, and 2 SQL Database instances. system is essential to determine when additional scale-out is needed. base configuration of web EXTERNAL: Monitor the performance from outside DECOUPLED COMMUNICATIONS CHUNKY, NOT CHATTY the application to ensure service performance is and worker role instances within acceptable ranges. with supporting services such as data stores and LOAD BALANCER caching. Avoid tying up valuable resources by using an asynchronous decoupled programming method. Web role instances put autonomous messages into a queue for pickup by worker role instances, which Network calls require overhead for packet framing, continue the work. Throughput is controlled by the serialization, processing, and so on. Rather than use SCALE: BIGGER, BETTER, FASTER WEB WORKER STORAGE number of role instances producing and processing "chatty" messages, batch them into fewer “chunky” ROLE(S) ROLE(S) With visibility into the app, you can control scale messages. Explore using Windows Azure Service Bus packages. Note, however, that batching can WEB ROLE with more precision. To automate, a separate or Storage Queues. increase latency and exposure to potential data loss. INSTANCES process monitors the system's vital signs. When a threshold is crossed a new scale unit is deployed. Three reasons to create RETRY FOR FAULT TOLERANCE CACHING When a lower threshold is crossed, a scale unit can be removed. Windows Azure scalable applications: DEMAND PEAKS Transient errors and throttling are unavoidable in Your app reaches thousands of users (or more) large-scale systems. Instead of simply failing the Windows Azure Caching improves performance by although usage varies, sometimes greatly. operation, implement a robust retry strategy across storing recently used data for immediate reuse. the application to provide resiliency against failures. Application throughput and latency are typically DISTRIBUTED USERS AND DEVICES Too many retries too quickly can add additional bound by how quickly data and context can be load, so also employ a “backoff” strategy that retrieved, shared, and updated. MESSAGING Your users are spread out, even around the allows the resource to recover by waiting after AUTOMATION: SCRIPT FOR SUCCESS globe. multiple retries. Maintaining a running, highly scaled application PARTITIONABLE WORKLOADS involves repeating operations on a regular basis. Your processes are divided into optimal-size FAN-OUT QUERIES HORIZONTAL PARTITIONING Concurrently develop a library of scripts that can loads of work, since cloud applications scale be run on multiple deployments when needed. by adding capacity in chunks. You can manage Windows Azure services with the WORKER ROLE WORKER ROLE WORKER ROLE Service Management API. Note: Not all of these need to be present in your application, however, one that does not exhibit any of these characteristics is probably not an ideal fit. WORKER ROLES As user data increases, the need for storage TYPE: X TYPE: Y TYPE: CACHE increases. The database must be partitioned. This graphic shows a horizontal partition (also known as a shard) where intact tables are separated into Database lookup logic is placed in a cloud service. individual databases. Each user’s data can be To find data, that cloud service determines the distributed to particular databases. SQL Database databases to query. The query is then fanned out to instances can also be partitioned using federation. ! those databases. You can create and delete databases very quickly. LOAD TESTING: GETTING LOADED Load test the system with both stress tests and by VERTICAL AFFINITY simulating real-life usage. Vary the load size to Plan & Design avoid surprises! Ensure that responsiveness meets user requirements, and that the entire system is resilient. Build & Deploy When many users access data simultaneously, traffic Run & Tune becomes a problem as scale increases. Design your processes to access exclusive partitions to minimize STORAGE traffic and resource usage. For example, assume databases are partitioned by user. Ideally all operations that access a single user's data are routed to a specific set of service instances. Those instances access a single database partition holding all the user's data. SQL DATABASE TABLE STORAGE BLOB STORAGE Scaling Applications Using Windows Azure Cloud Services Like it? Get it. http://gettag.mobi © 2013 Microsoft Corporation. All rights reserved. Created by the Windows Azure Team Email: AzurePoster@microsoft.com Part no. 098-117613