InfoSphere Streams Version 4 is a major new release with significant advances in high availability and ease of use. Leveraging these requires careful consideration of performance related configuration options.
In Streams 4.0, the geospatial toolkit introduced a new operator called Geofence. The Geofence operator allows you to dynamically add or remove geographical regions of interest. As entities move in and out of these regions, the operator will provide entry and exit events.
This video demonstrates how you can use the Geofence operator to run a smart marketing campaign. The application monitors a number of cell phone users. As users enter or exit a predefined geofence area, they will receive marketing information based on their current location.
To assist in developing and debugging an SPL application, Streams provides the appTrc function to produce trace messages. For example:
appTrc(Trace.debug,"Tuple is "+(rstring)Data);
It should be no surprise that there’s a cost to output these messages to the log file or the terminal. What may be surprising, though, is that there’s a cost to even having the statement when no output is produced.
Getting your hosts installed and setup in a domain using InfoSphere Streams 4.0 is very easy. This article will walk through installing the product to each host in your multi-host environment and setting up the InfoSphere Streams services to automatically restart when the host reboots after a host failure (i.e. run the domain controller service as a system service).