SlideShare a Scribd company logo
1 of 41
Download to read offline
CIRCUIT – An Adobe Developer Event
Presented by ICF Interactive
Akamai: Caching
and Beyond
Puru Hemnani
whoami
•  Puru Hemnani, Sr. Systems/Cloud
Architect at ICF Cloud Services division
•  Former Java/Application Developer
•  Experience/Responsibilities
– System/Application Performance Tuning
– DevOps/Automation
– Build systems/Infrastructure for High
availability and Fault tolerance.
Scope
•  What is it all about
– What are CDNs and why are they important in
today’s day and age
– Overview of Akamai
– Tuning Akamai for caching
– Security
– Mobile Optimization
Content Delivery
Networks
(CDN)
What is CDN
•  Content Delivery Network is a large
distributed system of servers deployed in
multiple datacenters across the internet.
•  It serves the purpose of delivering content/
data to the end user with lower latency,
high availability and higher performance.
•  CDN brings static content closer to users.
•  CDNs accelerate dynamic content
•  CDN defends and absorb security threats
Without CDN
With CDN
CDN Providers…
Akamai
•  Akamai is one of the most prominent
players in the CDN space and is the global
leader.
•  Akamai delivers 30% of all internet traffic.
•  Akamai daily traffic often exceeds 25
terabits per second.
•  Akamai has more than 175,000 servers in
over 100 countries within over 1300
networks
Why Akamai
•  Scalability
– Akamai provides unlimited capacity and scale
•  Speed
– Lower latency by placing the content close to
end user
•  Reduced origin cost
– Reduced origin footprint resulting in efficiency
•  Security
– In built protection from DDOS and other types
of cyber attacks.
Some traffic stats
Limitations of AEM for High Traffic Site
•  AEM uses java based container for
serving the sites
•  Frequently changing content
•  Dispatcher cache has several limitations
– Cache invalidations
– No TTLs
– Treatment of query strings
•  Extensibility makes it vulnerable to
security threats
Tuning Basics
•  Understanding your site and content
– Static vs Dynamic content
– Sessions and personalization
– DAM assets vs html content
– Advertising data
– Traffic patterns
– Application layer code stats
– Use of Java scripts for personalization
WebPageTest can help
WebPageTest Summary
Tuning Akamai: Why
•  Akamai provides a vast range of tuning
parameters and configuration options. If
not tuned properly:
– Low origin offload
– Too fresh content
– Poor site performance
– Publishers crashing due to traffic spikes
Control TTLs at Origin
•  Akamai makes is easy to control cache
objects Time To Live (TTL) settings by use
of HTTP headers
•  Enable Honor-CacheControl and Honor-
Expires
•  Make use of following headers
– Edge-Control
– Cache-Control
– Expires
Control TTLs at Origin
•  Using Apache and mod_expires
Edge-Control: cache-maxage=1h
Cache-Control: no-store
Expires: “now”
•  In the absence of Edge-Control header,
Cache-Control: max-age=600
ExpiresByType “image/gif” “access plus 1 hour”
Use Zero-TTL for Time-sensitive content
•  Zero TTL (cache-maxage=0s) causes
edge servers to contact origin for each
request to ensure freshness
•  No-Store Header?
•  If-Modified-Since requests are less
expensive than GET
•  Edge-Control: cache-maxage=0s
Query String treatment
•  Ignore Query String
•  Ignore Query Arguments
•  www.example.com/ getfile.asp?
fileID=1234&randomKey=a1b2&sessionID=32Getfi
le.asp
•  Ignore Case in cache
•  Include Query Strings
Error Response TTL (Negative TTL)
•  By default, negative responses from origin
are cached for 10 seconds.
•  In practice, however 10 seconds error
caching TTL is very low and can
significantly increase the load on origin if
you have recently migrated to a new site
or have several bad links.
•  Experiment with TTL of 5-10 mins for error
caching.
Edge Side Includes (ESI)
•  Edge Side Includes (ESI) make it possible
for edge servers to assemble dynamic
content.
•  Because the edge server performs the
assembly, pages that otherwise would
have been entirely uncacheable can now
be partially cached at the edge, reducing
bandwidth costs and eliminating the "least-
common-denominator" cacheability
problem.
Security
Why Security
•  Security is important, why?
– Cyber attacks becoming common
•  According to FBI Director James Comey, “There
are two kinds of big companies in the United
States. There are those who’ve been hacked…and
those who don’t know they’ve been hacked
•  Target, Home Depot, Google, Apple iCloud
Security is important, why??
•  Cost
•  A recent survey by the Ponemon Institute showed
the average cost of cyber crime for U.S. retail
stores more than doubled from 2013 to an annual
average of $8.6 million per company in 2014
•  Web Application attacks cost these organizations
on an average of 3.1 millions.
Security Cost breakdown..
What can you do about it
•  Web Application Firewall (WAF)
– Most companies accept that WAF is an
effective and important tool in fighting the Web
Application attacks, however
– Most organizations have not deployed their
WAF in a manner that allows them to stop
attacks
– Reason?
•  WAFs require significant management overhead
as much as three or more FTE assigned just to
properly manage WAF.
Manage WAF - Cost
Options…
•  Mod Security (Open Source)
•  Cloudflare
•  Incapsula
•  Kona WAF by Akamai
How it helps!
Security features in Akamai
•  Application Layer Security
– ModSecurity rule set
– Akamai Kona Rule Set
– Custom rules
•  Network Layer Controls
•  Rate Controls
•  Slow POST Protection
Kona Web Application Firewall by Akamai
•  Kona WAF provides always-on and highly-
scalable protection against web
application attacks including SQL
injections, cross-site scripting, and remote
file inclusion - while keeping the
performance high.
•  It inspects every HTTP and HTTPS
request, detecting and blocking threats to
web applications before they reach the
data center.
Mobile Optimization
Why Mobile Experience is important
World is going mobile but…
•  Challenges
– Wireless network problems
– Device limitations and inconsistencies
– Constant rapid change
Can Akamai help?
•  Edge Caching
•  Mobile Detection and Redirect
•  Front End Optimization
•  Adaptive Image Compression
•  Enhanced Mobile Protocol
Mobile Redirects
Advantage of Edge redirects
Async JavaScript
Backend Latency
Q & A
Questions?
Email: phemnani@icfi.com

