To watch recording of this webinar please use the below URL :
http://wso2.com/library/webinars/2015/11/improved-business-availability-and-scalability-with-wso2-esb-4.9s-new-coordination-framework/
Task coordination support is one of the salient features available in the WSO2 ESB 4.9.0 release. Scheduled tasks and the message processor are backed by unified tasks. This lets you execute tasks in a cluster that yields high availability and scalability.
In this webinar we will discuss
An introduction to tasks
How the message processor can be used to improve availability in your business
How the task count parameter of the message processor improves the scalability in a cluster setup
Scheduled tasks in action
How inbound endpoints improve dynamism
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Improved Business Availability and Scalability with WSO2 ESB 4.9’s New Coordination Framework
1. Improved Business Availability and
Scalability with WSO2 ESB 4.9.0’s New
Coordination Framework
Ravindra Ranwala
Software Engineer
Nadeeshaan Gunasinghe
Software Engineer
Nov 2015
2. About the Presenters
● Ravindra Ranwala Software Engineer WSO2
● Nadeeshaan Gunasinghe Software Engineer WSO2
3. Outline
● Business Availability
● Business Scalability
● Coordination Support in WSO2 ESB
○ Message Processor
○ Scheduled Tasks
● Demonstration on Tasks and Message Processor in a Clustered Environment
● Conclusion
● Q&A
4. Business Availability
● Ensure your systems run most of the time without interruptions
● How to Achieve
○ Avoiding Single point of failures
● Real world Implementation
○ Clusters of Service Nodes
5. Business Scalability
● Definition: Accepts increased traffic in graceful and controlled manner
● How to Achieve
○ By adding more nodes to a system
● Real World Implementation
○ Clustering the Nodes
6. Task Coordination Support in WSO2 ESB
● Using the much faster coordination support of the Carbon framework
● Scheduled Tasks and Message Processors
○ Deploying in the clusters and coordination across the nodes
○ Continuously running as long as there is at least one node is up and
running
7. Message Processor
● Guaranteed delivery with store and forward mechanism
● Rate matching/ Throttling can be done by using the Sampling Processor
● JMS Message broker as the persistence store – WSO2 MB, Apache ActiveMQ etc.
● MP Coordination support - Clustered Environment
○ Yields high Availability and Scalability
8. Store And Forward - Guaranteed Delivery
● Scheduled Message Forwarding Processor can be
used.
9. Store and Forward - Request Rate Matching
● Sampling Message Processor can be used.
12. Scheduled Tasks
● Facilitate to run a job triggered by a timer
● WSO2 ESB has it’s inbuilt task support to allow injecting messages to ESB in scheduled
intervals
● Task Trigger types
○ Specifying the count and interval
○ Cron expressions
○ Making the task run only once with the once atribute
13. Scheduled Tasks Ctd..
● Writing own tasks with custom Java Classes implementing org.apache.synapse.startup.Task
Interface