How to use Donuts and Onions
for Scaling API Programs
@ManfredBo
How to use Donuts and Onions
for Scaling API Programs
Manfred Bortenschlager
I work at 3scale.netOut-of-the-box API Management
@3scale
APIStrat ChicagoSeptember 25, 2014
@API_Mag
@ManfredBo3
What do I want to achieve?
Share best-practices related to scaling API
programs
API Adoption
API Operations
API Analytics
@ManfredBo4
Operations
@ManfredBo5
Operations
@ManfredBo6
Objective of an API Program
To increase quantity and/or quality
of API adoption.
@ManfredBo7
DX –
Image source:
http://dx.jeremiahlee.com/
Because Developers are People, too
@ManfredBo9
A developer program is the
manifestation of DX.
Ideally.
Developer Portal
Acceleration
Pilots / Case Studies
Community Building
Measure
Com
ms
Socia
l M
edia
Events
Evangelis
t
Image Source: http://exclusiveblend.files.wordpress.com
@ManfredBo12
@ManfredBo13
Operations
@ManfredBo15
Minimum API Operations
Access Control: authentication and authorization to identify the
originator of incoming traffic and ensure only
permitted access.
Rate Limits and Usage Policies: usage quotas and restrictions
on incoming traffic to keep loads predictable.
Analytics: data capture and analysis of traffic patterns to
learn how the API is being used.
@ManfredBo16
Cost
FlexibilityQuality
Speed Dependability
Internal
External
Source:
Nigel Slack et al. (2013)
@ManfredBo17
Cost
FlexibilityQuality
Speed Dependability
Internal
Val
ue
for
mo
ney
All
4 o
bje
ctiv
es
Perc
eive
d
valu
e External
Rate limits
Availability
Versioning
Releases
DX
Evangelists
Documentation
Support
Caching
Latency
@ManfredBo18
Operations
@ManfredBo19
Lean Analytics
Source:
Alistair Croll & Benjamin Yoskovitz (2013): Lean Analytics
@ManfredBo21
@ManfredBo22
Metrics:
• Number of API calls (per API per time unit)
• Latency, availability, round trip
• Response/error types
• Activities of apps/developers
• Etc.
Make sure to measure the right things
in the right stages.
@ManfredBo26
New ebook
“Building Effective API Programs”
Get it from http://www.3scale.net/blog/
Or contact [email protected]
@ManfredBo27
APIStrat Speed Hack
Friday, Sept. 26
11:45am
Developer Track
@ManfredBo28
Wrap-up & Take-away
A scaling API program requires a lot more than a
technically well-working API.
API adoption in quantity or quality is mandatory.
DX is the key to adoption. Evangelists are key to DX.
The API operations’ key performance objectives are
designed to support adoption.
API Analytics give you the intelligence to steer.
@ManfredBo
Q&AManfred Bortenschlager
I work at 3scale.netOut-of-the-box API Management
@3scale
How to use Donuts and Onions
for Scaling API Programs