More Related Content

What's hot

EDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt JansenEDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
MyNOG
 
AWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFront
AWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFrontAWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFront
AWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFront
Amazon Web Services
 
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
Amazon Web Services Korea
 

What's hot (20)

AWS Security for Financial Services
AWS Security for Financial ServicesAWS Security for Financial Services
AWS Security for Financial Services
 
EDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt JansenEDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
EDNS0 Client-Subnet for DNS based CDNs by Matt Jansen
 
Compliance with AWS
Compliance with AWSCompliance with AWS
Compliance with AWS
 
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
Dynamic Content Acceleration: Amazon CloudFront and Amazon Route 53 (ARC309) ...
 
Exploring Contact Lens and Amazon Connect
Exploring Contact Lens and Amazon ConnectExploring Contact Lens and Amazon Connect
Exploring Contact Lens and Amazon Connect
 
Introduction to Cloud Computing - (Eng Session)
Introduction to Cloud Computing - (Eng Session)Introduction to Cloud Computing - (Eng Session)
Introduction to Cloud Computing - (Eng Session)
 
AWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFront
AWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFrontAWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFront
AWS 201 - A Walk through the AWS Cloud: Introduction to Amazon CloudFront
 
IAM Best Practices
IAM Best PracticesIAM Best Practices
IAM Best Practices
 
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
 
Introduction to Amazon CloudFront - Pop-up Loft Tel Aviv
Introduction to Amazon CloudFront - Pop-up Loft Tel AvivIntroduction to Amazon CloudFront - Pop-up Loft Tel Aviv
Introduction to Amazon CloudFront - Pop-up Loft Tel Aviv
 
AWS Elastic Beanstalk
AWS Elastic BeanstalkAWS Elastic Beanstalk
AWS Elastic Beanstalk
 
Architecting for the Cloud: Best Practices
Architecting for the Cloud: Best PracticesArchitecting for the Cloud: Best Practices
Architecting for the Cloud: Best Practices
 
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
9월 웨비나 - AWS에서의 네트워크 보안 (이경수 솔루션즈 아키텍트)
 
(SEC323) New: Securing Web Applications with AWS WAF
(SEC323) New: Securing Web Applications with AWS WAF(SEC323) New: Securing Web Applications with AWS WAF
(SEC323) New: Securing Web Applications with AWS WAF
 
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...
 
AWS Deployment Best Practices
AWS Deployment Best PracticesAWS Deployment Best Practices
AWS Deployment Best Practices
 
Sqs and loose coupling
Sqs and loose couplingSqs and loose coupling
Sqs and loose coupling
 
