牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  ·...

22
牛可, SOLUTION ARCHITECT

Transcript of 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  ·...

Page 1: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

牛可, SOLUTION ARCHITECT

Page 2: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

Web Platform and Tools Investments Definition

Design

Development

Testing

Deployment

Operations

Application

Life-Cycle

Page 3: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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

Page 4: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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.

Page 5: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

Microsoft Web Stack

Page 6: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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

Page 7: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

Key Scenarios

Page 8: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

Key Scenarios

Page 9: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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.

Page 10: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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!

Page 11: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

DEMO

IIS CONFIGURATION SCALABILITY

Page 12: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

Key Scenarios

Page 13: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

DEMO

SSL SCALABILITY VIA SNI

Page 14: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

Key Scenarios

IIS Configuration Scalability

SSL Scalability via SNI

SSL Manageability via Central Certificate Store

NUMA Scalability

Page 15: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

SSL Manageability via Central Certificate

Store

Page 16: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

DEMO

SSL MANAGEABILITY VIA CENTRAL CERTIFICATE STORE

Page 17: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

Key Scenarios

Page 18: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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.

Page 19: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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

Page 20: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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.

Page 21: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix

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

Page 22: 牛可, SOLUTION ARCHITECTdownload.microsoft.com/download/E/6/1/E610B710-7C... · 11/14/2012  · ‘Dev11’ and ASP.NET MVC 4. •ASP.NET ‘Web Pages’ and Razor syntax. •WebMatrix