SlideShare a Scribd company logo
1 of 17
Download to read offline
Hypermedia At Scale
Benjamin Greenberg
November 1, 2017
Comcast Xfinity TV
Hypermedia At Scale2
Xfinity Stream Apps
Hypermedia At Scale3
Xfinity Stream Architecture
Hypermedia At Scale4
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.
The Roku image was created by IntelFreePress and is reproduced under the Creative Commons 20 Attribution License: https://creativecommons.org/licenses/by/2.0/legalcode
Other images are public domain or used with permission.
The Live TV Guide
Hypermedia At Scale5
The Live TV Guide
Hypermedia At Scale6
The Live TV Guide
Hypermedia At Scale7
2 weeks worth of listings = Over 60 MB of JSON
Hypermedia At Scale8
Grid Shape
URI: /guide/gridshape
startTime: 11/1/2017 7:55 PM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/1/2017 7:55 PM
endTime: 11/2/2017 12:00 AM
chunk
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 12:00 AM
endTime: 11/2/2017 4:00 AM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 04:00 AM
endTime: 11/2/2017 08:00 AM
chunk chunk
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
…
chunk
REST Resource
Hypermedia Link Relation
Managing the top of the hour spike
• Scale your service horizontally.
-Expensive.
-May not protect upstream services.
Hypermedia At Scale9
Managing the top of the hour spike
Hypermedia At Scale10
• Introduce prefetching or jitter into the client.
-Do you control your clients?
-If you do, how long does it take to get an update out?
Managing the top of the hour spike
• Introduce jitter from the server side.
Hypermedia At Scale11
Hypermedia At Scale12
Grid Shape
URI: /guide/gridshape
startTime: 11/1/2017 7:55 PM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/1/2017 7:55 PM
endTime: 11/2/2017 12:00 AM
chunk
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 12:00 AM
endTime: 11/2/2017 4:00 AM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 04:00 AM
endTime: 11/2/2017 08:00 AM
chunk chunk
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
…
chunk
REST Resource
Hypermedia Link Relation
Hypermedia At Scale13
Grid Shape
URI: /guide/gridshape
startTime: 11/1/2017 7:55 PM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/1/2017 7:55 PM
endTime: 11/2/2017 12:00 AM
chunk
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 12:00 AM
endTime: 11/2/2017 4:00 AM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 04:00 AM
endTime: 11/2/2017 08:00 AM
chunk chunk
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
…
chunk
REST Resource
Hypermedia Link Relation
Grid Shape
URI: /guide/gridshape
startTime: 11/1/2017 7:55 PM
chunk
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 12:00 AM
endTime: 11/2/2017 4:00 AM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/2/2017 04:00 AM
endTime: 11/2/2017 08:00 AM
chunk chunk
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
startTime: 11/2/2017 03:30 AM
endTime: 11/2/2017 07:30 AM
Grid Chunk
…
chunk
REST Resource
Hypermedia Link Relation
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/1/2017 7:55 PM
endTime: 11/2/2017 12:00 AM
Grid Chunk
URI: /guide/chunk?startTime=…
startTime: 11/1/2017 7:55 PM
endTime: 11/2/2017 12:05 AM
Managing the top of the hour spike
• Normalize linked resources across clients for efficient
caching.
Hypermedia At Scale14
Hypermedia At Scale15
00:00 04:00 08:00 12:00 16:00 20:00 00:00
7:55 PM
Hypermedia At Scale
Hypermedia At Scale16
• Hypermedia improves scalability by allowing the service to
shape behavior without client-side code changes.
• Resources and links can change and evolve as the need for
scalability increases.
• Be mindful of the cacheability of your resources, even if
you don’t need to cache them yet.
Ben Greenberg
Benjamin_Greenberg@comcast.com
@bengreen
LF_APIStrat17_Hypermedia at Scale

More Related Content

More from LF_APIStrat