AWS - Security & Compliance
AWS - Security & ComplianceAWS - Security & Compliance
AWS - Security & Compliance
 
Microsoft Office 365 Advanced Threat Protection
Microsoft Office 365 Advanced Threat ProtectionMicrosoft Office 365 Advanced Threat Protection
Microsoft Office 365 Advanced Threat Protection
 
Introduction to Threat Detection and Remediation on AWS
Introduction to Threat Detection and Remediation on AWSIntroduction to Threat Detection and Remediation on AWS
Introduction to Threat Detection and Remediation on AWS
 

Viewers also liked

Cache Optimization with Akamai
Cache Optimization with AkamaiCache Optimization with Akamai
Cache Optimization with Akamai
Blake Crosby
 
Akamai -- Analysis and Recommendation
Akamai -- Analysis and RecommendationAkamai -- Analysis and Recommendation
Akamai -- Analysis and Recommendation
Ross Andrew Simons
 
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
 

Viewers also liked (20)

Cache Optimization with Akamai
Cache Optimization with AkamaiCache Optimization with Akamai
Cache Optimization with Akamai
 
Advanced Content Targeting & Personalization Within the Digital Experience Us...
Advanced Content Targeting & Personalization Within the Digital Experience Us...Advanced Content Targeting & Personalization Within the Digital Experience Us...
Advanced Content Targeting & Personalization Within the Digital Experience Us...
 
AEM (CQ) Dispatcher Caching Webinar 2013
AEM (CQ) Dispatcher Caching Webinar 2013AEM (CQ) Dispatcher Caching Webinar 2013
AEM (CQ) Dispatcher Caching Webinar 2013
 
Using AEM in a customer global multi-channel program
Using AEM in a customer global multi-channel programUsing AEM in a customer global multi-channel program
Using AEM in a customer global multi-channel program
 
Campaign management in AEM/CQ5
Campaign management in AEM/CQ5Campaign management in AEM/CQ5
Campaign management in AEM/CQ5
 
Adobe Marketing Cloud
Adobe Marketing CloudAdobe Marketing Cloud
Adobe Marketing Cloud
 
Akamai -- Analysis and Recommendation
Akamai -- Analysis and RecommendationAkamai -- Analysis and Recommendation
Akamai -- Analysis and Recommendation
 
Kona Web Application Firewall Product Brief - Application-layer defense to pr...
Kona Web Application Firewall Product Brief - Application-layer defense to pr...Kona Web Application Firewall Product Brief - Application-layer defense to pr...
Kona Web Application Firewall Product Brief - Application-layer defense to pr...
 
Akamai IPv6 Measurement
Akamai IPv6 MeasurementAkamai IPv6 Measurement
Akamai IPv6 Measurement
 
BGP and Traffic Engineering with Akamai
BGP and Traffic Engineering with AkamaiBGP and Traffic Engineering with Akamai
BGP and Traffic Engineering with Akamai
 
Rackspace & Akamai vs. Amazon & CloudFront for a Django site
Rackspace & Akamai vs. Amazon & CloudFront for a Django siteRackspace & Akamai vs. Amazon & CloudFront for a Django site
Rackspace & Akamai vs. Amazon & CloudFront for a Django site
 
Content personalization in AEM
Content personalization in AEMContent personalization in AEM
Content personalization in AEM
 
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)
 
Akamai company profile
Akamai company profileAkamai company profile
Akamai company profile
 
Aem maintenance
Aem maintenanceAem maintenance
Aem maintenance
 
Akamai Technologies - Company Overview
Akamai Technologies - Company OverviewAkamai Technologies - Company Overview
Akamai Technologies - Company Overview
 
AWS Certification Lessons and Tips, AWS Meetup Lehi - April 2016
AWS Certification Lessons and Tips, AWS Meetup Lehi - April 2016AWS Certification Lessons and Tips, AWS Meetup Lehi - April 2016
AWS Certification Lessons and Tips, AWS Meetup Lehi - April 2016
 
Digital analytics Adobe Symposium
Digital analytics Adobe SymposiumDigital analytics Adobe Symposium
Digital analytics Adobe Symposium
 
Type "Google.com" into the Browser and Hit Enter: What Happens Next?
Type "Google.com" into the Browser and Hit Enter: What Happens Next?Type "Google.com" into the Browser and Hit Enter: What Happens Next?
Type "Google.com" into the Browser and Hit Enter: What Happens Next?
 
Aem dispatcher – tips & tricks
Aem dispatcher – tips & tricksAem dispatcher – tips & tricks
Aem dispatcher – tips & tricks
 

