APIs: The Gateway to Digital Transformation

Post on 11-Apr-2017

79 views 3 download

Transcript of APIs: The Gateway to Digital Transformation

APIs: The Gateway to Digital Transformation

Nuwan DiasArchitectApril 5, 2017

Agenda

● What is Digital Transformation● Why and How APIs play a key role in Digital Transformation● The Key Performance Factors of an API Ecosystem● Deployment options for your API Ecosystem● Roadmap of the WSO2 API Management platform

2

Digital Transformation is all about creating a “Digital Experience” for your customers

It’s not just about becoming “Paperless”

It’s about building a “Connected Experience”

U B E R

6

Add Diagram

Connected Experience - APIs Complementing Each Other

7

A Digital Platform

8

People Apps APIs Services and Data

Key Performance Factors of an API Platform

● Security● Rate Limiting● Integration● Analytics

9

API Gateway

10

Security

Rate Limiting

Integration

Analytics

Gateway

Apps Services and Data

Security: Identity

● Authentication● Single Sign On● Federation● Authorization

11

Authenticate via Facebook to Airbnb APIs

Security: Access Delegation

● Secure Trusted Clients● Secure Untrusted Clients● Unsecure Clients● System to System Auth/z

12

People Apps

Rate Limiting: Front End

● Monetization● Burst Control● Fair Usage Policy● Geographical Distribution● Distribution by Device Type

13

People Apps Gateway

Rate Limiting: Back-End

● Prevent Total Service Outage at Peaks● Back-End Server

Maintenance

14

GatewayServices and Data

Integration

15

Interface

Integration

Integration

16

Integration

“At present tooling for API gateways is achingly immature and so while defining applications with API gateways is possible it’s most definitely not for the faint-hearted.”

The Problem!

17

Mike Roberts, August 2016 - “Serverless Architectures” on martinfowler.com

IntegrationThe Solution

18

Ballerina

19

Ballerina

20

Analytics: Statistical Analysis

21

Analytics: Operational

● API Latency Distribution● Alerting on Abnormalities● API Health

22

API Management: Deployment OptionsOn-Premise

● Fast!● Tight security● Complete control● Limited to available infrastructure● Need to handle updates and upgrades

23

API Management: Deployment OptionsCloud

● Can leverage cloud infrastructure● No infrastructure costs ● No maintenance costs

24

Apps Gateway Cloud Services

API Management: Deployment OptionsHybrid Cloud

25

Apps Gateway Cloud Services

Auth/z Server

Internal Services

Micro Gateways: For Micro Services

26

Gateway 1

Gateway 2

Gateway n

Service 1

Service 2

Service n

The API Proxy Development Experience

● Tooling● Testing (Enhanced)● Collaboration● API Stages

27

Stages of the API Proxy

28

Multitenancy: Shared

29

Runtime

Data

Tenant 1 Tenant 2 Tenant n

Multitenancy: Shared Multitenancy: Isolated

30

Runtime

Data

Tenant 1 Tenant 2 Tenant n

Runtime

Data

Tenant 1 Tenant 2 Tenant n

ConclusionDigital Transformation is a Journey, APIs play a critical part in it!

31