SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

Post on 29-Nov-2014

261 views 0 download

description

 

Transcript of SPTECHCON - Rev Your Engines - SharePoint 2013 Performance Enhancements

SharePoint 2013 Performance Enhancements

CKS:DEV

The

SharePoint

Cowboy

Patterns

&

Practices

Eric Shupps

www.sharepointcowboy.com eshupps@binarywave.com facebook.com/sharepointcowboy @eshupps

Distributed

Cache

Shredded

Storage

Request

Management

User

Interface

Fundamentals

Build

To

Suit

The

Database

Is

King

Cache

In

Make the

Network

Work for

You

Squeeze

Those

Bits

Look

Good But

Perform

Better

Database

Search BI App

Users

Web Web

Database

Users

Search BI App

Web Web

Database

Distrib

Cache

Distrib

Cache

Request

Manager

Request

ManagerRequest

Manager

Office

Web AppsWorkflow

Apps

Azure

O365

• Capacity

• Load

• Traffic Isolation• Web

• Database

• Service Applications

• Search

• Caching

• Workflow

• WAC

• Indexing

Independent

Cache

Configurable

Memory

Allocation

No

Database

Persistence

Dedicated

or

Collocated

Login

Token

Cache

Access

Cache

Feeds(Activities,Likes,

Mentions,Doc

Actions)

Search

Query

Web Part

Last

Modified

Cache

Security

Trimming

Cache

OneNote

Throttling

App

Token

Cache

View State

Cache

Default

Cache

Deployment size Small farm Medium farm Large farm

Total number of users < 10,000 < 100,000 < 500,000

Recommended cache size

for the Distributed Cache

service

1 GB

(Default 10% RAM)

2.5 GB

(Manual adjustment)

12 GB

(Limit of16GB per server)

Total memory allocation

for the Distributed Cache

service (double the

recommended cache size

above)

2 GB

(Memory size must

match in all servers)

5 GB24 GB

(32GB Max Limit)

Recommended

architectural

configuration

Dedicated server or co-

located on a front-end

server

Dedicated server Dedicated server

Minimum cache hosts per

farm1 1 1

DEMO

Configuring the Distributed

Cache

SP aware rule based

traffic shaping

Throttling

Prioritization

Routing

Load

Balancing

Machine Pool

Routing

Target

Routing

TargetExecution Group

Throttling Rules

Health

Weight

Static

Weight

Health

Weight

Static

Weight

Routing

Rule

Routing

Rule

Routing

Rule

Routing

Rule

Throttling Rules

Rule

1

Rule

2

Rule

3

Execution Group 0

Rule

1

Rule

2

Rule

3

Execution Group 1

Rule

5

Rule

6

Rule

7

Execution Group 3

Rule

8

Rule

9

Rule

0

Machine Pool 1

Server

1

Server

2

Server

3

Machine Pool 2

Server

4

Server

5

Server

6

Counter name Description

Connections CurrentThe total number of connections that are

currently open by Request Manager.

Connections Reused / Sec

The number of connections per second that are

reused when the same client connection makes

another request without closing the connection.

Routed Requests / Sec

The number of routed requests per second. The

instance determines the application pool and

server for which this counter tracks.

Throttled Requests / Sec The number of throttled requests per second.

Failed Requests / Sec The number of failed requests per second.

Average Processing Time

The time to process the request that is, the time

to evaluate all the rules and determine a routing

target.

Last Ping Latency

The last ping latency (that is, Request Manager's

PING feature) and the instance determine which

application pool and machine target.

Connection Endpoints CurrentThe total number of endpoints that are

connected for all active connections.

Routed Requests Current

The number of unfinished routed requests. The

instance determines which application pool and

machine target.

DEMO

Configuring Request

Management

2x I/O

Reduction

Client

(Office XML)

Incremental

Changes

Server

(SQL)

FileRead

ChunkSize

FileWrite

ChunkSize

Client-Side

Rendering

Minimal

Download

Device

Channels

Optimized

Markup

Image

Renditions

Content

By

Search

Page 1

Controls

Chrome

Content

Page 2

Controls

Chrome

Content

First Request

Second Request

Page 1

Controls

Chrome

Content

Page 2

Controls

Chrome

Content

Do

wn

load

Man

ag

er

Do

wn

load

Man

ag

er

First Request

Second Request

29 Requests / 570KB 21 Requests / 321KB

Master

Page

Scripts

Branding

Style

Assets

Content

Query

Content

Search

List

Views

Apps

Navigation

Stuff

You

Can’t

Control

Distributed

Cache

Shredded

Storage

Request

Management

User

Interface

Fundamentals