Recusos      CapacidadeCAPACIDADE                 Poucos recursos     disponíveis    Prevista             Demasiados      ...
Capacidade                         Escalabilidade        Capacidade on        Prevista                                    ...
Escalabilidade    Custos
Packaged                      Infrastructure                         Platform                            Software         ...
Fabric Controller   Fabric Controller   Fabric Controller    Datacenter          Datacenter          Datacenter
Aggregation                             Routers and                            Load Balancers                             ...
Aggregation                                          TOR Routers andLoad Balancers                        Agg             ...
SQL     ExchangeWord                                 SQL Azure                Server    Online       Server               ...
WindowsImage Repository          Fabric Controller            Deployment                                                  ...
Role B                                           Worker Rolewww.mycloudapp.net                            Count: 2        ...
Nó físico                                 Guest           Guest                    Guest Partition                        ...
Role B                                           Worker Rolewww.mycloudapp.net                            Count: 2        ...
Fault Domain                     Fault Domain      Rack                             Rack    Web Role                      ...
Front-         Middle           End-1           End-2          Tier-3                          Tier-1                     ...
Production VIP – VIP1                   Staging VIP – VIP2       <dnsname>.cloudapp.net                  <guid>.cloudapp.n...
Tamanho da                                            Largura de                 CPU        Memória   Local Storage  Instâ...
”volátil”
hora de relógio
FE               FE                  FE                                     Partition                                     ...
Incoming Write Request                           AckFE               FE               FE                  FE              ...
AccountServerDatabase
Três     Uma        Base de DadosBase de Dados       Físicas    Lógica                    Primary                   Second...
Client LayerInfrastructure Layer
Client LayerPHP                  ASP.NET               WCF Data Services      OBDC                               ADO.NET  ...
TDS       Services         LayerSessão Gateway TDS
Platform Layer         Node 14       SQL Instance         SQL DBUser   User         User   UserDB1    DB2          DB3    ...
Apps use standard SQL client                                      Application                                             ...
%d
1310758 7 6 5 4 3 2 1 0
select     sum(reserved_page_count)*8.0/1024 AS [Storage_in_MB]fromsys.dm_db_partition_stats
select    highest_cpu_queries.total_worker_time,    q.text AS [Query_Text],    highest_cpu_queries.plan_handlefrom    (sel...
select top 25    (total_logical_reads/execution_count) as avg_logical_reads,    (total_logical_writes/execution_count) as ...
Role Instance                       Diagnostic   Role                        Monitor      Local directory storage
Poll IntervalRole Instance                     Diagnostic  Role                Monitor         Local directory            ...
North Europe                        North Central                             US                                        We...
SQLAzure
SQL                                                           AzureBlog Post: Testing Client Latency to SQL Azurehttp://bl...
FromTo (ms)      North-central US South-central US   North Europe   West Europe   East Asia   South-East AsiaNorth-central...
vitorbstomaz@gmail.comhttp://twitter.com/vitortomaz
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer
Upcoming SlideShare
Loading in …5
×

[AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer

454 views

Published on

Desviei-me um pouco do título e dei mais ênfase à arquitectura dos serviços.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
454
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Slide Objectives:Explain the differences and relationship between IaaS, PaaS, and SaaS in more detail.Speaking Points:Here’s another way to look at the cloud services taxonomy and how this taxonomy maps to the components in an IT infrastructure. Packaged SoftwareWith packaged software a customer would be responsible for managing the entire stack – ranging from the network connectivity to the applications. IaaSWith Infrastructure as a Service, the lower levels of the stack are managed by a vendor. Some of these components can be provided by traditional hosters – in fact most of them have moved to having a virtualized offering. Very few actually provide an OSThe customer is still responsible for managing the OS through the Applications. For the developer, an obvious benefit with IaaS is that it frees the developer from many concerns when provisioning physical or virtual machines. This was one of the earliest and primary use cases for Amazon Web Services Elastic Cloud Compute (EC2). Developers were able to readily provision virtual machines (AMIs) on EC2, develop and test solutions and, often, run the results ‘in production’. The only requirement was a credit card to pay for the services.PaaSWith Platform as a Service, everything from the network connectivity through the runtime is provided and managed by the platform vendor. The Windows Azure Platform best fits in this category today. In fact because we don’t provide access to the underlying virtualization or operating system today, we’re often referred to as not providing IaaS.PaaS offerings further reduce the developer burden by additionally supporting the platform runtime and related application services. With PaaS, the developer can, almost immediately, begin creating the business logic for an application. Potentially, the increases in productivity are considerable and, because the hardware and operational aspects of the cloud platform are also managed by the cloud platform provider, applications can quickly be taken from an idea to reality very quickly.SaaSFinally, with SaaS, a vendor provides the application and abstracts you from all of the underlying components.
  • Speaking Points:At PDC10 in just over a month, we will introduce several new services including: Caching and Reporting. We will also have a new CTP for the Data Sync Service and Project Dallas will be finally available. Let’s drill into these services in a bit more detail.--Speaking Points:I suspect most if not all of you in this room are familiar with the Windows Azure Platform today.Today the platform consists of a set of foundational services SQL Azure relational databaseAppFabric provides services that can be used by any apps – hosted in Windows Azure, on-premises, or hosted in another environment. Questions:How many of you are building applications for Windows Azure?How many are using SQL Azure?How many are using the Access Control service today? The Service Bus?Notes:Windows Azure StoryWe are building an open platform to run your applications in the cloud. Your apps are .NET, Java, PHP, etc. We love everyone.We are going to help you migrate your existing apps to the cloud. The cloud platform is the future. Enables scale, self-service, lowers friction, etc. We provide the best cloud platform for building new apps. (aka n-tier, web services, etc.)
  • Slide ObjectiveUse this slide to transition into an explanation of SQL Azure Database (Reporting and Data Sync will be covered later)Explain at a high level how SQL Azure worksSpeaker NotesDesign Principle of SQL Azure: Focus on combining the best features of SQL Server running at scale with low frictionSQL Azure is a high availability databaseAlways three transaction consistent replicas of the databaseOne primary replica; two slave replicasFailure of a replica will result in another replica being spun up immediately by the fabricFailure of the primary replica means a slave replica will become the primary and a new slave will spin upMinimal down timeTypically just a few dropped connectionsEasy to code for the failover scenario- if you are ding god connection management and error handling will be fineClustered index required on all tables to allow replicationNotesUseful article from SQL Azure teamhttp://msdn.microsoft.com/en-us/magazine/ee321567.aspx
  • [AzurePT] Desenvolvimento para o Windows Azure: Diferença para o developer

    1. 1. Recusos CapacidadeCAPACIDADE Poucos recursos disponíveis Prevista Demasiados recursos Capacidade Real TEMPO
    2. 2. Capacidade Escalabilidade Capacidade on Prevista Demand CAPACIDADE Não há Elasticidade recursos desperdiçados BaixoInvestimento Capacidade Real TEMPO
    3. 3. Escalabilidade Custos
    4. 4. Packaged Infrastructure Platform Software Software (as a Service) (as a Service) (as a Service) You manage Applications Applications Applications Applications You manage Data Data Data Data Runtime Runtime Runtime Runtime Managed by vendor Middleware Middleware Middleware MiddlewareYou manage Managed by vendor O/S O/S O/S O/S Managed by vendor Virtualization Virtualization Virtualization Virtualization Servers Servers Servers Servers Storage Storage Storage Storage Networking Networking Networking Networking
    5. 5. Fabric Controller Fabric Controller Fabric Controller Datacenter Datacenter Datacenter
    6. 6. Aggregation Routers and Load Balancers LB AGG LB Top of Rack Switches TOR TOR TOR TOR TOR … … … … …Power Distribution PDU PDU PDU PDU PDU Units
    7. 7. Aggregation TOR Routers andLoad Balancers Agg LB LBTop of Rack Switches … TOR TOR TOR Nodes Nodes Nodes … PDU PDU PDU Power Distribution PDU Units
    8. 8. SQL ExchangeWord SQL Azure Server Online Server Datacenter
    9. 9. WindowsImage Repository Fabric Controller Deployment Server Parent Windows Azure Role Role RoleRole PXE Maintenance OS OS ImagesImages Images Images Server Windows FC Host Azure Agent Node OS Windows Azure Hypervisor
    10. 10. Role B Worker Rolewww.mycloudapp.net Count: 2 Update Domains: 2 Size: Medium www.mycloudapp.net Load Balancer
    11. 11. Nó físico Guest Guest Guest Partition Partition Partition Role Instance Role Instance Role Instance Guest Guest Guest Agent Agent Agent Trust boundary Host Partition Image Repository (OS FC Host Agent VHDs, role ZIP files)Fabric Controller (Primary) Fabric Controller (Replica) … Fabric Controller (Replica)
    12. 12. Role B Worker Rolewww.mycloudapp.net Count: 2 Update Domains: 2 Size: Medium www.mycloudapp.net Load Balancer
    13. 13. Fault Domain Fault Domain Rack Rack Web Role Web Role U/G Domain #1 U/G Domain #2 Worker Role Worker Role U/G Domain #1 U/G Domain #2
    14. 14. Front- Middle End-1 End-2 Tier-3 Tier-1 Tier-2Front- Front-End-1 End-2Middle Middle MiddleTier-1 Tier-2 Tier-3 Update Update UpdateDomain 1 Domain 2 Domain 3
    15. 15. Production VIP – VIP1 Staging VIP – VIP2 <dnsname>.cloudapp.net <guid>.cloudapp.netPort Port Port Port Port Port 80 3389 3390 80 3389 3390 Role A Role B Role A’ Role B’ Deployment A Deployment A’
    16. 16. Tamanho da Largura de CPU Memória Local Storage Instância BandaExtra Small 1.0 GHz 768 MB 20 GB 5 Mbps Small 1.6 GHz 1.75 GB 225 GB 100 Mbps Medium 2 x 1.6 GHz 3.5 GB 490 GB 200 Mbps Large 4 x 1.6 GHz 7 GB 1,000 GB 400 MbpsExtra large 8 x 1.6 GHz 14 GB 2,040 GB 800 Mbps
    17. 17. ”volátil”
    18. 18. hora de relógio
    19. 19. FE FE FE Partition Lock Master ServicePartition Partition Partition Partition Server Server Server Server DFS Servers
    20. 20. Incoming Write Request AckFE FE FE FE FE Partition Lock Master Service Partition Partition Partition Partition Server Server Server Server DFS Servers
    21. 21. AccountServerDatabase
    22. 22. Três Uma Base de DadosBase de Dados Físicas Lógica Primary Secondary DB 1 Secondary 2
    23. 23. Client LayerInfrastructure Layer
    24. 24. Client LayerPHP ASP.NET WCF Data Services OBDC ADO.NET Tabular Data Stream (TDS)
    25. 25. TDS Services LayerSessão Gateway TDS
    26. 26. Platform Layer Node 14 SQL Instance SQL DBUser User User UserDB1 DB2 DB3 DB4 SQL Azure Fabric Node 15 SQL Instance SQL DBUser User User UserDB1 DB2 DB3 DB4 SQL Azure Fabric
    27. 27. Apps use standard SQL client Application libraries: ODBC, ADO.Net, PHP, … Internet Load balancer forwards ‘sticky’ TDS (tcp) LB sessions to TDS protocol tierTDS (tcp) Gateway Gateway Gateway Gateway Gateway GatewayTDS (tcp)SQL SQL SQL SQL SQL SQL Scalability and Availability: Fabric, Failover, Replication, and Load balancing
    28. 28. %d
    29. 29. 1310758 7 6 5 4 3 2 1 0
    30. 30. select sum(reserved_page_count)*8.0/1024 AS [Storage_in_MB]fromsys.dm_db_partition_stats
    31. 31. select highest_cpu_queries.total_worker_time, q.text AS [Query_Text], highest_cpu_queries.plan_handlefrom (select top 50 qs.plan_handle, qs.total_worker_time from sys.dm_exec_query_stats qs order by qs.total_worker_time desc) as highest_cpu_queries cross apply sys.dm_exec_sql_text(plan_handle) as qorder by highest_cpu_queries.total_worker_time desc
    32. 32. select top 25 (total_logical_reads/execution_count) as avg_logical_reads, (total_logical_writes/execution_count) as avg_logical_writes, (total_physical_reads/execution_count) as avg_phys_reads, Execution_count, sql_handle, plan_handlefrom sys.dm_exec_query_statsorder by(total_logical_reads + total_logical_writes) Desc
    33. 33. Role Instance Diagnostic Role Monitor Local directory storage
    34. 34. Poll IntervalRole Instance Diagnostic Role Monitor Local directory storage
    35. 35. North Europe North Central US West Europe SouthCentral US East Asia Southeast Asia Hosting locations within 100ms of theRegional hosting locations customer At least one hosting location can be reached within 100ms, but not two200ms Latency from 2 regionalhosting locations No points to test from or greater than 200ms latency
    36. 36. SQLAzure
    37. 37. SQL AzureBlog Post: Testing Client Latency to SQL Azurehttp://blogs.msdn.com/b/sqlazure/archive/2010/05/27/10016392.aspx
    38. 38. FromTo (ms) North-central US South-central US North Europe West Europe East Asia South-East AsiaNorth-central US 4.2 35.3 97 103.6 190.9 219.7South-central US 37.8 2.3 111.2 117.5 190 218.6 North Europe 99.8 111.8 2 20.9 283.3 312.3 West Europe 107.5 118.6 21.1 2.3 291.8 320.8 East Asia 194.5 190.8 284.2 291.7 1.6 32.6South-East Asia 223.1 219.2 312.9 320.1 32.2 1.9
    39. 39. vitorbstomaz@gmail.comhttp://twitter.com/vitortomaz

    ×