web services in the real world by afkham azeez ([email protected]) & eran chinthaka...
TRANSCRIPT
![Page 1: Web Services in the Real World By Afkham Azeez (azeez@wso2.com) & Eran Chinthaka (chinthaka@apache.org)azeez@wso2.comchinthaka@apache.org](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/3.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/8.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/9.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/11.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/14.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.net/reader036/viewer/2022081515/56649f1f5503460f94c36d64/html5/thumbnails/16.jpg)
Thank You