com.ibm.streamsx.plumbing > redundant 1.0.1 > com.ibm.streamsx.plumbing.sample.redundant.active
Sample applications demonstrating redundant active flows.
An application submitted to an IBM® Streams instance represents a dataflow graph or flow, processing continuous data streams. Streams provides capabilities to restart processing elements that have failed due to host or process failure. However, while the processing element (PE) is restarting, the flow is not fully functional, and therefore may not be processing the streams correctly or with the required latency. Availability may be increased by executing multiple copies of the flow, called active replicas, so that with N active replicas, N-1 failures can be tolerated. For example with two flows, a single failure leaves one of the flows correctly processing the streams with the required latency. With the processing elements being restartable, then the failed flow can recover allowing the system to return to two active flows. Availability is increased by increasing the number of active replicas at the cost of duplicated processing and hardware. A flow (or active replica) is considered to be available when all PEs in the flow are healthy.
This namespace contains applications demonstrating execution of active replicas. In each case N independent flows are executed on a different set of hosts so that a single host failure only affects a single flow. The application com.ibm.streamsx.plumbing.sample.redundant.flow::Flow is a simulation representing reading messages from a message broker, analyzing them to find faults and sending SMS alert messages based upon the analysis.
The sample applications are: