API-first, going beyond SOA, ESB & Integration

36
1 Towards the API-Centric Architecture Ed Anuff SVP Product Strategy

Transcript of API-first, going beyond SOA, ESB & Integration

1

Towards the API-Centric Architecture!Ed Anuff

SVP Product Strategy

2

Ed Anuff @edanuff

What do we mean by APIs?

3 ©2015 Apigee. All Rights Reserved.

4 ©2015 Apigee. All Rights Reserved.

API is for apps

The A in API is for apps

5 ©2015 Apigee. All Rights Reserved.

Rich Clients"(Visual Basic, Delphi, etc.)

Thin Clients (Web Applications)

Rich Clients (Mobile Apps)

6 ©2015 Apigee. All Rights Reserved.

Browser

HTTP

App

Internal External

Increasingly lightweight

Hosted in an environment"

(often virtualized, increasingly a container)

Monolithic presentation and business logic

Modern server-side app

7 ©2015 Apigee. All Rights Reserved.

Often runs in an App Server

8 ©2015 Apigee. All Rights Reserved.

App

Back-end

API

Sometimes integration-based, but increasingly API-based

Apps need resources

Email services

9 ©2015 Apigee. All Rights Reserved.

Databases and storage

12-factor apps

10 ©2015 Apigee. All Rights Reserved. Adam Wiggins http://12factor.net/ MIT License

My SQL

Outbound Email Service Amazon S3

Twitter

Attached "Resources

Production "Deploy

IV. Backing Services. Treat backing services as attached resources

mysql://auth@host/db http://[email protected]/

Cloud business services

11 ©2015 Apigee. All Rights Reserved.

Database-as-a-Service

Email-as-a-Service

Storage-as-a-Service

MQ-as-a-Service

All are already in widespread use…

Internal resources

12 ©2015 Apigee. All Rights Reserved.

Many new resource services already are API-based

Developers prefer to use "APIs even with the added "

work of learning APIs versus ESB approaches

Delivering efficiencies for internal developers [24]7 delivers innovative self-service and assisted service solutions, and digital chat agents •  Apigee Edge provides IT layer that delivers authentication, API transformation, and a

consistent façade to enable [24]7’s technical team to save development hours •  Enforcing standards on APIs, applications, and data exposure and consumption •  Shortening and optimizing customization required by [24]7customers

13 ©2015 Apigee. All Rights Reserved.

“It was critical for [24]7 to find a technology solution that would help" us reduce the time and resources spent creating custom services for our leading enterprise customers.” "

~ Edgar Kalns, head of products and engineering

Internal External

14 ©2015 Apigee. All Rights Reserved.

App

Front-end

Back-end

Mobile API architecture

15 ©2015 Apigee. All Rights Reserved.

Server-Side Application Logic & Infrastructure AP

I Device-Side App Logic

SDK

Clients talk to “Experience APIs”

16 ©2015 Apigee. All Rights Reserved.

Mobile clients talking"to server-side apps"

via an API

" " App-specific, often not reusable

Not integration, not SOA

HTML5/JS and single page apps

17

Burberry Markets luxury apparel and accessories in the fast moving fashion market!

•  Clienteling app for sales associates •  Personalized customer service •  ArtOfTheTrench – a new breed of app, built with

Apigee API BaaS

Goals!•  Improve customer interaction and experience!•  Better understand customer journey !•  Increase loyalty!

18 ©2015 Apigee. All Rights Reserved.

Internal External

App

Front-end

App App

Back-end

App-to-App

19 ©2015 Apigee. All Rights Reserved.

API-centric App developers expose their own

APIs and learns others’ APIs

Agility trade-off Integration Normalized data

interchange

20 ©2015 Apigee. All Rights Reserved.

Internal External

Front-end

App App App

Back-end

21 ©2015 Apigee. All Rights Reserved.

Internal External

App

Partner App 3rd Party App

Back-end

Front-end

App

Powering global cloud interconnectivity

22

“People want simplicity, automation, orchestrators to work seamlessly in our data centers. No longer do

people have to worry about integration.”" ~ Ihab Tarazi, Chief Technology Officer

•  Gives app developers seamless, on-demand access to multiple clouds from multiple networks in more than a dozen locations around the world.

•  Simplifies the complex process of provisioning and managing connections to multiple cloud services and networks.

•  Mobilizes its digital workforce, exposing its IT services through mobile apps as required.

•  Provides developers a strong foundation to accelerate innovation in the cloud.

Via APIs, Equinix Cloud Exchange

App-to-External-App (API Ecosystems)

23 ©2015 Apigee. All Rights Reserved.

New security concerns

Different metrics

API design"matters

Innovate and Incubate 170+ integrations in three years Embedded across all platforms

© 2015 Walgreen Co. All rights reserved. developer.walgreens.com [email protected] @WalgreensAPI

Powering partner and developer ecosystems

25 ©2015 Apigee. All Rights Reserved.

Internal External

App App

Back-end

Front-end

service

service

service

service

service

service

service

service

service

Micro services architecture

Micro-Services

26 ©2015 Apigee. All Rights Reserved.

Easier to"scale component

services individually

Allows"polyglot"

programming

Components are services, not "

in-process objects

Evolving towards API First

27 ©2015 Apigee. All Rights Reserved.

"

Back-end Services

App Server

Monolithic Web App

28 ©2015 Apigee. All Rights Reserved.

Web Apps

"

Back-end Services

App Server

API-adapted Web Apps

29 ©2015 Apigee. All Rights Reserved.

Web Apps

Consumption focused

API

Other Apps

API-adapted SOA

30 ©2015 Apigee. All Rights Reserved.

Exposure focused

ESB

Internal"Services

App Server

Web Apps

API

Other Apps

API-First Enterprise

31 ©2015 Apigee. All Rights Reserved.

API Tier

Security Analytics Persistence Orchestration

All Apps

Mobile Apps

Other Apps

Web Apps

ESB

App Servers

Backend Services

Delivering BBC Store quickly, securely, at scale

Com

mon

Sec

urity

Mod

el -

OAu

th

Thre

at P

rote

ctio

n

Cac

hing

External APIFaçade & Proxy

Internal APIFaçade & Proxy

Med

iatio

n / A

ggre

gatio

n

BBC ID "Identity Management System

Seachange Videoservers

Subscription Billing

Payment APIs Seachange PosterServer

Account APIs

Content APIs

Catalog APIs

API Tier with Analytics

33 ©2015 Apigee. All Rights Reserved. Analytics

Apps App Server

APIs APIs

Services

App Consumption

•  API adaptations needed for apps •  Enable developers for business •  Security for app-to-API •  App and behavior analytics

API Exposure

•  APIs architected for abstraction •  Enable developers for API use •  Security for API-to-backend •  API Analytics

Visibility into business and operations Using APIs and data analytics to provide new visibility and insight into their digital ecosystems, customers, and business. As business moves from large batch feeds to transactional consumption model •  APIs deliver high volume information; Apigee provides operational stability for large scale •  Analytics for operations: capacity management, predicting load … •  Analytics for business: predicting what people will want to do with information and data

34 ©2015 Apigee. All Rights Reserved.

“If I deliver somebody a data feed it’s gone, I don’t know what they are doing with that data. I don’t know how they are consuming it. When they come to us directly and consume it through APIs we get visibility – what data are they pulling, how freqently, and what are they doing with it.” " ~ Greg Goff, CTO Morningstar

What to ask"when people say"“We need APIs”

Where to go once "you’ve become "

API-centric

How to get to an API-centric" Architecture

Summary

©2015 Apigee. All Rights Reserved.

? ? ?

Thank you

©2015 Apigee. All Rights Reserved.

Ed Anuff @edanuff