1 / 24

Building Scalable Cloud Applications

Building Scalable Cloud Applications. David Aiken Windows Azure Technical Specialist Microsoft Corporation. If the number of users/tasks in increases, can your application handle that?. 1. Scale out. Load Balancer. Web Server. Web Server. Capability: 1000 requests/sec.

reegan
Télécharger la présentation

Building Scalable Cloud Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building Scalable Cloud Applications David Aiken Windows Azure Technical Specialist Microsoft Corporation

  2. If the number of users/tasks in increases, can your application handle that?

  3. 1 Scale out

  4. LoadBalancer Web Server Web Server Capability: 1000 requests/sec Capability: 1000 requests/sec State

  5. Scaling Out with Windows Azure demo

  6. LoadBalancer Web Server Web Server Capability: 1000 requests/sec Capability: 1000 requests/sec State

  7. 1 Instance versus 5 Instances

  8. Load Test 1000 Users 1 Instance 5 Instances Max User Load 600 Tests/Sec 13.9 Tests Failed 0 Avg. Test Time (sec) 21.1 Pages/Sec 43.5 Avg. Page Time (sec) 1.61 Requests/Sec 246 Requests Failed 0 Avg. Response Time (sec) 0.32 • Max User Load 600 • Tests/Sec 1.69 • Tests Failed 371 • Avg. Test Time (sec) 90.9 • Pages/Sec 5.43 • Avg. Page Time (sec) 34.3 • Requests/Sec 33.8 • Requests Failed 583 • Avg. Response Time (sec) 5.57

  9. 1 Scale out Decouple tasks 2

  10. Web Role Blob Storage

  11. Web Role Worker Role Q Blob Storage

  12. Scaling Out with Worker Roles demo

  13. Web Role Worker Role Q Blob Storage

  14. 1000 runs

  15. 1 Scale out Decouple tasks 2 3 Cache static content

  16. * We don’t actually have endpoints in these places.

  17. Serve Content from the Edge 24 global locations with 99.95% availability CDN now works for web apps, not just for public blobs Possibly many hops or poor links Few hops CDN Blob Storage Closest Point of Presence Public container X X Blob header determines time-to-live at the edge DNS name resolves to closest POP

  18. Scaling Out with the CDN demo

  19. 1 Scale out Decouple tasks 2 3 Cache static content 4 Scale across data centers

  20. Windows Azure Traffic Manager Traffic Manager foo-us.cloudapp.net www.foo.net foo-europe.cloudapp.net Policies Monitoring DNS response 1.2.3.4 foo-asia.cloudapp.net

  21. Scaling Out with Traffic Manager demo

  22. Summary 1 Scale out – Tell us how many, we do the rest! Use Workers and Queues to decouple expensive tasks 2 3 Use the CDN to cache static content 4 Use Traffic Manager to scale out across datacenters 5 Use Data Sync to synchronize data between datacenters

More Related