Performance at scale Common mistakes Best practices for fast pages SPO and load What makes SPO different from on-prem SharePoint Why pages get slow Tips and tricks to make your pages fast SPO’s scale.

Download Report

Transcript Performance at scale Common mistakes Best practices for fast pages SPO and load What makes SPO different from on-prem SharePoint Why pages get slow Tips and tricks to make your pages fast SPO’s scale.

Performance
at scale
Common
mistakes
Best practices
for fast pages
SPO and
load
What makes SPO
different from on-prem
SharePoint
Why pages get slow
Tips and tricks to make
your pages fast
SPO’s scale out and
capacity management
strategy
Demo: 30 seconds to 2 seconds
Making a slow page fast
1,000ms
5,000ms
CDN
Server
Browser
Network
Server
Network
Microsoft
Network
ISP
Internet
Complex pages
Too many web parts
Expensive server interactions
Front end cache misses
Large payload
Too many files
Large distance to server
Complex pages
Busy computer
Small cache
Page load time percentiles
50
45
Focus on the 95th
40
Seconds
35
30
25
20
15
10
Demo site improved value
5
0
25
35
45
55
65
Percentile
75
85
95
SharePoint On-premises
10s of servers
10s of busy sites
100s of users
SharePoint Online
1,000s of servers
1,000s of busy sites
10,000s of users
30 seconds to 2 seconds
30s
20s
5s
2s
Structural to search or
managed navigation
Content by query to
content by search
Image optimization and
delay loading
Optimizing HTTP traffic
via CDN’s, bundling and
minification
Predictive capacity: forecasting
Requests
SPO forecasts future
growth by trending
historical load
Time
Predictive capacity: forecasting
Requests
Forecasts are for
groups of farms in a
zone
Time
Predictive capacity: managing farms
Average front end CPU load
100
85 to 100 % - Danger Zone
90
40% to 85 % - Buffer
80
As load
increases,
we
Front
ends
in content
farmsadd
runcapacity
at 40% CPU
70
% CPU
60
50
40
30
20
10
0
0% to 40 % - Operating zone
Monday
Tuesday
Wednesday
Thursday
Friday
Launching a new site to > 10k users
Waves
Pilot
1
2 3
4
Users
Invited users
Active users
Time
Microsoft’s “Academy” site hosts
training videos and live broadcasts
Recent live company-wide events:
1. Company meeting
2. New CEO announcement
Optimizations:
1. Load static assets from CDN
2. Move images to asset library
4,500,000
Webcast requests
4,000,000
3,500,000
3,000,000
2,500,000
2,000,000
1,500,000
1,000,000
Non-webcast requests
500,000
0
Monday
Tuesday
Wednesday
Thursday
Friday
Tooling
Lightweight pages
Cloud scale
Smart rollout
F12
Count requests
Identify slow requests
Focus on the “content loaded” marker
Rollup using search
Navigation fix-up
Delay-load as needed
Check for large files
Renditions and delay-loading
Too many files? Combine .js and .css
Consume common libraries from CDNs
http://aka.ms/tune
http://aka.ms/tunemva
http://channel9.msdn.com/Events/TechEd
www.microsoft.com/learning
http://microsoft.com/technet
http://developer.microsoft.com