LF_APIStrat17_OWASP’s Latest Category: API Underprotection
LF_APIStrat17_OWASP’s Latest Category: API UnderprotectionLF_APIStrat17_OWASP’s Latest Category: API Underprotection
LF_APIStrat17_OWASP’s Latest Category: API UnderprotectionLF_APIStrat
 
LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...
LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...
LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...LF_APIStrat
 
LF_APIStrat17_Super-Powered REST API Testing
LF_APIStrat17_Super-Powered REST API TestingLF_APIStrat17_Super-Powered REST API Testing
LF_APIStrat17_Super-Powered REST API TestingLF_APIStrat
 
LF_APIStrat17_How Mature are You? A Developer Experience Maturity Model
LF_APIStrat17_How Mature are You? A Developer Experience Maturity ModelLF_APIStrat17_How Mature are You? A Developer Experience Maturity Model
LF_APIStrat17_How Mature are You? A Developer Experience Maturity ModelLF_APIStrat
 
LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...
LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...
LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...LF_APIStrat
 
LF_APIStrat17_Things I Wish People Told Me About Writing Docs
LF_APIStrat17_Things I Wish People Told Me About Writing DocsLF_APIStrat17_Things I Wish People Told Me About Writing Docs
LF_APIStrat17_Things I Wish People Told Me About Writing DocsLF_APIStrat
 
LF_APIStrat17_Lifting Legacy to the Cloud on API Boosters
LF_APIStrat17_Lifting Legacy to the Cloud on API BoostersLF_APIStrat17_Lifting Legacy to the Cloud on API Boosters
LF_APIStrat17_Lifting Legacy to the Cloud on API BoostersLF_APIStrat
 
LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...
LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...
LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...LF_APIStrat
 
LF_APIStrat17_Don't Repeat Yourself - Your API is Your Documentation
LF_APIStrat17_Don't Repeat Yourself - Your API is Your DocumentationLF_APIStrat17_Don't Repeat Yourself - Your API is Your Documentation
LF_APIStrat17_Don't Repeat Yourself - Your API is Your DocumentationLF_APIStrat
 
LF_APIStrat17_How We Doubled the Velocity of Our Developer Experience Team
LF_APIStrat17_How We Doubled the Velocity of Our Developer Experience TeamLF_APIStrat17_How We Doubled the Velocity of Our Developer Experience Team
LF_APIStrat17_How We Doubled the Velocity of Our Developer Experience TeamLF_APIStrat
 
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then DiscoverabilityLF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then DiscoverabilityLF_APIStrat
 
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...LF_APIStrat
 
LF_APIStrat17_REST API Microversions
LF_APIStrat17_REST API Microversions LF_APIStrat17_REST API Microversions
LF_APIStrat17_REST API Microversions LF_APIStrat
 
LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...
LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...
LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...LF_APIStrat
 
LF_APIStrat17_Case Study: Cold Decision Trees
LF_APIStrat17_Case Study: Cold Decision TreesLF_APIStrat17_Case Study: Cold Decision Trees
LF_APIStrat17_Case Study: Cold Decision TreesLF_APIStrat
 
LF_APIStrat17_Getting Your API House In Order
LF_APIStrat17_Getting Your API House In OrderLF_APIStrat17_Getting Your API House In Order
LF_APIStrat17_Getting Your API House In OrderLF_APIStrat
 
LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...
LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...
LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...LF_APIStrat
 
LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...
LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...
LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...LF_APIStrat
 
LF_APIStrat17_Open Data vs. the World
LF_APIStrat17_Open Data vs. the World LF_APIStrat17_Open Data vs. the World
LF_APIStrat17_Open Data vs. the World LF_APIStrat
 
LF_APIStrat17_Practical DevSecOps for APIs
LF_APIStrat17_Practical DevSecOps for APIsLF_APIStrat17_Practical DevSecOps for APIs
LF_APIStrat17_Practical DevSecOps for APIsLF_APIStrat
 

More from LF_APIStrat (20)

