SlideShare una empresa de Scribd logo
1 de 1
Descargar para leer sin conexión
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

Más contenido relacionado

La actualidad más candente

EAIESB Oracle SOA Poster 2.0
EAIESB Oracle SOA Poster 2.0EAIESB Oracle SOA Poster 2.0
EAIESB Oracle SOA Poster 2.0Vijay Reddy
 
March 2013 (BMC: Marimba Roadmap)
March 2013 (BMC: Marimba Roadmap)March 2013 (BMC: Marimba Roadmap)
March 2013 (BMC: Marimba Roadmap)CM-UG.com
 
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems
Comprendre l’offre  IBM SmartCloud Foundation, Zoom sur PureSystems Comprendre l’offre  IBM SmartCloud Foundation, Zoom sur PureSystems
Comprendre l’offre IBM SmartCloud Foundation, Zoom sur PureSystems Claude Riousset
 
Recovery in database system new
Recovery in database system newRecovery in database system new
Recovery in database system newPraveen Pallav
 
Herramientas De AdministracióN
Herramientas De AdministracióNHerramientas De AdministracióN
Herramientas De AdministracióNEduardo Castro
 
Workflow Workshop 2012 Sep Leucir Marin
Workflow Workshop 2012 Sep Leucir MarinWorkflow Workshop 2012 Sep Leucir Marin
Workflow Workshop 2012 Sep Leucir Marinalipaiva
 
Hosting share pointproducts2010
Hosting share pointproducts2010Hosting share pointproducts2010
Hosting share pointproducts2010Ard van Someren
 
SOA for HR Services Delivery
SOA for HR Services DeliverySOA for HR Services Delivery
SOA for HR Services DeliveryChuck Allen
 
Linked in presentation
Linked in presentationLinked in presentation
Linked in presentationRM337
 

La actualidad más candente (14)

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

Destacado

Windows azure poster
Windows azure posterWindows azure poster
Windows azure posterLee Stott
 
Getting coding in under a hour with Imagine Microsoft
Getting coding in under a hour with Imagine MicrosoftGetting coding in under a hour with Imagine Microsoft
Getting coding in under a hour with Imagine MicrosoftLee Stott
 
Visual studio professional 2015 overview
Visual studio professional 2015 overviewVisual studio professional 2015 overview
Visual studio professional 2015 overviewLee Stott
 
Azure cloud for students and educators
Azure cloud   for students and educatorsAzure cloud   for students and educators
Azure cloud for students and educatorsLee Stott
 
Project Oxford - Introduction to advanced Manchine Learning API
Project Oxford - Introduction to advanced Manchine Learning APIProject Oxford - Introduction to advanced Manchine Learning API
Project Oxford - Introduction to advanced Manchine Learning APILee Stott
 
Setting up a WordPress Site on Microsoft DreamSpark Azure Cloud Subscription
Setting up a WordPress Site on Microsoft DreamSpark Azure Cloud SubscriptionSetting up a WordPress Site on Microsoft DreamSpark Azure Cloud Subscription
Setting up a WordPress Site on Microsoft DreamSpark Azure Cloud SubscriptionLee Stott
 

Destacado (6)

Windows azure poster
Windows azure posterWindows azure poster
Windows azure poster
 
Getting coding in under a hour with Imagine Microsoft
Getting coding in under a hour with Imagine MicrosoftGetting coding in under a hour with Imagine Microsoft
Getting coding in under a hour with Imagine Microsoft
 
Visual studio professional 2015 overview
Visual studio professional 2015 overviewVisual studio professional 2015 overview
Visual studio professional 2015 overview
 
Azure cloud for students and educators
Azure cloud   for students and educatorsAzure cloud   for students and educators
Azure cloud for students and educators
 
Project Oxford - Introduction to advanced Manchine Learning API
Project Oxford - Introduction to advanced Manchine Learning APIProject Oxford - Introduction to advanced Manchine Learning API
Project Oxford - Introduction to advanced Manchine Learning API
 
Setting up a WordPress Site on Microsoft DreamSpark Azure Cloud Subscription
Setting up a WordPress Site on Microsoft DreamSpark Azure Cloud SubscriptionSetting up a WordPress Site on Microsoft DreamSpark Azure Cloud Subscription
Setting up a WordPress Site on Microsoft DreamSpark Azure Cloud Subscription
 