Similar to CIRCUIT 2015 - Akamai: Caching and Beyond

Ultra-scale e-Commerce Transaction Services with Lean Middleware
Ultra-scale e-Commerce Transaction Services with Lean Middleware Ultra-scale e-Commerce Transaction Services with Lean Middleware
Ultra-scale e-Commerce Transaction Services with Lean Middleware
WSO2
 
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Amazon Web Services
 
Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...
Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...
Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...
Amazon Web Services
 
SunilBabu_Assignment#2
SunilBabu_Assignment#2SunilBabu_Assignment#2
SunilBabu_Assignment#2
Sunil Babu
 

Similar to CIRCUIT 2015 - Akamai: Caching and Beyond (20)

Ask The Architect: RightScale & AWS Dive Deep into Hybrid IT
Ask The Architect: RightScale & AWS Dive Deep into Hybrid ITAsk The Architect: RightScale & AWS Dive Deep into Hybrid IT
Ask The Architect: RightScale & AWS Dive Deep into Hybrid IT
 
Ground Breakers Romania: Oracle Autonomous Database
Ground Breakers Romania: Oracle Autonomous DatabaseGround Breakers Romania: Oracle Autonomous Database
Ground Breakers Romania: Oracle Autonomous Database
 
Customer Sharing: HTC - What is in AWS Cloud for me?
Customer Sharing: HTC - What is in AWS Cloud for me?Customer Sharing: HTC - What is in AWS Cloud for me?
Customer Sharing: HTC - What is in AWS Cloud for me?
 
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
Challenges behind the scenes of the large Swiss e-Commerce shop apfelkiste.ch...
 
Ultra-scale e-Commerce Transaction Services with Lean Middleware
Ultra-scale e-Commerce Transaction Services with Lean Middleware Ultra-scale e-Commerce Transaction Services with Lean Middleware
Ultra-scale e-Commerce Transaction Services with Lean Middleware
 
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your DeploymentAWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
AWS 201 Webinar Series - Rightsizing and Cost Optimizing your Deployment
 
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
 
Why You Are Secure in the AWS Cloud
Why You Are Secure in the AWS CloudWhy You Are Secure in the AWS Cloud
Why You Are Secure in the AWS Cloud
 
AWS User Group Sydney - Meetup #60
AWS User Group Sydney - Meetup #60AWS User Group Sydney - Meetup #60
AWS User Group Sydney - Meetup #60
 
Web Performance Optimization (WPO)
Web Performance Optimization (WPO)Web Performance Optimization (WPO)
Web Performance Optimization (WPO)
 
Security in the cloud Workshop HSTC 2014
Security in the cloud Workshop HSTC 2014Security in the cloud Workshop HSTC 2014
Security in the cloud Workshop HSTC 2014
 