LF_APIStrat17_OWASP’s Latest Category: API Underprotection
LF_APIStrat17_OWASP’s Latest Category: API UnderprotectionLF_APIStrat17_OWASP’s Latest Category: API Underprotection
LF_APIStrat17_OWASP’s Latest Category: API Underprotection
 
LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...
LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...
LF_APIStrat17_Creating Communication Applications using the Asterisk RESTFul ...
 
LF_APIStrat17_Super-Powered REST API Testing
LF_APIStrat17_Super-Powered REST API TestingLF_APIStrat17_Super-Powered REST API Testing
LF_APIStrat17_Super-Powered REST API Testing
 
LF_APIStrat17_How Mature are You? A Developer Experience Maturity Model
LF_APIStrat17_How Mature are You? A Developer Experience Maturity ModelLF_APIStrat17_How Mature are You? A Developer Experience Maturity Model
LF_APIStrat17_How Mature are You? A Developer Experience Maturity Model
 
LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...
LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...
LF_APIStrat17_Connect Your RESTful API to Hundreds of Others in Minutes (Zapi...
 
LF_APIStrat17_Things I Wish People Told Me About Writing Docs
LF_APIStrat17_Things I Wish People Told Me About Writing DocsLF_APIStrat17_Things I Wish People Told Me About Writing Docs
LF_APIStrat17_Things I Wish People Told Me About Writing Docs
 
LF_APIStrat17_Lifting Legacy to the Cloud on API Boosters
LF_APIStrat17_Lifting Legacy to the Cloud on API BoostersLF_APIStrat17_Lifting Legacy to the Cloud on API Boosters
LF_APIStrat17_Lifting Legacy to the Cloud on API Boosters
 
LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...
LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...
LF_APIStrat17_Contract-first API Development: A Case Study in Parallel API Pu...
 
LF_APIStrat17_Don't Repeat Yourself - Your API is Your Documentation
LF_APIStrat17_Don't Repeat Yourself - Your API is Your DocumentationLF_APIStrat17_Don't Repeat Yourself - Your API is Your Documentation
LF_APIStrat17_Don't Repeat Yourself - Your API is Your Documentation
 
LF_APIStrat17_How We Doubled the Velocity of Our Developer Experience Team
LF_APIStrat17_How We Doubled the Velocity of Our Developer Experience TeamLF_APIStrat17_How We Doubled the Velocity of Our Developer Experience Team
LF_APIStrat17_How We Doubled the Velocity of Our Developer Experience Team
 
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then DiscoverabilityLF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
LF_APIStrat17_API Marketing: First Comes Usability, then Discoverability
 
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
LF_APIStrat17_Standing Taller with Technology: APIs, IoT, and the Digital Wor...
 
LF_APIStrat17_REST API Microversions
LF_APIStrat17_REST API Microversions LF_APIStrat17_REST API Microversions
LF_APIStrat17_REST API Microversions
 
LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...
LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...
LF_APIStrat17_I Believe You But My Enterprise Don't: Adopting Open Standards ...
 
LF_APIStrat17_Case Study: Cold Decision Trees
LF_APIStrat17_Case Study: Cold Decision TreesLF_APIStrat17_Case Study: Cold Decision Trees
LF_APIStrat17_Case Study: Cold Decision Trees
 
LF_APIStrat17_Getting Your API House In Order
LF_APIStrat17_Getting Your API House In OrderLF_APIStrat17_Getting Your API House In Order
LF_APIStrat17_Getting Your API House In Order
 
LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...
LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...
LF_APIStrat17_Diving Deep into the API Ocean with Open Source Deep Learning T...
 
LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...
LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...
LF_APIStrat17_Supporting SDKs in 7 Different Programming Languages While Main...
 
LF_APIStrat17_Open Data vs. the World
LF_APIStrat17_Open Data vs. the World LF_APIStrat17_Open Data vs. the World
LF_APIStrat17_Open Data vs. the World
 
LF_APIStrat17_Practical DevSecOps for APIs
LF_APIStrat17_Practical DevSecOps for APIsLF_APIStrat17_Practical DevSecOps for APIs
LF_APIStrat17_Practical DevSecOps for APIs
 

Recently uploaded

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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...apidays
 
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 2024The Digital Insurer
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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 Takeoffsammart93
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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)wesley chun
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Recently uploaded (20)

