wso2con asia 2016: api management strategies and best practices

Post on 14-Feb-2017

459 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

○○○○

●○○○○

●●

●●

●●●●

○○○○

●●

Client / Partner

LDAP

Gateway

Key Manager

Store Publisher

Back EndJWT Token

JWT Token

{ "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" }

•–

–•

●●

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

1 2

3 3

4 5

Client / Partner

Back EndPublisherStoreGatewayKey Manager

WSO2CARBON_DB

WSO2AM_DB

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

top related