Date post: | 08-Apr-2017 |
Category: |
Technology |
Upload: | varnish-software |
View: | 27 times |
Download: | 0 times |
©2017 AKAMAI | FASTER FORWARD™
Akamai Connector For Varnish
Mobile Performance
@ColinBendellDirector, CTO Office
©2017 AKAMAI | FASTER FORWARD™
Where is your #webperf problem?
AGENDA• Mobile Performance
• Extending your Varnish operations
• Demo with Mobile Images
©2017 AKAMAI | FASTER FORWARD™Akamai Connector For Varnish
©2017 AKAMAI | FASTER FORWARD™
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
Performance Budgets
Many Contributors
The Web Experience Journey
Real User Monitoring
Histogram of User Experiences
Page Load Time: Seconds
©2017 AKAMAI | FASTER FORWARD™
Seconds Matter
Bending the Curve -2.54% Page load time +2.93% Pages per session + £54,000 Ad revenue
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
Target Performance Budget
2 Seconds (Even on Cellular)
Page Load Time: Seconds
Who are these people?
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
Mobile Performance
#WebPerf issues
Where do you start?
©2017 AKAMAI | FASTER FORWARD™
DeviceNetwork Content××├ OS ├ (Browser) ├ CPU & Mem ├ Display └ Sensors
├ Edge / 3G / LTE ├ Wi-Fi ├ Proxies └ HTTP/2
├ Images ├ Videos ├ APIs └ Apps
httparchive.org
Average Web Page
httparchive.org
Average Web Page
©2017 AKAMAI | FASTER FORWARD™Source: OpenSignal
2014: 18.7k Different Android Devices
©2017 AKAMAI | FASTER FORWARD™
Source: OpenSignal
2015: 24.0k Different Android Devices
©2017 AKAMAI | FASTER FORWARD™
“…25% of new Android phones h ave only 512MB of RAM.”
Jen Fitzpatrick VP of product managem ent for Google Maps
©2017 AKAMAI | FASTER FORWARD™
DeviceNetwork Content××├ OS ├ (Browser) ├ CPU & Mem ├ Display └ Sensors
├ Edge / 3G / LTE ├ Wi-Fi ├ Proxies └ HTTP/2
├ Images ├ Videos ├ APIs └ Apps
©2017 AKAMAI | FASTER FORWARD™
DeviceNetwork Content××
IPv6 TLS RTT
©2017 AKAMAI | FASTER FORWARD™
DeviceNetwork Content××
<picture/>srcset=“”
ChromaSubsampling
RWD
4:2:0
©2017 AKAMAI | FASTER FORWARD™
DeviceNetwork Content××
Cache API Assembly Client Hints
PerceptualQuality
DDoS & Bots
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
The Internet
Caching is still important
Case Study: CBC
Synchronized Cache w/ Akamai
OpEx Impact
Origin Bandwidth <100mbps
©2017 AKAMAI | FASTER FORWARD™Akamai Connector For Varnish
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
Varnish Operators
Common Challenges1. Duplication of logic: in VCL and in Akamai
2. Decoupled Varnish Akamai lifecycle changes
3. Akamai best practices inconsistency
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
Akamai Connector For Varnish
What and Why• Simplifies daily operations
• Control your Akamai cache configuration using (VCL)
• Manage application lifecycle changes at origin
• Apply Akamai best practices automatically
©2017 AKAMAI | FASTER FORWARD™
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
Akamai Platform
Origin Varnish
VCL with cache policies
Purges initiated
Advanced cache policies
Purges replicated
Akamai Connector For Varnish
Architecture• Orchestration from Origin• Synchronize workflow• Apply Akamai best practices
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
DEMO
Setup
import std;import akamai;include "akamai_auto.vcl";
# Ubuntu/Debian$ apt-get install varnish-plus-akamai-connector
Varnish-Cache also available
Make a change
> http PURGE https://thirtyone.com/womens-tops.jpg
©2017 AKAMAI | FASTER FORWARD™
Wait. What?
Cache
Client Hints
ChromaSubsampling4:2:0
IPv6
RTT
Advanced
Cache Synchronizationsub vcl_backend_response { if (bereq.url ~ "^/esi/") { set beresp.do_esi = true; } set beresp.ttl = 2d; set beresp.grace = 1h; set beresp.http.Cache-Control = "max-age=300";}
©2017 AKAMAI | FASTER FORWARD™
©2017 AKAMAI | FASTER FORWARD™©2017 AKAMAI | FASTER FORWARD™
Take action
Join the early • https://info.varnish-software.com/akamai-varnish-la-participation
• Available for Varnish Plus or Varnish Cache
• #FREE
• #JustAddZebras
©2017 AKAMAI | FASTER FORWARD™
Together, we can make your #OpsLife easier
©2017 AKAMAI | FASTER FORWARD™
QUESTIONS?
©2015 AKAMAI | FASTER FORWARDTM
IT
Qualifying the impact
IT + BUSINESS IMPACT
Origin load Poor site performance and higher infrastructure costs