SlideShare a Scribd company logo
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
UI5 with Akamai
Introduction to the Content Delivery Network
20-JULY-2018
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
Agenda What is a CDN?1
Why do you need a CDN?2
How does a CDN work?3
Demo/Hands-On4
Q & A5
Gokul Anand E
SolutionsArchitect II
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
• Content Delivery Network
• Highly-distributed platform of servers optimized to deliver content
quickly.
• Dispersed across many physical and network locations, in order to
respond directly to end user requests.
• Fast and secure delivery.
• It acts as an intermediary between a content server(origin) and its end
users or clients.
What is a CDN?1
©2018 AKAMAI | FASTER FORWARDTM
RELIABLE SECURE
234000+ servers | 100% availability | 15-30% of daily Internet traffic
FAST
Why do you need a CDN?2 To Improve Performance
©2018 AKAMAI | FASTER FORWARDTM
Akamai overview
©2018 AKAMAI | FASTER FORWARDTM
Why Akamai for Cloud Delivery?
• Akamai Intelligent Platform
• Offload: Reduce requests to cloud
origins and cache at the Edge.
• Performance: Accelerate dynamic
content.
• Security: Weakness of cloud providers;
Lock down cloud origins.
• Availability: 100% Availability SLA;
• Hybrid Clouds / Multi-DC: Akamai is
cloud provider agnostic.
• Routing: Geo-based routing based on
origin locations; flexible routing rules.
rules.
• DevOps: developer.akamai.com
Cloud Infrastructure Cloud Delivery (Akamai)
Includes technology tools to build and
operate servers, storage, and computing for
digital applications
Includes automated intelligence and
machine learning to route, accelerate,
secure, and analyze digital application
performance to maximize business
outcomes
Akamai and Cloud Providers
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
Running over the platform is Akamai’s Intelligent software that enables high-performing and secure
web experiences, to any device, anywhere.
WEB PERFORMANCE
Web users
MEDIA DELIVERY
Web users
CLOUD SECURITY
Cloud and Data center
infrastructure
ENTERPRISE
Branch users
Akamai Product Portfolio
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
Edge closest
to end-user
Edge closest
to origin
Akamai Intelligent
Platform
DNS
Resolution
Before using Akamai
a.b.com A 1.2.3.4
After using Akamai
a.b.com CNAME a.b.com.edgekey.net
a.b.com.edgekey.net A 6.7.8.9
Akamai
Configuration
Hostname
a.b.com
Origin Hostname
origin-a.b.com A 1.2.3.4
How does a CDN work?3
Origin
End users
©2018 AKAMAI | FASTER FORWARDTM
Bootstrapping from Content Delivery Network
Bootstrapping: Loading and Initializing
To use OpenUI5 features in your HTML
page, you have to load and initialize the
SAPUI5 library.
OpenUI5 can either be loaded locally with a relative path from a Web server or externally from a
Content Delivery Network (CDN) using an absolute path.
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
• Install (Pre-requisite)
• Modify Headers for Google Chrome™ - Chrome Web Store
• Add Akamai pragma headers
• Demo URL: https://openui5.hana.ondemand.com/
• We will see:
• DIG/nslookup command
• HTTP/2
• TCP_HIT
• Network – hosts.txt file spoofing
• Performance comparison
Demo/Hands-on4
©2018 AKAMAI | FASTER FORWARDTM
Tools:
• DIG command
• NSLOOKUP command
• www.digwebinterface.com
How to check if a hostname is using Akamai?
• Hostname
• Origin hostname
©2018 AKAMAI | FASTER FORWARDTM
How to check CDN is enabled in UI5? (Browser-level)
Enable CDN
UI5 libraries are loaded from CDN URL
https://openui5.hana.ondemand.com
Disable CDN
UI5 libraries are loaded from Origin
https://openui5.eu1.hana.ondemand.com
©2018 AKAMAI | FASTER FORWARDTM
How to check CDN is using HTTP/2?
CDN is enabling HTTP/2, to verify HTTP/2 is being used:
- Go to Chrome > Developer Tools
- Select Network graph
- Load page e.g. https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html
- Check protocol column for “h2”
©2018 AKAMAI | FASTER FORWARDTM
Performance comparison - With and without Akamai
• Performance tests brought improvements of up
to 40% (measured for Fiori Launchpad (FLP).
• Requests to origin (either as dynamic requests
or 404s) are causing long roundtrips
• Avoid synchronous requests and 404
https://blogs.sap.com/2017/06/08/fiori-for-s4hana-performance-tips-and-tricks-in-s4hana-1610-on-premise/
©2018 AKAMAI | FASTER FORWARDTM
Performance comparison
• Performance tests brought improvements of up to 40%
• Requests to origin (either as dynamic requests or 404s) are causing long roundtrips
• Try to avoid synchronous requests and 404 as much as you can
Performance comparison by http://www.webpagetest.org
From
origin
US1
From
origin
EU1
From
Akamai
Compared access by Chrome:
- From 5 different locations:
• Sao Paulo
• Mumbai
• Sydney
• Frankfurt
• Virginia
- Results from: Origin US1
- Results from: Origin EU1
- Results from: Akamai
https://openui5.hana.ondemand.com/test-
resources/sap/tnt/demokit/toolpageapp/webapp/in
dex.html
©2018 AKAMAI | FASTER FORWARDTM
Performance comparison
Performance comparison by apache benchmark ab -n 100 –c 10 url
Requesting from origin: openui5.eu1.ondemand.com
Total time: 16.268 seconds
Requesting from CDN: openui5.hana.ondemand.com
Total time: 10.141 seconds
©2018 AKAMAI | FASTER FORWARDTM
How to check if the CDN is caching an asset?
To verify an asset is being cached:
1. Add “Modify Headers” extension from Google Chrome Store.
2. Add Akamai Debug headers to your requests.
(Pragma: akamai-x-cache-on, akamai-x-check-cacheable, akamai-x-get-cache-key, ...)
3. Go to Chrome > Developer Tools
4. Select Network graph.
5. Load page e.g. https://openui5.hana.ondemand.com
6. Check responses for Akamai-Cache (responses with like “TCP_HIT, TCP_MEM_HIT” came from cache)
©2018 AKAMAI | FASTER FORWARDTM
SAP articles on Performance Acceleration
Basic articles about improving performance – especially when using CDN
SAPUI5 Application Startup Performance – Best Practices (Oct 2016):
https://blogs.sap.com/2016/10/29/sapui5-application-startup-performance-best-practices/
Step 1: Loading SAPUI5 libraries asynchronously
Step 2: Using the event attachInit of the SAPUI5 core
Step 3: Use the AKAMAI network to reduce latency effects
Step 4: Optimizing the application resources
Step 5: Using the init event of the Component
SAPUI5 Application Startup Performance – Advanced Topics (Oct 2016):
https://blogs.sap.com/2016/11/19/sapui5-application-startup-performance-advanced-topics/
1. Asynchronous Component Loading
2. Language fallback causing 404s for properties files
3. Usage of OData Model V2
4. Use model preload feature
5. Eliminate all 404s
©2018 AKAMAI | FASTER FORWARDTM
Language fallback causing 404s for properties files
Let’s have a closer look at the network trace again for my i18n file:
First step, let’s rename our i18n file to i18n_en.properties:
Next, let’s configure SAPUI5 to only use this language from now on:
Note: data-sap-ui-language=”en”
©2018 AKAMAI | FASTER FORWARDTM
Minify the code with component preload:
https://blogs.sap.com/2015/04/27/performance-improvement-with-component-preloadjs/
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
Q & A
©2018 AKAMAI | FASTER FORWARDTM
©2018 AKAMAI | FASTER FORWARDTM
THANK YOU
gokul@akamai.com

More Related Content

What's hot

20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
Amazon Web Services Japan
 
Running Apache NiFi with Apache Spark : Integration Options
Running Apache NiFi with Apache Spark : Integration OptionsRunning Apache NiFi with Apache Spark : Integration Options
Running Apache NiFi with Apache Spark : Integration Options
Timothy Spann
 
20190313 AWS Black Belt Online Seminar Amazon VPC Basic
20190313 AWS Black Belt Online Seminar Amazon VPC Basic20190313 AWS Black Belt Online Seminar Amazon VPC Basic
20190313 AWS Black Belt Online Seminar Amazon VPC Basic
Amazon Web Services Japan
 
Kong
KongKong
Palo alto networks next generation firewalls
Palo alto networks next generation firewallsPalo alto networks next generation firewalls
Palo alto networks next generation firewallsCastleforce
 
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model  20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
Amazon Web Services Japan
 
Introduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesIntroduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best Practices
Gary Silverman
 
Palo Alto Networks 28.5.2013
Palo Alto Networks 28.5.2013Palo Alto Networks 28.5.2013
Palo Alto Networks 28.5.2013
Belsoft
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security Baseline
Amazon Web Services
 
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
Amazon Web Services
 
AWS Black Belt Online Seminar 2016 AWS Key Management Service
AWS Black Belt Online Seminar 2016 AWS Key Management Service AWS Black Belt Online Seminar 2016 AWS Key Management Service
AWS Black Belt Online Seminar 2016 AWS Key Management Service
Amazon Web Services Japan
 
AWS PrivateLink - Deep Dive
AWS PrivateLink - Deep DiveAWS PrivateLink - Deep Dive
AWS PrivateLink - Deep Dive
Enri Peters
 
3 palo alto ngfw architecture overview
3 palo alto ngfw architecture overview3 palo alto ngfw architecture overview
3 palo alto ngfw architecture overview
Mostafa El Lathy
 
AWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design PatternsAWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design Patterns
Amazon Web Services
 
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
Amazon Web Services
 
Using Virtual Private Cloud (vpc)
Using Virtual Private Cloud (vpc)Using Virtual Private Cloud (vpc)
Using Virtual Private Cloud (vpc)
Amazon Web Services
 
Best practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at RenaultBest practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at Renault
DataWorks Summit
 
Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...
Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...
Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...
NoSQLmatters
 

What's hot (20)

20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
20191002 AWS Black Belt Online Seminar Amazon EC2 Auto Scaling and AWS Auto S...
 
Running Apache NiFi with Apache Spark : Integration Options
Running Apache NiFi with Apache Spark : Integration OptionsRunning Apache NiFi with Apache Spark : Integration Options
Running Apache NiFi with Apache Spark : Integration Options
 
20190313 AWS Black Belt Online Seminar Amazon VPC Basic
20190313 AWS Black Belt Online Seminar Amazon VPC Basic20190313 AWS Black Belt Online Seminar Amazon VPC Basic
20190313 AWS Black Belt Online Seminar Amazon VPC Basic
 
Kong
KongKong
Kong
 
Palo alto networks next generation firewalls
Palo alto networks next generation firewallsPalo alto networks next generation firewalls
Palo alto networks next generation firewalls
 
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model  20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
20190814 AWS Black Belt Online Seminar AWS Serverless Application Model
 
Introduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best PracticesIntroduction to AWS VPC, Guidelines, and Best Practices
Introduction to AWS VPC, Guidelines, and Best Practices
 
Useful cli commands v1
Useful cli commands v1Useful cli commands v1
Useful cli commands v1
 
Palo Alto Networks 28.5.2013
Palo Alto Networks 28.5.2013Palo Alto Networks 28.5.2013
Palo Alto Networks 28.5.2013
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security Baseline
 
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
AWS Networking – Advanced Concepts and new capabilities | AWS Summit Tel Aviv...
 
AWS Black Belt Online Seminar 2016 AWS Key Management Service
AWS Black Belt Online Seminar 2016 AWS Key Management Service AWS Black Belt Online Seminar 2016 AWS Key Management Service
AWS Black Belt Online Seminar 2016 AWS Key Management Service
 
AWS PrivateLink - Deep Dive
AWS PrivateLink - Deep DiveAWS PrivateLink - Deep Dive
AWS PrivateLink - Deep Dive
 
3 palo alto ngfw architecture overview
3 palo alto ngfw architecture overview3 palo alto ngfw architecture overview
3 palo alto ngfw architecture overview
 
AWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design PatternsAWS Security Best Practices and Design Patterns
AWS Security Best Practices and Design Patterns
 
Palo alto-review
Palo alto-reviewPalo alto-review
Palo alto-review
 
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
Observability for Modern Applications (CON306-R1) - AWS re:Invent 2018
 
Using Virtual Private Cloud (vpc)
Using Virtual Private Cloud (vpc)Using Virtual Private Cloud (vpc)
Using Virtual Private Cloud (vpc)
 
Best practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at RenaultBest practices and lessons learnt from Running Apache NiFi at Renault
Best practices and lessons learnt from Running Apache NiFi at Renault
 
Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...
Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...
Salvatore Sanfilippo – How Redis Cluster works, and why - NoSQL matters Barce...
 

Similar to UI5 with Akamai - Introduction to the Content Delivery Network

Cloud Delivery: The Path from Simple to Sophisticated
Cloud Delivery: The Path from Simple to SophisticatedCloud Delivery: The Path from Simple to Sophisticated
Cloud Delivery: The Path from Simple to Sophisticated
Akamai Developers & Admins
 
App-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai EasyApp-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai Easy
Akamai Developers & Admins
 
Edge 2016 service workers and other front end techniques
Edge 2016 service workers and other front end techniquesEdge 2016 service workers and other front end techniques
Edge 2016 service workers and other front end techniques
akamaidevrel
 
Akamai company profile
Akamai company profileAkamai company profile
Akamai company profile
rahulp9999
 
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Akamai Developers & Admins
 
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Paul Calvano
 
Holiday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For PeakHoliday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For Peak
G3 Communications
 
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Akamai Developers & Admins
 
Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2
Akamai Technologies
 
Real User Measurement Insights, London WebPerf 2018-Nov-06
Real User Measurement Insights, London WebPerf 2018-Nov-06Real User Measurement Insights, London WebPerf 2018-Nov-06
Real User Measurement Insights, London WebPerf 2018-Nov-06
Paul Calvano
 
Optimizing your API to Perform at Scale
Optimizing your API to Perform at ScaleOptimizing your API to Perform at Scale
Optimizing your API to Perform at Scale
Akamai Developers & Admins
 
Web Application Accelerator Product Brief - Application delivery for global w...
Web Application Accelerator Product Brief - Application delivery for global w...Web Application Accelerator Product Brief - Application delivery for global w...
Web Application Accelerator Product Brief - Application delivery for global w...
Akamai Technologies
 
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Colin Bendell
 
From Development to Deployment - Use Akamai to Facilitate Workflow Automation
From Development to Deployment - Use Akamai to Facilitate Workflow AutomationFrom Development to Deployment - Use Akamai to Facilitate Workflow Automation
From Development to Deployment - Use Akamai to Facilitate Workflow Automation
Akamai Developers & Admins
 
Third Party Performance (Velocity, 2014)
Third Party Performance (Velocity, 2014)Third Party Performance (Velocity, 2014)
Third Party Performance (Velocity, 2014)
Guy Podjarny
 
Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015
Rakesh Chaudhary
 
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PROIDEA
 
Common Traits of High Performing Websites, BairesWeb - Argentina
Common Traits of High Performing Websites,  BairesWeb  - ArgentinaCommon Traits of High Performing Websites,  BairesWeb  - Argentina
Common Traits of High Performing Websites, BairesWeb - Argentina
Paul Calvano
 
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
💻 Javier Garza
 
Acquia Platform Update: New Features & Capabilities
Acquia Platform Update: New Features & CapabilitiesAcquia Platform Update: New Features & Capabilities
Acquia Platform Update: New Features & Capabilities
Acquia
 

Similar to UI5 with Akamai - Introduction to the Content Delivery Network (20)

Cloud Delivery: The Path from Simple to Sophisticated
Cloud Delivery: The Path from Simple to SophisticatedCloud Delivery: The Path from Simple to Sophisticated
Cloud Delivery: The Path from Simple to Sophisticated
 
App-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai EasyApp-solute Testing: Making App Testing with Akamai Easy
App-solute Testing: Making App Testing with Akamai Easy
 
Edge 2016 service workers and other front end techniques
Edge 2016 service workers and other front end techniquesEdge 2016 service workers and other front end techniques
Edge 2016 service workers and other front end techniques
 
Akamai company profile
Akamai company profileAkamai company profile
Akamai company profile
 
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
Cloudlets and DevOps - A Dangerously Powerful Combination to Extend Capabilit...
 
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
Common Traits of High Performing Websites, WebPerfDays Amsterdam 07-Nov-2018
 
Holiday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For PeakHoliday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For Peak
 
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
Configs, Configs, Everywhere! (Actually, Let's Simplify All Those Configs)
 
Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2Chicago Tech Day Jan 2015: Foundry - HTTP2
Chicago Tech Day Jan 2015: Foundry - HTTP2
 
Real User Measurement Insights, London WebPerf 2018-Nov-06
Real User Measurement Insights, London WebPerf 2018-Nov-06Real User Measurement Insights, London WebPerf 2018-Nov-06
Real User Measurement Insights, London WebPerf 2018-Nov-06
 
Optimizing your API to Perform at Scale
Optimizing your API to Perform at ScaleOptimizing your API to Perform at Scale
Optimizing your API to Perform at Scale
 
Web Application Accelerator Product Brief - Application delivery for global w...
Web Application Accelerator Product Brief - Application delivery for global w...Web Application Accelerator Product Brief - Application delivery for global w...
Web Application Accelerator Product Brief - Application delivery for global w...
 
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
Velocity EU 2014: Recycling the Web (why it's slowing your mobile app)
 
From Development to Deployment - Use Akamai to Facilitate Workflow Automation
From Development to Deployment - Use Akamai to Facilitate Workflow AutomationFrom Development to Deployment - Use Akamai to Facilitate Workflow Automation
From Development to Deployment - Use Akamai to Facilitate Workflow Automation
 
Third Party Performance (Velocity, 2014)
Third Party Performance (Velocity, 2014)Third Party Performance (Velocity, 2014)
Third Party Performance (Velocity, 2014)
 
Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015Advanced Caching Concepts @ Velocity NY 2015
Advanced Caching Concepts @ Velocity NY 2015
 
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
PLNOG 13: James Kretchmar: How Akamai scales to serve the largest events on t...
 
Common Traits of High Performing Websites, BairesWeb - Argentina
Common Traits of High Performing Websites,  BairesWeb  - ArgentinaCommon Traits of High Performing Websites,  BairesWeb  - Argentina
Common Traits of High Performing Websites, BairesWeb - Argentina
 
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
Real world experiences with HTTP/2 (Michael Gooding, Javier Garza from Akamai)
 
Acquia Platform Update: New Features & Capabilities
Acquia Platform Update: New Features & CapabilitiesAcquia Platform Update: New Features & Capabilities
Acquia Platform Update: New Features & Capabilities
 

Recently uploaded

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
Vlad Stirbu
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 

Recently uploaded (20)

Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 

UI5 with Akamai - Introduction to the Content Delivery Network

  • 1. ©2018 AKAMAI | FASTER FORWARDTM ©2018 AKAMAI | FASTER FORWARDTM UI5 with Akamai Introduction to the Content Delivery Network 20-JULY-2018
  • 2. ©2018 AKAMAI | FASTER FORWARDTM ©2018 AKAMAI | FASTER FORWARDTM Agenda What is a CDN?1 Why do you need a CDN?2 How does a CDN work?3 Demo/Hands-On4 Q & A5 Gokul Anand E SolutionsArchitect II
  • 3. ©2018 AKAMAI | FASTER FORWARDTM ©2018 AKAMAI | FASTER FORWARDTM • Content Delivery Network • Highly-distributed platform of servers optimized to deliver content quickly. • Dispersed across many physical and network locations, in order to respond directly to end user requests. • Fast and secure delivery. • It acts as an intermediary between a content server(origin) and its end users or clients. What is a CDN?1
  • 4. ©2018 AKAMAI | FASTER FORWARDTM RELIABLE SECURE 234000+ servers | 100% availability | 15-30% of daily Internet traffic FAST Why do you need a CDN?2 To Improve Performance
  • 5. ©2018 AKAMAI | FASTER FORWARDTM Akamai overview
  • 6. ©2018 AKAMAI | FASTER FORWARDTM Why Akamai for Cloud Delivery? • Akamai Intelligent Platform • Offload: Reduce requests to cloud origins and cache at the Edge. • Performance: Accelerate dynamic content. • Security: Weakness of cloud providers; Lock down cloud origins. • Availability: 100% Availability SLA; • Hybrid Clouds / Multi-DC: Akamai is cloud provider agnostic. • Routing: Geo-based routing based on origin locations; flexible routing rules. rules. • DevOps: developer.akamai.com Cloud Infrastructure Cloud Delivery (Akamai) Includes technology tools to build and operate servers, storage, and computing for digital applications Includes automated intelligence and machine learning to route, accelerate, secure, and analyze digital application performance to maximize business outcomes Akamai and Cloud Providers
  • 7. ©2018 AKAMAI | FASTER FORWARDTM ©2018 AKAMAI | FASTER FORWARDTM Running over the platform is Akamai’s Intelligent software that enables high-performing and secure web experiences, to any device, anywhere. WEB PERFORMANCE Web users MEDIA DELIVERY Web users CLOUD SECURITY Cloud and Data center infrastructure ENTERPRISE Branch users Akamai Product Portfolio ©2018 AKAMAI | FASTER FORWARDTM
  • 8. ©2018 AKAMAI | FASTER FORWARDTM Edge closest to end-user Edge closest to origin Akamai Intelligent Platform DNS Resolution Before using Akamai a.b.com A 1.2.3.4 After using Akamai a.b.com CNAME a.b.com.edgekey.net a.b.com.edgekey.net A 6.7.8.9 Akamai Configuration Hostname a.b.com Origin Hostname origin-a.b.com A 1.2.3.4 How does a CDN work?3 Origin End users
  • 9. ©2018 AKAMAI | FASTER FORWARDTM Bootstrapping from Content Delivery Network Bootstrapping: Loading and Initializing To use OpenUI5 features in your HTML page, you have to load and initialize the SAPUI5 library. OpenUI5 can either be loaded locally with a relative path from a Web server or externally from a Content Delivery Network (CDN) using an absolute path.
  • 10. ©2018 AKAMAI | FASTER FORWARDTM ©2018 AKAMAI | FASTER FORWARDTM • Install (Pre-requisite) • Modify Headers for Google Chrome™ - Chrome Web Store • Add Akamai pragma headers • Demo URL: https://openui5.hana.ondemand.com/ • We will see: • DIG/nslookup command • HTTP/2 • TCP_HIT • Network – hosts.txt file spoofing • Performance comparison Demo/Hands-on4
  • 11. ©2018 AKAMAI | FASTER FORWARDTM Tools: • DIG command • NSLOOKUP command • www.digwebinterface.com How to check if a hostname is using Akamai? • Hostname • Origin hostname
  • 12. ©2018 AKAMAI | FASTER FORWARDTM How to check CDN is enabled in UI5? (Browser-level) Enable CDN UI5 libraries are loaded from CDN URL https://openui5.hana.ondemand.com Disable CDN UI5 libraries are loaded from Origin https://openui5.eu1.hana.ondemand.com
  • 13. ©2018 AKAMAI | FASTER FORWARDTM How to check CDN is using HTTP/2? CDN is enabling HTTP/2, to verify HTTP/2 is being used: - Go to Chrome > Developer Tools - Select Network graph - Load page e.g. https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html - Check protocol column for “h2”
  • 14. ©2018 AKAMAI | FASTER FORWARDTM Performance comparison - With and without Akamai • Performance tests brought improvements of up to 40% (measured for Fiori Launchpad (FLP). • Requests to origin (either as dynamic requests or 404s) are causing long roundtrips • Avoid synchronous requests and 404 https://blogs.sap.com/2017/06/08/fiori-for-s4hana-performance-tips-and-tricks-in-s4hana-1610-on-premise/
  • 15. ©2018 AKAMAI | FASTER FORWARDTM Performance comparison • Performance tests brought improvements of up to 40% • Requests to origin (either as dynamic requests or 404s) are causing long roundtrips • Try to avoid synchronous requests and 404 as much as you can Performance comparison by http://www.webpagetest.org From origin US1 From origin EU1 From Akamai Compared access by Chrome: - From 5 different locations: • Sao Paulo • Mumbai • Sydney • Frankfurt • Virginia - Results from: Origin US1 - Results from: Origin EU1 - Results from: Akamai https://openui5.hana.ondemand.com/test- resources/sap/tnt/demokit/toolpageapp/webapp/in dex.html
  • 16. ©2018 AKAMAI | FASTER FORWARDTM Performance comparison Performance comparison by apache benchmark ab -n 100 –c 10 url Requesting from origin: openui5.eu1.ondemand.com Total time: 16.268 seconds Requesting from CDN: openui5.hana.ondemand.com Total time: 10.141 seconds
  • 17. ©2018 AKAMAI | FASTER FORWARDTM How to check if the CDN is caching an asset? To verify an asset is being cached: 1. Add “Modify Headers” extension from Google Chrome Store. 2. Add Akamai Debug headers to your requests. (Pragma: akamai-x-cache-on, akamai-x-check-cacheable, akamai-x-get-cache-key, ...) 3. Go to Chrome > Developer Tools 4. Select Network graph. 5. Load page e.g. https://openui5.hana.ondemand.com 6. Check responses for Akamai-Cache (responses with like “TCP_HIT, TCP_MEM_HIT” came from cache)
  • 18. ©2018 AKAMAI | FASTER FORWARDTM SAP articles on Performance Acceleration Basic articles about improving performance – especially when using CDN SAPUI5 Application Startup Performance – Best Practices (Oct 2016): https://blogs.sap.com/2016/10/29/sapui5-application-startup-performance-best-practices/ Step 1: Loading SAPUI5 libraries asynchronously Step 2: Using the event attachInit of the SAPUI5 core Step 3: Use the AKAMAI network to reduce latency effects Step 4: Optimizing the application resources Step 5: Using the init event of the Component SAPUI5 Application Startup Performance – Advanced Topics (Oct 2016): https://blogs.sap.com/2016/11/19/sapui5-application-startup-performance-advanced-topics/ 1. Asynchronous Component Loading 2. Language fallback causing 404s for properties files 3. Usage of OData Model V2 4. Use model preload feature 5. Eliminate all 404s
  • 19. ©2018 AKAMAI | FASTER FORWARDTM Language fallback causing 404s for properties files Let’s have a closer look at the network trace again for my i18n file: First step, let’s rename our i18n file to i18n_en.properties: Next, let’s configure SAPUI5 to only use this language from now on: Note: data-sap-ui-language=”en”
  • 20. ©2018 AKAMAI | FASTER FORWARDTM Minify the code with component preload: https://blogs.sap.com/2015/04/27/performance-improvement-with-component-preloadjs/
  • 21. ©2018 AKAMAI | FASTER FORWARDTM ©2018 AKAMAI | FASTER FORWARDTM Q & A
  • 22. ©2018 AKAMAI | FASTER FORWARDTM ©2018 AKAMAI | FASTER FORWARDTM THANK YOU gokul@akamai.com

Editor's Notes

  1. ---- UI5 Bootstrap library URL: https://openui5.hana.ondemand.com/1.42.6/resources/sap-ui-core.js About Bootstrapping (Blog) https://openui5.hana.ondemand.com/#/topic/a04b0d10fb494d1cb722b9e341b584ba ___
  2. https://openui5.hana.ondemand.com
  3. URL with Akamai: https://sapui5.hana.ondemand.com/1.44.10/
  4. URL: https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/cart/webapp/index.html
  5. https://blogs.sap.com/2017/06/08/fiori-for-s4hana-performance-tips-and-tricks-in-s4hana-1610-on-premise/
  6. http://wpt.akamaiworkshop.com/video/compare.php?tests=180709_ST_10,180709_2T_Z,180709_XS_Y,180709_29_X,180709_Q7_W,180709_V8_T,180709_WG_S,180709_H8_R,180709_XZ_Q,180709_CX_P,180709_2X_N,180709_7C_M,180709_TV_K,180709_RF_J,180709_A5_H