Top Banner
Globalization, Black Swans, and APIs Delivering APIs to a global audience #gluecon #apinext Sam Ramji, @sramji VP Strategy Apigee
68

Globalization, Black Swans, and APIs

Jan 15, 2015

Download

Technology

Sam Ramji

How do you deal with global consumption of your APIs? You need to understand the lesson of the Black Swan and apply the following rules for resilience: deliver locally, serve elastically, and specialize universally.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Globalization, Black Swans, and APIs

Globalization,Black Swans,and APIs

Delivering APIs to a global audience#gluecon #apinext

Sam Ramji, @sramjiVP StrategyApigee

Page 2: Globalization, Black Swans, and APIs

There are more APIs than ever before

Page 3: Globalization, Black Swans, and APIs

Data from Programmable Web

2005 2006 2007 2008 2009 2010 20110

1000

2000

3000

4000

5000

6000

Open APIs from 2005-2011

Page 4: Globalization, Black Swans, and APIs

But that only tells part of the story

Page 5: Globalization, Black Swans, and APIs

API traffic is up 20x from last year

Page 6: Globalization, Black Swans, and APIs

Growth of Netflix API

Jan-10

Feb-10

Mar-1

0

Apr-10

May-1

0Jun-10

Jul-10

Aug-10

Sep-10

Oct-10

Nov-10

Dec-10

Jan-110

5

10

15

20

25M

onth

ly R

eque

sts

in B

illio

ns

Page 7: Globalization, Black Swans, and APIs

Adoption is faster than with previous waves

Page 8: Globalization, Black Swans, and APIs
Page 9: Globalization, Black Swans, and APIs

And it’s going to go higher

Page 10: Globalization, Black Swans, and APIs

Wim ElfrinksChief Globalization Officer

Cisco

Page 11: Globalization, Black Swans, and APIs

With tons of different connected devices

Page 12: Globalization, Black Swans, and APIs

Visualization by Apigee

Page 13: Globalization, Black Swans, and APIs

So API Virtualization is even more relevant than a year ago

Page 14: Globalization, Black Swans, and APIs

But the biggest change is that APIs havegone global

Page 15: Globalization, Black Swans, and APIs

GLOBALIZATION

Page 16: Globalization, Black Swans, and APIs

Globalization itself is not new

Page 17: Globalization, Black Swans, and APIs
Page 18: Globalization, Black Swans, and APIs

But it is more important than ever to APIs

Page 19: Globalization, Black Swans, and APIs
Page 20: Globalization, Black Swans, and APIs

This is about business and technology

Page 21: Globalization, Black Swans, and APIs

Technology is about global reach

Page 22: Globalization, Black Swans, and APIs

Business is about local delivery

Page 23: Globalization, Black Swans, and APIs

And while the opportunity is global

Page 24: Globalization, Black Swans, and APIs
Page 25: Globalization, Black Swans, and APIs

The restrictions are local

Page 26: Globalization, Black Swans, and APIs
Page 27: Globalization, Black Swans, and APIs

And with Black Swans.

Page 28: Globalization, Black Swans, and APIs

BLACK SWANS

Page 29: Globalization, Black Swans, and APIs

Black Swans are catastrophic events

Page 30: Globalization, Black Swans, and APIs

Black Swans are catastrophic eventsfrequently predictable in hindsight

Page 31: Globalization, Black Swans, and APIs
Page 32: Globalization, Black Swans, and APIs

Nassim Nicholas Taleb

“ What we call here a Black Swan … is an event with the following three attributes.

First, it is an outlier, as it lies outside the realm of regular expectations, because nothing in the past can convincingly point to its possibility.

Second, it carries an extreme impact.

Third, in spite of its outlier status, human nature makes us concoct explanations for its occurrence after the fact, making it explainable and predictable.

Page 33: Globalization, Black Swans, and APIs

A strong correlation exists between Black Swans and “fat tail” distributions

Page 34: Globalization, Black Swans, and APIs
Page 35: Globalization, Black Swans, and APIs

Avoid the purple curve.

Page 36: Globalization, Black Swans, and APIs

GLOBALIZINGAPIS

Page 37: Globalization, Black Swans, and APIs

Three rules for globalizing APIs and hiding from the Black Swan

Page 38: Globalization, Black Swans, and APIs

Distribute Locally

Serve Elastically

Specialize Universally

Page 39: Globalization, Black Swans, and APIs

Cash is king

distribute locally

Page 40: Globalization, Black Swans, and APIs

Cache is king

distribute locally

Page 41: Globalization, Black Swans, and APIs

Vertical Caching

Page 42: Globalization, Black Swans, and APIs

Horizontal Caching

Page 43: Globalization, Black Swans, and APIs

Two-Dimensional Caching

Page 44: Globalization, Black Swans, and APIs

Structure your API for cacheability

Offload OAuth and traffic processing

Your API is the control plane for your CDN

distribute locally

Page 45: Globalization, Black Swans, and APIs

Mobile plus global equals spikes of insanity

serve elastically

Page 46: Globalization, Black Swans, and APIs

Sometimes this is calledcatastrophic success

serve elastically

Page 47: Globalization, Black Swans, and APIs

Anycasting

Cloudscaling

Geographic redundancy

serve elastically

Page 48: Globalization, Black Swans, and APIs

One size fits none

specialize universally

Page 49: Globalization, Black Swans, and APIs

Security protocol and version

Audit and regulation compliance

Device format and bandwidth

specialize universally

Page 50: Globalization, Black Swans, and APIs

Distribute Locally

Serve Elastically

Specialize Universally

Page 51: Globalization, Black Swans, and APIs

Following this guidance will drastically improve your operational resilience

Page 52: Globalization, Black Swans, and APIs
Page 53: Globalization, Black Swans, and APIs

And help you hide from the Black Swan

Page 54: Globalization, Black Swans, and APIs
Page 55: Globalization, Black Swans, and APIs

While scaling your business globally

Page 56: Globalization, Black Swans, and APIs

IN CONCLUSION

Page 57: Globalization, Black Swans, and APIs

Taleb offers 10 rules for a Black Swan-resilient society.

Page 58: Globalization, Black Swans, and APIs

Rule number 6 is

Page 59: Globalization, Black Swans, and APIs

Nassim Nicholas Taleb

“ Don’t give children sticks of dynamite, even if they come with a warning label.

Page 60: Globalization, Black Swans, and APIs

APIs have arrived on a global scale and they are dynamite.

Page 61: Globalization, Black Swans, and APIs

APIs can dematerialize obstacles to your business

Page 62: Globalization, Black Swans, and APIs
Page 63: Globalization, Black Swans, and APIs

APIs can destroy your infrastructure

Page 64: Globalization, Black Swans, and APIs
Page 65: Globalization, Black Swans, and APIs

But you are not children and you have seen the warning label

Page 66: Globalization, Black Swans, and APIs

Be forewarned and forearmed

Page 67: Globalization, Black Swans, and APIs

Distribute locally, serve elastically, and specialize universally

Page 68: Globalization, Black Swans, and APIs

THANK YOUQuestions and ideas to:

@sramji@apigee