Andy Robb Microsoft @AndroidRobb [email protected] Microsoft WebMatrix.
牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012 ·...
Transcript of 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012 ·...
牛可, SOLUTION ARCHITECT
Web Platform and Tools Investments Definition
Design
Development
Testing
Deployment
Operations
Application
Life-Cycle
Web Platform & Tools Investments Definition
Design
Development
Testing
Deployment
Operations
Application
Life-Cycle
AppGallery
WebPI
URLRewrite
WebMatrix
Visual Studio
IIS Express
WebDeploy
ARR
AdminPack
SEO
Antares
WebFarmFramework
Windows Server
Best Platform for .NET
• Huge innovations with
‘Dev11’ and ASP.NET
MVC 4.
• ASP.NET ‘Web Pages’
and Razor syntax.
• WebMatrix provides
simple on-ramp and
integrates deeply with
open source.
‘Just Works’ with PHP
(and node.js too!)
• First class support for
FastCGI/PHP.
• Community PHP in
Web Platform Installer,
also supports Drupal,
Joomla, WordPress.
• IISNode project now
started, visit on Github.
Embracing Web
Standards
• Standards based
Websocket support in
Windows Server 8.
• Great for async
operations and client-
driven Web apps.
• Excellent choice for
rich HTML5
applications.
Microsoft Web Stack
What We Heard From Our Customers…
I want Windows Server 8 to scale better with my hardware
I want to consolidate tenants and increase density and security
As I upgrade my hardware, I expect increased performance
I want my management experience to scale and be simple
As my solution grows, keep concepts simple and seamless
Key Scenarios
Key Scenarios
IIS Configuration Scalability
Customer scenarios:
As I consolidate servers, I want to increase tenant density.
As tenant density increases, I want the same rapid response time.
Management complexity should not grow as I scale.
IIS Configuration Scalability With a typical hosting configuration (5,000 sites)
WS08 R2:
Windows Server 8:
Config mem usage: 1,400MB
Config mem usage: 402MB
500 Change propagation (s) 1000 Change propagation (s)
WS08 R2 346 4007
Win8 M1 5 24
0
500
1000
1500
2000
2500
3000
3500
4000
4500
Seco
nd
s
Configuration Change Delay
166x faster
+3.5x Less memory
than R2!
DEMO
IIS CONFIGURATION SCALABILITY
Key Scenarios
DEMO
SSL SCALABILITY VIA SNI
Key Scenarios
IIS Configuration Scalability
SSL Scalability via SNI
SSL Manageability via Central Certificate Store
NUMA Scalability
SSL Manageability via Central Certificate
Store
DEMO
SSL MANAGEABILITY VIA CENTRAL CERTIFICATE STORE
Key Scenarios
NUMA Scalability
Basic commodity server in 2014:
16 to 64 logical cores.
NUMA architecture.
64GB RAM.
40Gbit NIC.
$300-$1500 w/o OS.
High end server:
256 or 512 logical cores.
NUMA Scalability
32 40 48 56 64
Baseline Requests/sec 185658 194622 149309 145598 147882
0
50000
100000
150000
200000
250000
300000
350000
400000
Re
qu
est
s/se
c
Baseline (requests/sec)
-20%
from 32
cores
NUMA Scalability
Scenario Description
Baseline – default IIS configuration • Out-of-box experience.
• 1 appPool and 1 worker process.
WAS affinity (web garden) – Large
Enterprise application
• Intelligently affinitize worker process to NUMA node.
• 1 appPool and multiple worker processes.
• 1 worker process / NUMA node.
WAS affinity (multiple appPool) –
Large multi-tenant / hosted
solution
• Intelligently affinitize worker process to NUMA node.
• Multiple appPools and 1 worker process per appPool.
• 1 worker process / NUMA node.
Manual affinity (multiple appPool) –
custom tuned to a workload
• Manual configuration to support beyond 64 cores.
• Multiple appPools and 1 worker process per appPool.
• 1 worker process / NUMA node.
NUMA Scalability
32 40 48 56 64
Baseline Requests/sec 185658 194622 149309 145598 147882
WAS affinity (web garden) 210999 252068 245336 255371 305624
WAS affinity (multiple appPool) 259172 252576 254641 298261 391687
Manual affinity (multiple appPool) 176920 141451 147557 183070 343825
0
50000
100000
150000
200000
250000
300000
350000
400000
Re
qu
est
s/se
c
Compare options vs. baseline (requests/sec)
-20%
from 32
cores
+52%
from 32
cores