Web Services in the Real World By Afkham Azeez ([email protected]) & Eran Chinthaka...

16
Web Services in the Real World By Afkham Azeez ([email protected] ) & Eran Chinthaka ([email protected] )

Transcript of Web Services in the Real World By Afkham Azeez ([email protected]) & Eran Chinthaka...

Page 1: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

Web Services in the Real World

ByAfkham Azeez ([email protected]) & Eran Chinthaka ([email protected])

Page 2: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

Overview

• TODO

Page 3: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

1. Dynamic Routing + Auditing

Page 4: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

1. Dynamic Routing + Auditing

• Different Synapse configs during the day– Routing to different services based on the config

• Optimizing resource allocation

– Synapse config dynamically built by combining different config elements

• All requests/responses should be logged for auditing purposes– Using log mediator

• When switching configs, servers are put into maintenance mode– Done using JMX

• What is the significance of using an ESB here?

Page 5: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

2. Push and Pull

Page 6: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

2. Push and Pull

• Synapse trade reconciliation task periodically executed

• Get trading list from clearance data service

• Get corresponding successful trades from trading data service

• Reconcile data in the clearance database & trading database

Page 7: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

3. MDM & EDA

• Multiple customized IT management systems

• Different formats for data representation in these systems

Page 8: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

3. MDM & EDA

Page 9: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

3. MDM & EDA

• Adaptor Layer

– Axis2 used for hosting adaptor services which talk to backend (BE) systems

– Publishes events when changes occur in the BE systems

– Publishes & subscribes to specific G-message events

– Converts GBOs into ASBOs

• Integration Server

– Acts as the event broker.

– Transforms events into a generic format

– Manages subscriptions

• Logic Server

– Manages the master data repository

– Takes care of the feedback problem

• Registry

– Used for storing topics, subscriptions, policies

Page 10: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

4. Protocol Bridging

Page 11: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

5. External Authn & Authz

Page 12: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

6. External Authn & Authz 2

Page 13: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

6. Autoscaling

Page 14: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

7. Cloud Gateway

Page 15: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

Questions

Page 16: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org.

Thank You