Download - Huge: Running an API at Scale
HUGE:Running an API at Scale
Sam Ramji@sramji
Brian Pagano@brianpagano
Ed Anuff@edanuff Apigee
@apigee
groups.google.com/group/api-craft
youtube.com/apigee
People will do stuff with our API we never imagined.“
-VP of Marketing
People will do stuff with our API we never imagined.“
-CTO
80 Now What?
The constructionist hypothesis breaks down when confronted with the twin difficulties of scale and complexity.
“-P.W. AndersonMore is Different
Web Value Chain
WebUser
WebTeam
InternalSystems
<HTML><SCRIPT>
WebApplication
Control
WebBrowsers
API Value Chain
AppUser
APITeam
InternalSystems
API
Control
AppApp
Developer
Running a huge web product and running a huge API product are different endeavors.
Running a platform is like running a town.“ -Ryan SarverDirector Twitter API
Complexity
Cauchy Distribution
From Direct to Indirect
AppUser
APITeamApp
AppDeveloper
Indirect
Manage application developers & applications
Manage relationships between developers’ apps and our users.
OAuth
AppUser
APITeam
AppDeveloper
App API
tokentokentoken
All applications are not created equal.
Chatty Applications – Application Developer’s POV
AppDeveloper
App API
Chatty Applications – API Team’s POV
API Team
App API
More moving parts, but you can’t stand still.
Versioning
API v1
API v2
API v3
App v1
App v2
App v3
Pro Tip: Do The Good Stuff
• Test Driven Development• Continuous Integration• QA
Scale
Scale Doesn’t Happen When You Expect It
InternalSystems
API
APIs Ask More of Internal Systems
InternalSystemsAPI
Ask Less of the API - Cache
App Cache
Web
InternalSystemsAPI
Ask Even Less of the API – Geo Distributed Cache
AmericasApp
Cache
Web
AsiaApp
EuroApp
Cache
Web
Cache
Web
Web
THANK YOUSubscribe to API webinars at:
youtube.com/apigee
THANK YOUQuestions and ideas to:
groups.google.com/group/api-craft