innovative foundation for an open source api management platform

44
Innovative Foundation For an Open Source API Management Platform Asanka Abeysinghe @asankama

Upload: wilmet

Post on 24-Feb-2016

56 views

Category:

Documents


0 download

DESCRIPTION

Innovative Foundation For an Open Source API Management Platform. Asanka Abeysinghe @ asankama. APIs ?. Photo credit : http:// blogs.ukoln.ac.uk /good- apis - jisc /. Business APIs. An API is a business capability delivered over the Internet to internal or external consumers - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Innovative Foundation For an Open Source API Management Platform

Innovative Foundation For an Open Source API Management

Platform

Asanka Abeysinghe@asankama

Page 2: Innovative Foundation For an Open Source API Management Platform

APIs ?

Photo credit : http://blogs.ukoln.ac.uk/good-apis-jisc/

Page 3: Innovative Foundation For an Open Source API Management Platform
Page 4: Innovative Foundation For an Open Source API Management Platform

Business APIsAn API is a business capability delivered over the

Internet to internal or external consumersNetwork accessible function Available using standard web protocolsWith well-defined interfacesDesigned for access by third-parties

A Managed API is:Actively advertised and subscribe-ableAvailable with SLAsSecured, authenticated, authorized and protectedMonitored and monetized with analytics

Page 5: Innovative Foundation For an Open Source API Management Platform

Growth which can’t be ignored

Page 6: Innovative Foundation For an Open Source API Management Platform

The API billionaires

More than 15 billion calls per day, 75% through APIs

More than 1 billion calls per day

More than 5 billion calls per day

More than 260 billion objects stored in S3

More than 3.1 billion transactions per day

Page 7: Innovative Foundation For an Open Source API Management Platform

APIs and Business Consumers

Business

Browsers

Game Consoles

Cloud Services

Gas Stations

TabletsSmart Phones

Connected Cars

Partners

Social Networks

Page 8: Innovative Foundation For an Open Source API Management Platform

APIs Create a New Relationship

B2D

Page 9: Innovative Foundation For an Open Source API Management Platform

API UsageExternal

Public API Private API

InternalPublic APIPrivate API

Page 10: Innovative Foundation For an Open Source API Management Platform

Demand for APIs

Picture Credit : http://www.newscientist.com/blogs/onepercent/2012/01/letting-gamers-experience-the.html

Page 11: Innovative Foundation For an Open Source API Management Platform

Demand for APIs – cont..

RESTful

JSON OAuth

WEB API Design

Page 12: Innovative Foundation For an Open Source API Management Platform

Business Services- Heterogeneous

- Styles - SOAP- RESTful

- Bindings - SOAP/HTTP/s- POX/HTTP/s- POX/JMS- JSON/HTTP/s - File {CSV, EDA, COBOL}

- Development languages {Java, WCF, PHP, C/C++, JavaScript}

- Functionality {Focused on internal service consumers/ applications}

- Silos, owned by various BUs, no control

Page 13: Innovative Foundation For an Open Source API Management Platform

API Façade Pattern

External Format (Demand)

Façade

Mediation

Backend Services

Page 14: Innovative Foundation For an Open Source API Management Platform

API Ecosystem ModelFrom SOA lessons learned, best practices roles

•API Creator• Builds, manages, and versions API• Understand business and technical requirements• Cares about usage and scaling• Seeks feedback, ratings, usage

•API Publisher• Publishes, Promotes and encourages consumers to adopt APIs

• Determines usage patterns and how to best monetize asset

• Monitors and secures

•API Consumer• Understands the interface definition

• Subscribes and connects application to API

• Monitors own usage and cost basis

• Provides feedback and ratings

Page 15: Innovative Foundation For an Open Source API Management Platform

API Manager Components

Page 16: Innovative Foundation For an Open Source API Management Platform

API Gateway API Store API Publisher

API Auth Server API AnalyticsPlatform

RDBMS2.0

Event Receiver

Event Analyzer + Dashboard

Event Store

ELBExt LBExt Analytics2.0

Component Architecture

Ext Auth

