Upload
akamai-technologies
View
222
Download
2
Embed Size (px)
DESCRIPTION
Increasing Control with Property Manager by Steve Lerner Senior Member of Technical Staff, Network Engineering, eBay & Jay Sikkeland, Senior Technical Project Manager, Akamai Technologies Property Manager, Akamai's next generation configuration tool, enables engineers a new level of control and visibility for Akamai configurations. Steve Lerner, Sr. Member of Technical Staff from eBay Network Engineering, will demonstrate advanced techniques available in Property Manager designed for a new level of use-cases for Content Delivery Network monitoring and control. He will also demonstrate how key Property Manager settings and Akamai services impact eBay's own metrics and performance. Akamai Edge is the premier event for Internet innovators, tech professionals and online business pioneers who together are forging a Faster Forward World. At Edge, the architects, experts and implementers of the most innovative global online businesses gather face-to-face for an invaluable three days of sharing, learning and together pushing the limits of the Faster Forward World. Learn more at: http://www.akamai.com/edge
Citation preview
Increasing Control with Property Manager
10/8/2014
Steve Lerner, Senior Member of Technical Staff, Network Engineering
The eBay Inc. Portfolio
Increasing Control With Property Manager 2
PLATFORM
The Old Days:Config Manager
Increasing Control With Property Manager 3
Stuck With Old Configs
Stuck With Old ConfigsNo Activation
ManagerNo Activation
Manager
No Links To Edge Hostnames
No Links To Edge Hostnames
Flat Rules Engine
Flat Rules Engine
Business Need #0: Visibility And Control
Increasing Control With Property Manager 4
• Many new services being onboarded• Constant config changes• Demand for granular measurement• Migration to HTTPS• Want to keep reliance on Akamai pro-serve at a minimum
Property Manager
Increasing Control With Property Manager 5
Clear List Of Properties And
Edge Hostnames
Clear List Of Properties And
Edge Hostnames
Hierarchical Rules Engine
Hierarchical Rules Engine
Real Time ConfigValidation And Error
Reporting
Real Time ConfigValidation And Error
Reporting
Get Property Manager!
Increasing Control With Property Manager 6
Upgrade Old Service Order To
Get Property Manager
Upgrade Old Service Order To
Get Property Manager
Property Creation Assistant
Increasing Control With Property Manager 7
Key Default Settings
Increasing Control With Property Manager 8
Trueclient IP: Can Your Netsec Group Use This Layer 7
Header With User’s IP?
Trueclient IP: Can Your Netsec Group Use This Layer 7
Header With User’s IP?
Be Very Specific About How Akamai
Caches, And Set Downstream
Headers As Well
Be Very Specific About How Akamai
Caches, And Set Downstream
Headers As Well
Review Defaults
Increasing Control With Property Manager 9
Compression- Do You Want To Gzip
These Default Content Types?
Compression- Do You Want To Gzip
These Default Content Types?
Do You Want To Cache Objects With
These File Extensions For Only
1 Day If Unable To Validate?
Do You Want To Cache Objects With
These File Extensions For Only
1 Day If Unable To Validate?
If Cache Headers Indicate Non-
cacheable, Do You Want To Pass
Cache Headers From Origin?
If Cache Headers Indicate Non-
cacheable, Do You Want To Pass
Cache Headers From Origin?
Top Tip: Use Blank Rule As Named Divider Bar
Increasing Control With Property Manager 10
Insert Blank Rule With Category TitleInsert Blank Rule
With Category Title
Tiered Rulesets
Increasing Control With Property Manager 11
Divider Bar Allows Tiered Rulesets
Divider Bar Allows Tiered Rulesets
Business Need #1: Measure Cache Performance Of Webp
Increasing Control With Property Manager 12
How can we measure performance of infrastructure strategy changes via Akamai?
Webp #1: Main CP Code
Increasing Control With Property Manager 13
IF File Extension = WebpTHEN Assign To CP
Code 318356
Child Rules Inherit Parent Rule
IF File Extension = WebpTHEN Assign To CP
Code 318356
Child Rules Inherit Parent Rule
Parent Rule:First CP Code
Traffic Managed By Property
Parent Rule:First CP Code
Traffic Managed By Property
Webp #2: Mobile Apps
Increasing Control With Property Manager 14
Child Rule:User Agent = eBay Mobile
AppTHEN
Assign to CP Code 318357
Child Rule:User Agent = eBay Mobile
AppTHEN
Assign to CP Code 318357
Webp #3: Bots
Increasing Control With Property Manager 15
Child Rule:User Agent = bot
THEN Assign to CP Code 318358
Child Rule:User Agent = bot
THEN Assign to CP Code 318358
Business Need #2: Cache A Dynamic Response
Increasing Control With Property Manager 16
How can we improve performance of a dynamic object like an ad package, shopping cart, etc. via caching?
Caching Dynamic Responses
Increasing Control With Property Manager 17
URL
• https://tms.paypal.com/RTPS?c=e9ef6176d2a6fb28f6ed4115a283a163&m=bcef2e6f0ed504b8dc9d6033346c0e13&f=myfunc
What It Does
• Creates a unique object for the session that is part of the transaction, ad, or shopping experience
• Linked to a specific cookie
• The response object is able to change if the application changes the query string variables c, m, or f
Business Goal
• Reduce origin database load
• Improve performance for end-user
Caching Dynamic Responses
Increasing Control With Property Manager 18
Add Cookie Name To Cache Key If Its There
Add Cookie Name To Cache Key If Its There
Add Query String Data From Named Query Strings To
Cache Key
Add Query String Data From Named Query Strings To
Cache Key
Caching Dynamic Responses
Increasing Control With Property Manager 19
In Our Config Use Origin Cache Control
In Our Config Use Origin Cache Control
Example Dynamic Object:
/**/myfunc({"ETag":"09a947c2c45a714c296706b28ad010bf8"})
Business Need #3: Importing SSL Cert To Config
Increasing Control With Property Manager 20
When building a secure configuration, how can I ensure that Akamai connects securely and properly to my origin server with the new Akamai settings?
SSL Certs: Option 1
Increasing Control With Property Manager 21
DefaultDefault
SSL Certs: Option 2
Increasing Control With Property Manager 22
Set These CorrectlyMake Sure Your Cert Authority Is On
Akamai
Set These CorrectlyMake Sure Your Cert Authority Is On
Akamai
SSL Certs: Option 3-The Magic “Add” Button
Increasing Control With Property Manager 23
CustomClick “Add”
CustomClick “Add”
SSL Certs: Option 3-The Magic “Add” Button
Increasing Control With Property Manager 24
Enter Your Https Origin URLClick “Add Certificates”
Enter Your Https Origin URLClick “Add Certificates”
SSL Certs: Option 3-The Magic “Add” Button
Increasing Control With Property Manager 25
Akamai Pulls Cert Into Config
Akamai Pulls Cert Into Config
Business Need #4: Caching 100% Dynamic Things With NO CERTAIN URL
Increasing Control With Property Manager 26
“Image URL? We are no longer so primitive. We are 100% dynamic, there is no image URL, our images come from an algorithm, there is no path.
However our domain is used to do lots of things: images, JSON, etc.
We want to cache JSON 5 mins and images 45 days”
https://image.edpn.ebay.com/tools/dap/resize.php?img=http%3A//i.ebayimg.com/00/s/MzAwWDMwMA%3D%3D/z/tp0AAOSwq7JUDfqf/%24_35.JPG&size=85
JSON
Increasing Control With Property Manager 27
JSON Arrives File Extension PHP In This Application
JSON Arrives File Extension PHP In This Application
Dynamic Images
Increasing Control With Property Manager 28
Match Off The resize.phpCommand
Match Off The resize.phpCommand
Results?
Increasing Control With Property Manager 29
Content Download
58% Reduction
Content Download
58% Reduction
Connect Time 78%
Reduction
Connect Time 78%
Reduction
DSA Enabled
DSA Enabled
eBay RUM View
Increasing Control With Property Manager 30
> 20th Percentile = Significant
Performance Impact
> 20th Percentile = Significant
Performance Impact
Also Proof That Image
Caching Works!
Also Proof That Image
Caching Works!
View of AllSamples
Separated By Deciles
View of AllSamples
Separated By Deciles
Summary
Property Manager Benefits
• Increased visibility and control
• Conditional Behavior
• Activation Process
• SSL Setup
• A gazillion other things- check out the list of Behaviors available
Increasing Control With Property Manager 31
THANK YOU
Increasing Control With Property Manager 32
Steve LernerSenior Member of Technical Staff, Network Engineering
@lerner