SlideShare une entreprise Scribd logo
1  sur  22
©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

Contenu connexe

Tendances

Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesAmazon Web Services
 
AWS Financial Governance Practice
AWS Financial Governance Practice AWS Financial Governance Practice
AWS Financial Governance Practice Amir Arama
 
Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesAbdelkhalik Mosa
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web ServicesJames Armes
 
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017Amazon Web Services Korea
 
AWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_SingaporeAWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_SingaporeAmazon Web Services
 
AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4
AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4
AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4Amazon Web Services Korea
 
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...Amazon Web Services
 
Architecting for High Availability
Architecting for High AvailabilityArchitecting for High Availability
Architecting for High AvailabilityAmazon Web Services
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services Amazon Web Services
 
Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...
Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...
Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...HostedbyConfluent
 
10 Best Practices for Reducing Spend in Azure
10 Best Practices for Reducing Spend in Azure10 Best Practices for Reducing Spend in Azure
10 Best Practices for Reducing Spend in AzureVAST
 
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018Amazon Web Services
 
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...Amazon Web Services
 
Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDNMojtaba HOUSHMAND
 
AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...Amazon Web Services
 

Tendances (20)

Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
AWS Financial Governance Practice
AWS Financial Governance Practice AWS Financial Governance Practice
AWS Financial Governance Practice
 
Cloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling TechnologiesCloud computing and Cloud Enabling Technologies
Cloud computing and Cloud Enabling Technologies
 
Introduction to Amazon Web Services
Introduction to Amazon Web ServicesIntroduction to Amazon Web Services
Introduction to Amazon Web Services
 
Cloud & Data Center Networking
Cloud & Data Center NetworkingCloud & Data Center Networking
Cloud & Data Center Networking
 
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
Route53 및 CloudFront를 이용한 CDN 활용기 - AWS Summit Seoul 2017
 
AWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_SingaporeAWS Governance at Scale_AWSPSSummit_Singapore
AWS Governance at Scale_AWSPSSummit_Singapore
 
AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4
AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4
AWS로 게임 런칭 준비하기 ::: 장준성, 채민관, AWS Game Master 온라인 시리즈 #4
 
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
Introduction to the Well-Architected Framework and Tool - SVC208 - Anaheim AW...
 
Are you Well-Architected?
Are you Well-Architected?Are you Well-Architected?
Are you Well-Architected?
 
Architecting for High Availability
Architecting for High AvailabilityArchitecting for High Availability
Architecting for High Availability
 
Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services Introduction to Cloud Computing with Amazon Web Services
Introduction to Cloud Computing with Amazon Web Services
 
Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...
Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...
Getting started with AsyncAPI: how to describe your Kafka cluster | Salma Sae...
 
10 Best Practices for Reducing Spend in Azure
10 Best Practices for Reducing Spend in Azure10 Best Practices for Reducing Spend in Azure
10 Best Practices for Reducing Spend in Azure
 
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
[NEW LAUNCH!] Introducing AWS Transit Gateway (NET331) - AWS re:Invent 2018
 
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
Secure your Web Applications with AWS Web Application Firewall (WAF) and AWS ...
 
Aws storage
Aws storageAws storage
Aws storage
 
Sqs and loose coupling
Sqs and loose couplingSqs and loose coupling
Sqs and loose coupling
 
Content Delivery Network - CDN
Content Delivery Network - CDNContent Delivery Network - CDN
Content Delivery Network - CDN
 
AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...AWS Webinar: How to architect and deploy a multi tier share point server farm...
AWS Webinar: How to architect and deploy a multi tier share point server farm...
 

Similaire à 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 SophisticatedAkamai 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 EasyAkamai 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 techniquesakamaidevrel
 
Akamai company profile
Akamai company profileAkamai company profile
Akamai company profilerahulp9999
 
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-2018Paul Calvano
 
Holiday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For PeakHoliday Retail Readiness: Preparing For Peak
Holiday Retail Readiness: Preparing For PeakG3 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 - HTTP2Akamai 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-06Paul Calvano
 
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 AutomationAkamai 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 2015Rakesh 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 - ArgentinaPaul 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 & CapabilitiesAcquia
 

Similaire à 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
 

Dernier

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 

Dernier (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 

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

Notes de l'éditeur

  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