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
Edge 2014: Increasing Control with Property Manager with eBay
1. Increasing Control with
Property Manager
Steve Lerner, Senior Member of Technical Staff, Network Engineering
10/8/2014
2. The eBay Inc. Portfolio
Increasing Control With Property Manager 2
PLATFORM
3. The Old Days:
Config Manager
Increasing Control With Property Manager 3
Stuck With Old
Configs
No Activation
Manager
No Links To
Edge Hostnames
Flat Rules
Engine
4. Business Need #0: Visibility And Control
• 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
Increasing Control With Property Manager 4
5. Property Manager
Increasing Control With Property Manager 5
Clear List Of
Properties And
Edge Hostnames
Hierarchical Rules
Engine
Real Time Config
Validation And Error
Reporting
6. Get Property Manager!
Increasing Control With Property Manager 6
Upgrade Old
Service Order To
Get Property
Manager
8. Key Default Settings
Increasing Control With Property Manager 8
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
9. Review Defaults
Increasing Control With Property Manager 9
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?
If Cache Headers
Indicate Non-cacheable,
Do You
Want To Pass
Cache Headers
From Origin?
10. Top Tip: Use Blank Rule As Named Divider Bar
Insert Blank Rule
With Category Title
Increasing Control With Property Manager 10
11. Tiered Rulesets
Divider Bar Allows
Tiered Rulesets
Increasing Control With Property Manager 11
12. Business Need #1: Measure Cache Performance Of Webp
How can we measure performance of infrastructure strategy changes via Akamai?
Increasing Control With Property Manager 12
13. Webp #1: Main CP Code
Parent Rule:
First CP Code
Traffic Managed By
Property
IF File Extension = Webp
THEN Assign To CP
Code 318356
Child Rules Inherit
Parent Rule
Increasing Control With Property Manager 13
14. Webp #2: Mobile Apps
Child Rule:
User Agent = eBay Mobile
App
THEN
Assign to CP Code 318357
Increasing Control With Property Manager 14
15. Webp #3: Bots
Child Rule:
User Agent = bot
THEN
Assign to CP Code 318358
Increasing Control With Property Manager 15
16. Business Need #2: Cache A Dynamic Response
How can we improve performance of a dynamic object like an ad package,
Increasing Control With Property Manager 16
shopping cart, etc. via caching?
17. Caching Dynamic Responses
URL
• https://tms.paypal.com/RTPS?c=e9ef6176d2a6fb28f6ed4115a283a163&m=
Increasing Control With Property Manager 17
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
18. Caching Dynamic Responses
Add Cookie Name To Cache
Key If Its There
Add Query String Data From
Named Query Strings To
Cache Key
Increasing Control With Property Manager 18
19. Caching Dynamic Responses
In Our Config Use Origin
Cache Control
Increasing Control With Property Manager 19
Example Dynamic Object:
/**/myfunc({"ETag":"09a947c2c45a714c296706b28ad010bf8"})
20. Business Need #3: Importing SSL Cert To Config
When building a secure configuration, how can I ensure that Akamai connects
securely and properly to my origin server with the new Akamai settings?
Increasing Control With Property Manager 20
21. SSL Certs: Option 1
Default
Increasing Control With Property Manager 21
22. SSL Certs: Option 2
Set These Correctly
Make Sure Your Cert Authority Is On
Akamai
Increasing Control With Property Manager 22
23. SSL Certs: Option 3-The Magic “Add” Button
Custom
Click “Add”
Increasing Control With Property Manager 23
24. SSL Certs: Option 3-The Magic “Add” Button
Increasing Control With Property Manager 24
Enter Your Https Origin URL
Click “Add Certificates”
25. SSL Certs: Option 3-The Magic “Add” Button
Increasing Control With Property Manager 25
Akamai Pulls Cert
Into Config
26. Business Need #4: Caching 100% Dynamic Things With
NO CERTAIN URL
“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
Increasing Control With Property Manager 26
27. JSON
JSON Arrives File
Extension PHP In
This Application
Increasing Control With Property Manager 27
28. Dynamic Images
Match Off The
resize.php
Command
Increasing Control With Property Manager 28
29. Results?
Content
Download
58%
Reduction
Increasing Control With Property Manager 29
DSA
Enabled
Connect Time
78%
Reduction
30. eBay RUM View
Increasing Control With Property Manager 30
> 20th Percentile =
Significant
Performance Impact
Also Proof
That Image
Caching
Works!
View of All
Samples
Separated By
Deciles
31. 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
32. THANK YOU
Increasing Control With Property Manager 32
Steve Lerner
Senior Member of Technical Staff, Network Engineering
slerner@ebay.com
212-495-9212
@lerner