IBM Streams 4.3.0

Overview of the Commodity Purchasing sample application

The Commodity Purchasing sample application processes live data streams and makes real-time decisions to illustrate the nature of stream processing applications. The application is designed to run in a basic environment. It does not attempt to demonstrate the scalability or low latency that can be achieved by using IBM® Streams.
The Commodity Purchasing sample application is used by analysts to help them make commodity purchasing decisions. The application provides the following information:
  • Identifies the best supplier to purchase from at any point in time, taking into account both quality and risk-management considerations.
  • Looks for opportunities to buy Infoberries (a fictitious commodity) of especially fine quality, and automatically purchases them.
  • Monitors for supply levels that are critically low and automatically buys more Infoberries from the best current supplier.
The following graphic shows a breakdown of the different parts of the Commodity Purchasing sample application. The application consists of the following parts:
  • Multiple data sources.
  • A streams processing application that is written in the IBM Streams Processing Language (SPL).
  • Multiple data sinks.
  • A browser-based application user interface.
This figure shows a breakdown of the different parts of the Commodity Purchasing sample application.