Similar a Scaling applications on Azure

Dc architecture for_cloud
Dc architecture for_cloudDc architecture for_cloud
Dc architecture for_cloudAlain Geenrits
 
Virtual Desktop Infrastructure
Virtual Desktop InfrastructureVirtual Desktop Infrastructure
Virtual Desktop Infrastructurekrajav
 
Oracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureOracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureBob Rhubart
 
UML & SCRUM Workshop
UML & SCRUM WorkshopUML & SCRUM Workshop
UML & SCRUM Workshopvilaltajo
 
IaaS Resource Usage Monitoring In cloud
IaaS Resource Usage Monitoring In cloudIaaS Resource Usage Monitoring In cloud
IaaS Resource Usage Monitoring In cloudijsrd.com
 
Oracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureOracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureBob Rhubart
 
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"GlobalLogic Ukraine
 
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...IRJET Journal
 
Improving Utilization of Infrastructure Cloud
Improving Utilization of Infrastructure CloudImproving Utilization of Infrastructure Cloud
Improving Utilization of Infrastructure CloudIJASCSE
 
Evolution of netflix conductor
Evolution of netflix conductorEvolution of netflix conductor
Evolution of netflix conductorvedu12
 
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)David Rosenblum
 
Capacity Planning and Modelling
Capacity Planning and ModellingCapacity Planning and Modelling
Capacity Planning and ModellingAnthony Dehnashi
 
Cloud computing: new challenge to the entire computer industry
Cloud computing: new challenge to the entire computer industryCloud computing: new challenge to the entire computer industry
Cloud computing: new challenge to the entire computer industryStudying
 
Moving apps to the cloud 3rd edition
Moving apps to the cloud 3rd editionMoving apps to the cloud 3rd edition
Moving apps to the cloud 3rd editionDavid J Rosenthal
 
Microsoft SQL Azure - Agility in the New Economy Technical Datasheet
Microsoft SQL Azure - Agility in the New Economy Technical DatasheetMicrosoft SQL Azure - Agility in the New Economy Technical Datasheet
Microsoft SQL Azure - Agility in the New Economy Technical DatasheetMicrosoft Private Cloud
 
PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...
PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...
PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...IRJET Journal
 
S-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive AdaptationS-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive Adaptationvirtual-campus
 

Similar a Scaling applications on Azure (20)

Dc architecture for_cloud
Dc architecture for_cloudDc architecture for_cloud
Dc architecture for_cloud
 
Scaling apps using azure cloud services
Scaling apps using azure cloud servicesScaling apps using azure cloud services
Scaling apps using azure cloud services
 
Virtual Desktop Infrastructure
Virtual Desktop InfrastructureVirtual Desktop Infrastructure
Virtual Desktop Infrastructure
 
Oracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureOracle Cloud Reference Architecture
Oracle Cloud Reference Architecture
 
UML & SCRUM Workshop
UML & SCRUM WorkshopUML & SCRUM Workshop
UML & SCRUM Workshop
 
IaaS Resource Usage Monitoring In cloud
IaaS Resource Usage Monitoring In cloudIaaS Resource Usage Monitoring In cloud
IaaS Resource Usage Monitoring In cloud
 
Ec24817824
Ec24817824Ec24817824
Ec24817824
 
Oracle Cloud Reference Architecture
Oracle Cloud Reference ArchitectureOracle Cloud Reference Architecture
Oracle Cloud Reference Architecture
 
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
Java TechTalk "Spring boot made life easier with Kubernetes and Microservices"
 
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...
IRJET- In Cloud Computing Resource Allotment by using Resource Provisioning A...
 
Improving Utilization of Infrastructure Cloud
Improving Utilization of Infrastructure CloudImproving Utilization of Infrastructure Cloud
Improving Utilization of Infrastructure Cloud
 
Ijebea14 287
Ijebea14 287Ijebea14 287
Ijebea14 287
 
Evolution of netflix conductor
Evolution of netflix conductorEvolution of netflix conductor
Evolution of netflix conductor
 
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)
Software System Scalability: Concepts and Techniques (keynote talk at ISEC 2009)
 
Capacity Planning and Modelling
Capacity Planning and ModellingCapacity Planning and Modelling
Capacity Planning and Modelling
 
