Skip to main content

Posts

Showing posts with the label Streaming analytics

Understanding WSO2 Stream Processor - Part 2

In the first part of this tutorial, I have explained about the concepts around WSO2 Stream Processor and how they are correlated with each other and which components users can use to implement their streaming analytics requirements. It laid out the platform for this tutorial (part 2) where we get our hands dirty with WSO2 SP. The first thing you have to do is download the WSO2 SP runtime from WSO2 website. https://wso2.com/analytics/install Once you download the product distribution, you can extract that into a directory and run the product from the bin directory. You need to set the “JAVA_HOME” environment variable to your java installation (1.8 or higher) before starting the product. In this part of the tutorial, we are going to implement some streaming analytics use cases with WSO2 SP. Hence we need to start the SP in “editor” mode using the following command (for linux). $ sh bin/editor.sh This command will start the editor profile of the WSO2 SP and prints the URL of the...

Understanding WSO2 Stream Processor — Part 1

Streaming analytics has been one of the trending topics in the software industry for some time. With the production of billions of events through various sources, analyzing these events provides the competitive advantage for any business. The process of streaming analytics can be divided into 3 main sections. * Collect — Collecting events from various sources * Analyze — Analyzing the events and deriving meaningful insights * Act — Take action on the results WSO2 Stream Processor (WSO2 SP) is an intuitive approach to stream processing. It provides the necessary capabilities to process events and derive meaningful insights with its state of the art “Siddhi” stream processing runtime. The below figure showcases how WSO2 SP acts as a stream processing engine for various events. Source:  https://docs.wso2.com/display/SP410 With the WSO2 SP, events generated from various sources like devices, sensors, applications and services can be received. The received events are pro...