wso2con asia 2016: api management strategies and best practices

53

Upload: wso2-inc

Post on 14-Feb-2017

459 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 2: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 3: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 4: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 5: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 6: WSO2Con ASIA 2016: API Management Strategies and Best Practices

○○○○

●○○○○

Page 7: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 8: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 9: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 10: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 11: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 12: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 13: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 14: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 15: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 16: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 17: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 18: WSO2Con ASIA 2016: API Management Strategies and Best Practices

●●

●●

Page 19: WSO2Con ASIA 2016: API Management Strategies and Best Practices

●●●●

○○○○

Page 20: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 21: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 22: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 23: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 24: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 25: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 26: WSO2Con ASIA 2016: API Management Strategies and Best Practices

●●

Page 27: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Client / Partner

LDAP

Gateway

Key Manager

Store Publisher

Back EndJWT Token

JWT Token

Page 28: WSO2Con ASIA 2016: API Management Strategies and Best Practices

{ "typ":"JWT", "alg":"RS256" }{ "iss":"wso2.org/products/am", "exp":1345183492181, "http://wso2.org/claims/subscriber":"admin", "http://wso2.org/claims/applicationname":"app2", "http://wso2.org/claims/apicontext":"/placeFinder", "http://wso2.org/claims/version":"1.0.0", "http://wso2.org/claims/tier":"Silver", "http://wso2.org/claims/enduser":"wso2User" }

Page 29: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 30: WSO2Con ASIA 2016: API Management Strategies and Best Practices

•–

–•

Page 31: WSO2Con ASIA 2016: API Management Strategies and Best Practices

●●

Page 33: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Authentication Layer

Validation Layer

API Manager Implementation Layer

Exception Mapper

REST Service Implementation Layer

Response Flow Request Flow

Interceptor

Interceptor

Interceptor

CXF Container

Impl to API Model Mapper API to Impl Model Mapper

Service Stubs

Service Implementation

Swagger2CXF

Caching / Concurrency Control LayerInterceptor

Page 34: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 35: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Page 36: WSO2Con ASIA 2016: API Management Strategies and Best Practices

1 2

3 3

4 5

Page 37: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 38: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 39: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 40: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 41: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 42: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 43: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Client / Partner

Back EndPublisherStoreGatewayKey Manager

WSO2CARBON_DB

WSO2AM_DB

Page 44: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 45: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 46: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 47: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 48: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 49: WSO2Con ASIA 2016: API Management Strategies and Best Practices

Scale out

500 requests

500 X 4 requests

Scale upAPI authenticationMessage mediationService chaining

Message mediationService chaining

API authentication

Processing power 3 unit per request

Processing power 1 unit per request

Processing power 2 unit per request

Page 50: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 51: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 52: WSO2Con ASIA 2016: API Management Strategies and Best Practices
Page 53: WSO2Con ASIA 2016: API Management Strategies and Best Practices