Cloud computing: new challenge to the entire computer industry
Cloud computing: new challenge to the entire computer industryCloud computing: new challenge to the entire computer industry
Cloud computing: new challenge to the entire computer industry
 
Moving apps to the cloud 3rd edition
Moving apps to the cloud 3rd editionMoving apps to the cloud 3rd edition
Moving apps to the cloud 3rd edition
 
Microsoft SQL Azure - Agility in the New Economy Technical Datasheet
Microsoft SQL Azure - Agility in the New Economy Technical DatasheetMicrosoft SQL Azure - Agility in the New Economy Technical Datasheet
Microsoft SQL Azure - Agility in the New Economy Technical Datasheet
 
PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...
PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...
PERFORMANCE EVALUATION OF CONTAINERIZATION IN EDGE-CLOUD COMPUTING STACKS FOR...
 
S-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive AdaptationS-CUBE LP: Online Testing for Proactive Adaptation
S-CUBE LP: Online Testing for Proactive Adaptation
 

Más de Lee Stott

Cortana intelligence suite for projects & hacks
Cortana intelligence suite for projects & hacksCortana intelligence suite for projects & hacks
Cortana intelligence suite for projects & hacksLee Stott
 
Create and manage a web application on Azure (step to step tutorial)
Create and manage a web application on Azure (step to step tutorial)Create and manage a web application on Azure (step to step tutorial)
Create and manage a web application on Azure (step to step tutorial)Lee Stott
 
Imagine at Microsoft - Resources for Students and Educators
Imagine at Microsoft - Resources for Students and EducatorsImagine at Microsoft - Resources for Students and Educators
Imagine at Microsoft - Resources for Students and EducatorsLee Stott
 
Porting unity games to windows - London Unity User Group
Porting unity games to windows - London Unity User GroupPorting unity games to windows - London Unity User Group
Porting unity games to windows - London Unity User GroupLee Stott
 
Visual Studio Tools for Unity Unity User Group 23rd Feb
Visual Studio Tools for Unity  Unity User Group 23rd FebVisual Studio Tools for Unity  Unity User Group 23rd Feb
Visual Studio Tools for Unity Unity User Group 23rd FebLee Stott
 
Unity camp london feb 2015
Unity camp london feb 2015Unity camp london feb 2015
Unity camp london feb 2015Lee Stott
 
Marmalade @include2014 Dev leestott Microsoft
Marmalade @include2014 Dev leestott MicrosoftMarmalade @include2014 Dev leestott Microsoft
Marmalade @include2014 Dev leestott MicrosoftLee Stott
 
E book Mobile App Marketing_101
E book Mobile App Marketing_101E book Mobile App Marketing_101
E book Mobile App Marketing_101Lee Stott
 
Game Republic 24th April 2014 - Maximising your app revenue
Game Republic 24th April 2014  - Maximising your app revenueGame Republic 24th April 2014  - Maximising your app revenue
Game Republic 24th April 2014 - Maximising your app revenueLee Stott
 
Updateshow Manchester April 2014
Updateshow Manchester April 2014Updateshow Manchester April 2014
Updateshow Manchester April 2014Lee Stott
 
Microsoft Office for Education
Microsoft Office for EducationMicrosoft Office for Education
Microsoft Office for EducationLee Stott
 
Microsoft Learning Experiences Skills and Employability
Microsoft Learning Experiences Skills and Employability Microsoft Learning Experiences Skills and Employability
Microsoft Learning Experiences Skills and Employability Lee Stott
 
Game Kettle Feb 2014 Gateshead
Game Kettle Feb 2014 GatesheadGame Kettle Feb 2014 Gateshead
Game Kettle Feb 2014 GatesheadLee Stott
 
GamesWest 2013 December
GamesWest 2013 December GamesWest 2013 December
GamesWest 2013 December Lee Stott
 
Microsoft Graduate Recuirtment postcard
 Microsoft Graduate Recuirtment postcard Microsoft Graduate Recuirtment postcard
Microsoft Graduate Recuirtment postcardLee Stott
 
Microsoft 2014 Graduate brochure
Microsoft 2014 Graduate brochureMicrosoft 2014 Graduate brochure
Microsoft 2014 Graduate brochureLee Stott
 
Designing beautiful windows phone games
Designing beautiful windows phone gamesDesigning beautiful windows phone games
Designing beautiful windows phone gamesLee Stott
 
