Download presentation
Presentation is loading. Please wait.
Published byAmos Elliott Modified over 9 years ago
3
Setting expectations and context Architecting for scale – a web app journey to scalability Scaling ‘real-world’ applications
6
Losing Business DowntimeSlow Site
8
Scale Up – aka Vertical Scaling Increase resources capacity within existing node Scaling Options Scale Out – aka Horizontal Scaling Increase resources capacity by adding nodes
9
A web app’s journey towards scalability
10
Level 1 Level 2 Boss Level # of users >100,000 RPS >10,000 RPS >100 RPS
11
Level 1: Beginners
12
Website Database stored on local disk Session state stored in local memory Images stored on local disk* Statefull Application *Local disk should be treated as a shared resource in Azure Websites
13
Level 1 – Photo Gallery (untouched) Scale Testing Results: Scale Count Scale Size Test Duration Max User Count Avg Pages/Sec Avg Page Time (sec) Avg RPS (Visual Studio) WebSites RPS Failed Tests Total Tests Failed Tests (%) 1MED1520.271.161.7710770.0 1MED15201.96.514.21805590.0 1MED15503.4810.439.54519800.1 1MED15805.5812.551.555016390 1MED151204.9522.547.8501914461.3
14
Level 2: Experts
15
Website
16
Level 2 – Horizontally Scalable Photo Gallery Strategy:
17
Level 2 – Horizontally Scalable Photo Gallery Scale Testing Results Scale Count Scale Size Test Duration Max User Count Avg Pages/Sec Avg Page Time (sec) Avg RPS (Visual Studio) WAWS RPS Failed Tests Total Tests Failed Tests (%) 1LARGE15202.910.1323.42108490.0 1LARGE1510014.40.152327704,2470.0 1LARGE1520029.20.1496615508,5630.0 1LARGE1530043.60.242,535231012,8390.0 1LARGE151,0001410.678,135735020,5910.0 3LARGE201,5001981.3719,8551297132,7630.0 3LARGE252,0002422.1224,896154787053,4961.6
18
Configure Auto Scale Optimize Website Code Optimize SQL Add Cache Layer Use CDN for content, *.js & *.css Leverage other services Level 2 – Horizontally Scalable Photo Gallery Other improvements:
19
Level 1 Level 2 Boss Level # of users >100,000 RPS >10,000 RPS >100 RPS
20
Level 3: Like a BOSS!
21
Level 3 – Globally Scalable Photo Gallery When bad things happen to good datacenters My Site Replica (A) My Site Replica (B)
22
Gaps: Web app is ‘local’ to a single region Images stored in ‘local’ data center Database in ‘local’ data center Goals: Active / Active replication across regions Benefits: Bigger Scale Lower Latency Higher Uptime and DR Level 3 – Globally Scalable Photo Gallery Moving towards a global presence
23
Level 3 – Globally Scalable Photo Gallery Architecture: East US Website Webjob West US Website Webjob
24
Level 3 – Globally Scalable Photo Gallery Architecture: East US Website Webjob West US Website Webjob
25
Level 3 – Globally Scalable Photo Gallery Strategy: * Command Query Responsibility Segregation adds latency and app complexity West US Website Webjob
26
Level 3 – Globally Scalable Photo Gallery Words of Caution: West US Website Webjob
27
Level 1 Level 2 Boss Level # of users >100,000 RPS >10,000 RPS >100 RPS
28
Massive Scale WordPress
29
Recommended Reading
32
www.microsoft.com/learning http://developer.microsoft.com http://microsoft.com/technet http://channel9.msdn.com/Events/TechEd
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.