+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...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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...
 
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
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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?
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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)
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

LF_APIStrat17_Hypermedia at Scale

  • 1. Hypermedia At Scale Benjamin Greenberg November 1, 2017
  • 4. Xfinity Stream Architecture Hypermedia At Scale4 The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. The Roku image was created by IntelFreePress and is reproduced under the Creative Commons 20 Attribution License: https://creativecommons.org/licenses/by/2.0/legalcode Other images are public domain or used with permission.
  • 5. The Live TV Guide Hypermedia At Scale5
  • 6. The Live TV Guide Hypermedia At Scale6
  • 7. The Live TV Guide Hypermedia At Scale7 2 weeks worth of listings = Over 60 MB of JSON
  • 8. Hypermedia At Scale8 Grid Shape URI: /guide/gridshape startTime: 11/1/2017 7:55 PM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/1/2017 7:55 PM endTime: 11/2/2017 12:00 AM chunk Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 12:00 AM endTime: 11/2/2017 4:00 AM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 04:00 AM endTime: 11/2/2017 08:00 AM chunk chunk Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk … chunk REST Resource Hypermedia Link Relation
  • 9. Managing the top of the hour spike • Scale your service horizontally. -Expensive. -May not protect upstream services. Hypermedia At Scale9
  • 10. Managing the top of the hour spike Hypermedia At Scale10 • Introduce prefetching or jitter into the client. -Do you control your clients? -If you do, how long does it take to get an update out?
  • 11. Managing the top of the hour spike • Introduce jitter from the server side. Hypermedia At Scale11
  • 12. Hypermedia At Scale12 Grid Shape URI: /guide/gridshape startTime: 11/1/2017 7:55 PM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/1/2017 7:55 PM endTime: 11/2/2017 12:00 AM chunk Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 12:00 AM endTime: 11/2/2017 4:00 AM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 04:00 AM endTime: 11/2/2017 08:00 AM chunk chunk Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk … chunk REST Resource Hypermedia Link Relation
  • 13. Hypermedia At Scale13 Grid Shape URI: /guide/gridshape startTime: 11/1/2017 7:55 PM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/1/2017 7:55 PM endTime: 11/2/2017 12:00 AM chunk Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 12:00 AM endTime: 11/2/2017 4:00 AM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 04:00 AM endTime: 11/2/2017 08:00 AM chunk chunk Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk … chunk REST Resource Hypermedia Link Relation Grid Shape URI: /guide/gridshape startTime: 11/1/2017 7:55 PM chunk Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 12:00 AM endTime: 11/2/2017 4:00 AM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/2/2017 04:00 AM endTime: 11/2/2017 08:00 AM chunk chunk Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk startTime: 11/2/2017 03:30 AM endTime: 11/2/2017 07:30 AM Grid Chunk … chunk REST Resource Hypermedia Link Relation Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/1/2017 7:55 PM endTime: 11/2/2017 12:00 AM Grid Chunk URI: /guide/chunk?startTime=… startTime: 11/1/2017 7:55 PM endTime: 11/2/2017 12:05 AM
  • 14. Managing the top of the hour spike • Normalize linked resources across clients for efficient caching. Hypermedia At Scale14
  • 15. Hypermedia At Scale15 00:00 04:00 08:00 12:00 16:00 20:00 00:00 7:55 PM
  • 16. Hypermedia At Scale Hypermedia At Scale16 • Hypermedia improves scalability by allowing the service to shape behavior without client-side code changes. • Resources and links can change and evolve as the need for scalability increases. • Be mindful of the cacheability of your resources, even if you don’t need to cache them yet. Ben Greenberg Benjamin_Greenberg@comcast.com @bengreen