Microsoft Nokia developer programmes and opportunity
Microsoft Nokia developer programmes and opportunityMicrosoft Nokia developer programmes and opportunity
Microsoft Nokia developer programmes and opportunityLee Stott
 
Marmalade & Windows Phone 8
Marmalade & Windows Phone 8Marmalade & Windows Phone 8
Marmalade & Windows Phone 8Lee Stott
 
6 Top Tips for Marketing Success for Your Apps
6 Top Tips for Marketing Success for Your Apps6 Top Tips for Marketing Success for Your Apps
6 Top Tips for Marketing Success for Your AppsLee Stott
 

Más de Lee Stott (20)

Cortana intelligence suite for projects & hacks
Cortana intelligence suite for projects & hacksCortana intelligence suite for projects & hacks
Cortana intelligence suite for projects & hacks
 
Create and manage a web application on Azure (step to step tutorial)
Create and manage a web application on Azure (step to step tutorial)Create and manage a web application on Azure (step to step tutorial)
Create and manage a web application on Azure (step to step tutorial)
 
Imagine at Microsoft - Resources for Students and Educators
Imagine at Microsoft - Resources for Students and EducatorsImagine at Microsoft - Resources for Students and Educators
Imagine at Microsoft - Resources for Students and Educators
 
Porting unity games to windows - London Unity User Group
Porting unity games to windows - London Unity User GroupPorting unity games to windows - London Unity User Group
Porting unity games to windows - London Unity User Group
 
Visual Studio Tools for Unity Unity User Group 23rd Feb
Visual Studio Tools for Unity  Unity User Group 23rd FebVisual Studio Tools for Unity  Unity User Group 23rd Feb
Visual Studio Tools for Unity Unity User Group 23rd Feb
 
Unity camp london feb 2015
Unity camp london feb 2015Unity camp london feb 2015
Unity camp london feb 2015
 
Marmalade @include2014 Dev leestott Microsoft
Marmalade @include2014 Dev leestott MicrosoftMarmalade @include2014 Dev leestott Microsoft
Marmalade @include2014 Dev leestott Microsoft
 
E book Mobile App Marketing_101
E book Mobile App Marketing_101E book Mobile App Marketing_101
E book Mobile App Marketing_101
 
Game Republic 24th April 2014 - Maximising your app revenue
Game Republic 24th April 2014  - Maximising your app revenueGame Republic 24th April 2014  - Maximising your app revenue
Game Republic 24th April 2014 - Maximising your app revenue
 
Updateshow Manchester April 2014
Updateshow Manchester April 2014Updateshow Manchester April 2014
Updateshow Manchester April 2014
 
Microsoft Office for Education
Microsoft Office for EducationMicrosoft Office for Education
Microsoft Office for Education
 
Microsoft Learning Experiences Skills and Employability
Microsoft Learning Experiences Skills and Employability Microsoft Learning Experiences Skills and Employability
Microsoft Learning Experiences Skills and Employability
 
Game Kettle Feb 2014 Gateshead
Game Kettle Feb 2014 GatesheadGame Kettle Feb 2014 Gateshead
Game Kettle Feb 2014 Gateshead
 
GamesWest 2013 December
GamesWest 2013 December GamesWest 2013 December
GamesWest 2013 December
 
Microsoft Graduate Recuirtment postcard
 Microsoft Graduate Recuirtment postcard Microsoft Graduate Recuirtment postcard
Microsoft Graduate Recuirtment postcard
 
Microsoft 2014 Graduate brochure
Microsoft 2014 Graduate brochureMicrosoft 2014 Graduate brochure
Microsoft 2014 Graduate brochure
 
Designing beautiful windows phone games
Designing beautiful windows phone gamesDesigning beautiful windows phone games
Designing beautiful windows phone games
 
Microsoft Nokia developer programmes and opportunity
Microsoft Nokia developer programmes and opportunityMicrosoft Nokia developer programmes and opportunity
Microsoft Nokia developer programmes and opportunity
 
Marmalade & Windows Phone 8
Marmalade & Windows Phone 8Marmalade & Windows Phone 8
Marmalade & Windows Phone 8
 
6 Top Tips for Marketing Success for Your Apps
6 Top Tips for Marketing Success for Your Apps6 Top Tips for Marketing Success for Your Apps
6 Top Tips for Marketing Success for Your Apps
 

Último

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Último (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

Scaling applications on Azure

  • 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