IBM InfoSphere Streams Version 4.1.0

Running stand-alone or distributed applications

You can run either stand-alone or distributed applications in InfoSphere® Streams Studio.

About this task

SPL supports two types of applications:
  • A stand-alone application is an executable file that can be launched directly. It does not run on the Streams runtime environment. You can instruct the compiler to generate a stand-alone application by providing the -T option at compile time. In stand-alone mode, all operators are fused into a single partition and a single processing element (PE) is generated for this partition. A stand-alone executable file is also generated with the name Standalone in the output/bin directory. When launched, this executable file loads the PE.
    Note: SPL projects with a remote context are run on the remote system.
  • A distributed application is an application that can be submitted to the Streams runtime environment for execution. Unlike a stand-alone application, the operators in a distributed application can be fused to more than one PE, and the PEs can be distributed onto multiple hosts. To run this type of application on a Streams instance, you need to provide the compiler-generated application bundle file to the streamtool commands.
  • Streams Studio provides launch support for both stand-alone and distributed applications. The launch mode is determined by how the application is built. If the application is built as a stand-alone application, the application is launched as a stand-alone application. If the application is built as a distributed application, you can submit the application to a Streams instance using the various Launch menu options and launch configurations.