Page 17: Innovative Foundation For an Open Source API Management Platform

API Gateway

API Store

API Publisher

API Auth Server

ELB

Apache Family

Event Receiver

Event Analyzer

Event Store

Apache Thrift ™

Page 18: Innovative Foundation For an Open Source API Management Platform

Apache Modules and Carbon

OSGify

Page 19: Innovative Foundation For an Open Source API Management Platform

Order-API(created)Order-API(published)

API Publisher

API Store

API Gateway

API Publisher

API Subscriber

Create

Publish

Subscribe

Get API Key

Order Service

Consume

Consu

me

Order-API(listed)

Application

Order-API(published)

APIs in Action

Page 20: Innovative Foundation For an Open Source API Management Platform

Synapse Runtime

Page 21: Innovative Foundation For an Open Source API Management Platform

APIs and Resources

URI = Schema://host:port/authority/path[?query]e.g. http://localhost:8280/trade/1.0.0/order/{orderID}

Page 22: Innovative Foundation For an Open Source API Management Platform

APIs Map to HTTP Methods

Page 23: Innovative Foundation For an Open Source API Management Platform

Sample Configuration

Page 24: Innovative Foundation For an Open Source API Management Platform

APIs in Action - OAuth

API Gateway

Auth / Key Management Server

Auth Handler (OAuth)

User Store

API Subscriber

Application

Page 25: Innovative Foundation For an Open Source API Management Platform

OAuth-2.0Keys

Consumer Key Consumer Secret Access Token

Profiles OAuth Core SpecificationBearer Token Profile JSON Web Token (JWT) Bearer ProfileSAML2.0 Bearer Assertion Profile

Page 26: Innovative Foundation For an Open Source API Management Platform

CMD $:…..

Page 27: Innovative Foundation For an Open Source API Management Platform

Data to Scale : API Statistics

Picture Credit : http://www.mta.info/

Page 28: Innovative Foundation For an Open Source API Management Platform

The Feedback Cycle

Gather API data

Slice and Dice

Decide

Adjust parameters

Page 29: Innovative Foundation For an Open Source API Management Platform

Gathering API data- What if you want custom data off of API

requests?- Plug-in a monitoring extension – mediator- Net total of each order – total=259

API Manager Analytics

Page 30: Innovative Foundation For an Open Source API Management Platform

Slice and Dice• Customers who have placed orders above

2 mil USD• Select customer_name,

sum(order_amount) from Orders groupby customer_name

Customer_name Sum(order_amount)

Coyote 2,332,223

Acme 10,654,333

Page 31: Innovative Foundation For an Open Source API Management Platform

Decide

- Check for trends- Compare past results- Get help with Reporting & Dashboards

Page 32: Innovative Foundation For an Open Source API Management Platform

Adjust Parameters

- Increase server capacity- Increase redundancy- Retire APIs- Introduce new versions

Page 33: Innovative Foundation For an Open Source API Management Platform

Deployment : Pattern 1

Page 34: Innovative Foundation For an Open Source API Management Platform

Deployment : Pattern 2

Page 35: Innovative Foundation For an Open Source API Management Platform

Deployment : Pattern 3

Page 36: Innovative Foundation For an Open Source API Management Platform

Product : http://wso2.com/products/api-manager/

Page 37: Innovative Foundation For an Open Source API Management Platform
Page 38: Innovative Foundation For an Open Source API Management Platform
Page 39: Innovative Foundation For an Open Source API Management Platform
Page 40: Innovative Foundation For an Open Source API Management Platform
Page 41: Innovative Foundation For an Open Source API Management Platform
Page 42: Innovative Foundation For an Open Source API Management Platform
Page 43: Innovative Foundation For an Open Source API Management Platform

API Analytics

Page 44: Innovative Foundation For an Open Source API Management Platform

Summary

Open Source Enterprise API Management Platform, utilizing Apache Modules

- Find and subscribe/buy APIs- API Store and Governance

- Manage, secure and protect APIs- API Management and Gateway

- Monitor and Monetize APIs- API Monitoring and Analytics