Boot camp - Migration to AWS
Boot camp - Migration to AWSBoot camp - Migration to AWS
Boot camp - Migration to AWS
 
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
Auto-Scaling Web Application Security in Amazon Web Services (SEC308) | AWS r...
 
Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...
Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...
Using AWS to Build a Scalable Big Data Management & Processing Service (BDT40...
 
A non-technical introduction to Cloud Computing
A non-technical introduction to Cloud ComputingA non-technical introduction to Cloud Computing
A non-technical introduction to Cloud Computing
 
Webinar: How and Why to Containerize Your Legacy Applications
Webinar: How and Why to Containerize Your Legacy ApplicationsWebinar: How and Why to Containerize Your Legacy Applications
Webinar: How and Why to Containerize Your Legacy Applications
 
Cloud computing
Cloud computing Cloud computing
Cloud computing
 
SunilBabu_Assignment#2
SunilBabu_Assignment#2SunilBabu_Assignment#2
SunilBabu_Assignment#2
 
Coffee and Donuts with AWS Marketplace: Getting Started – A Technical Introdu...
Coffee and Donuts with AWS Marketplace: Getting Started – A Technical Introdu...Coffee and Donuts with AWS Marketplace: Getting Started – A Technical Introdu...
Coffee and Donuts with AWS Marketplace: Getting Started – A Technical Introdu...
 
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
AWS re:Invent 2016: Amazon CloudFront Flash Talks: Best Practices on Configur...
 

More from ICF CIRCUIT

More from ICF CIRCUIT (13)

CIRCUIT 2015 - Hybrid App Development with AEM Apps
CIRCUIT 2015 - Hybrid App Development with AEM AppsCIRCUIT 2015 - Hybrid App Development with AEM Apps
CIRCUIT 2015 - Hybrid App Development with AEM Apps
 
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
CIRCUIT 2015 - AEM Infrastructure Automation with Chef CookbooksCIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
CIRCUIT 2015 - AEM Infrastructure Automation with Chef Cookbooks
 
CIRCUIT 2015 - Monitoring AEM
CIRCUIT 2015 - Monitoring AEMCIRCUIT 2015 - Monitoring AEM
CIRCUIT 2015 - Monitoring AEM
 
CIRCUIT 2015 - Free Beer and Testing
CIRCUIT 2015 - Free Beer and TestingCIRCUIT 2015 - Free Beer and Testing
CIRCUIT 2015 - Free Beer and Testing
 
CIRCUIT 2015 - UI Customization in AEM 6.1
CIRCUIT 2015 - UI Customization in AEM 6.1CIRCUIT 2015 - UI Customization in AEM 6.1
CIRCUIT 2015 - UI Customization in AEM 6.1
 
CIRCUIT 2015 - Content API's For AEM Sites
CIRCUIT 2015 - Content API's For AEM SitesCIRCUIT 2015 - Content API's For AEM Sites
CIRCUIT 2015 - Content API's For AEM Sites
 
CIRCUIT 2015 - Responsive Websites & Grid-Based Layouts
CIRCUIT 2015 - Responsive Websites & Grid-Based LayoutsCIRCUIT 2015 - Responsive Websites & Grid-Based Layouts
CIRCUIT 2015 - Responsive Websites & Grid-Based Layouts
 
CIRCUIT 2015 - Glimpse of perceptual diff
CIRCUIT 2015 - Glimpse of perceptual diffCIRCUIT 2015 - Glimpse of perceptual diff
CIRCUIT 2015 - Glimpse of perceptual diff
 
CIRCUIT 2015 - Orchestrate your story with interactive video and web content
CIRCUIT 2015 -  Orchestrate your story with interactive video and web contentCIRCUIT 2015 -  Orchestrate your story with interactive video and web content
CIRCUIT 2015 - Orchestrate your story with interactive video and web content
 
How to migrate from any CMS (thru the front-door)
How to migrate from any CMS (thru the front-door)How to migrate from any CMS (thru the front-door)
How to migrate from any CMS (thru the front-door)
 
Maximize the power of OSGi in AEM
Maximize the power of OSGi in AEM Maximize the power of OSGi in AEM
Maximize the power of OSGi in AEM
 
CIRCUIT 2015 - 10 Things Apache Sling Can Do
CIRCUIT 2015 - 10 Things Apache Sling Can DoCIRCUIT 2015 - 10 Things Apache Sling Can Do
CIRCUIT 2015 - 10 Things Apache Sling Can Do
 
Circuit 2015 Keynote - Carsten Ziegeler
Circuit 2015 Keynote -  Carsten ZiegelerCircuit 2015 Keynote -  Carsten Ziegeler
Circuit 2015 Keynote - Carsten Ziegeler
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
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...
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
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
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

CIRCUIT 2015 - Akamai: Caching and Beyond

  • 1. CIRCUIT – An Adobe Developer Event Presented by ICF Interactive Akamai: Caching and Beyond Puru Hemnani
  • 2. whoami •  Puru Hemnani, Sr. Systems/Cloud Architect at ICF Cloud Services division •  Former Java/Application Developer •  Experience/Responsibilities – System/Application Performance Tuning – DevOps/Automation – Build systems/Infrastructure for High availability and Fault tolerance.
  • 3. Scope •  What is it all about – What are CDNs and why are they important in today’s day and age – Overview of Akamai – Tuning Akamai for caching – Security – Mobile Optimization
  • 5. What is CDN •  Content Delivery Network is a large distributed system of servers deployed in multiple datacenters across the internet. •  It serves the purpose of delivering content/ data to the end user with lower latency, high availability and higher performance. •  CDN brings static content closer to users. •  CDNs accelerate dynamic content •  CDN defends and absorb security threats
  • 9. Akamai •  Akamai is one of the most prominent players in the CDN space and is the global leader. •  Akamai delivers 30% of all internet traffic. •  Akamai daily traffic often exceeds 25 terabits per second. •  Akamai has more than 175,000 servers in over 100 countries within over 1300 networks
  • 10. Why Akamai •  Scalability – Akamai provides unlimited capacity and scale •  Speed – Lower latency by placing the content close to end user •  Reduced origin cost – Reduced origin footprint resulting in efficiency •  Security – In built protection from DDOS and other types of cyber attacks.
  • 12. Limitations of AEM for High Traffic Site •  AEM uses java based container for serving the sites •  Frequently changing content •  Dispatcher cache has several limitations – Cache invalidations – No TTLs – Treatment of query strings •  Extensibility makes it vulnerable to security threats
  • 13. Tuning Basics •  Understanding your site and content – Static vs Dynamic content – Sessions and personalization – DAM assets vs html content – Advertising data – Traffic patterns – Application layer code stats – Use of Java scripts for personalization
  • 16. Tuning Akamai: Why •  Akamai provides a vast range of tuning parameters and configuration options. If not tuned properly: – Low origin offload – Too fresh content – Poor site performance – Publishers crashing due to traffic spikes
  • 17. Control TTLs at Origin •  Akamai makes is easy to control cache objects Time To Live (TTL) settings by use of HTTP headers •  Enable Honor-CacheControl and Honor- Expires •  Make use of following headers – Edge-Control – Cache-Control – Expires
  • 18. Control TTLs at Origin •  Using Apache and mod_expires Edge-Control: cache-maxage=1h Cache-Control: no-store Expires: “now” •  In the absence of Edge-Control header, Cache-Control: max-age=600 ExpiresByType “image/gif” “access plus 1 hour”
  • 19. Use Zero-TTL for Time-sensitive content •  Zero TTL (cache-maxage=0s) causes edge servers to contact origin for each request to ensure freshness •  No-Store Header? •  If-Modified-Since requests are less expensive than GET •  Edge-Control: cache-maxage=0s
  • 20. Query String treatment •  Ignore Query String •  Ignore Query Arguments •  www.example.com/ getfile.asp? fileID=1234&randomKey=a1b2&sessionID=32Getfi le.asp •  Ignore Case in cache •  Include Query Strings
  • 21. Error Response TTL (Negative TTL) •  By default, negative responses from origin are cached for 10 seconds. •  In practice, however 10 seconds error caching TTL is very low and can significantly increase the load on origin if you have recently migrated to a new site or have several bad links. •  Experiment with TTL of 5-10 mins for error caching.
  • 22. Edge Side Includes (ESI) •  Edge Side Includes (ESI) make it possible for edge servers to assemble dynamic content. •  Because the edge server performs the assembly, pages that otherwise would have been entirely uncacheable can now be partially cached at the edge, reducing bandwidth costs and eliminating the "least- common-denominator" cacheability problem.
  • 24. Why Security •  Security is important, why? – Cyber attacks becoming common •  According to FBI Director James Comey, “There are two kinds of big companies in the United States. There are those who’ve been hacked…and those who don’t know they’ve been hacked •  Target, Home Depot, Google, Apple iCloud
  • 25. Security is important, why?? •  Cost •  A recent survey by the Ponemon Institute showed the average cost of cyber crime for U.S. retail stores more than doubled from 2013 to an annual average of $8.6 million per company in 2014 •  Web Application attacks cost these organizations on an average of 3.1 millions.
  • 27. What can you do about it •  Web Application Firewall (WAF) – Most companies accept that WAF is an effective and important tool in fighting the Web Application attacks, however – Most organizations have not deployed their WAF in a manner that allows them to stop attacks – Reason? •  WAFs require significant management overhead as much as three or more FTE assigned just to properly manage WAF.
  • 28. Manage WAF - Cost
  • 29. Options… •  Mod Security (Open Source) •  Cloudflare •  Incapsula •  Kona WAF by Akamai
  • 31. Security features in Akamai •  Application Layer Security – ModSecurity rule set – Akamai Kona Rule Set – Custom rules •  Network Layer Controls •  Rate Controls •  Slow POST Protection
  • 32. Kona Web Application Firewall by Akamai •  Kona WAF provides always-on and highly- scalable protection against web application attacks including SQL injections, cross-site scripting, and remote file inclusion - while keeping the performance high. •  It inspects every HTTP and HTTPS request, detecting and blocking threats to web applications before they reach the data center.
  • 34. Why Mobile Experience is important
  • 35. World is going mobile but… •  Challenges – Wireless network problems – Device limitations and inconsistencies – Constant rapid change
  • 36. Can Akamai help? •  Edge Caching •  Mobile Detection and Redirect •  Front End Optimization •  Adaptive Image Compression •  Enhanced Mobile Protocol
  • 38. Advantage of Edge redirects
  • 41. Q & A Questions? Email: phemnani@icfi.com