This document discusses analyzing massive data streams in real-time and batch processing. It describes how data streams are created from sources like machine logs and sensors. The data can be stored in databases or data stores like HDFS. The data can then be analyzed through either batch processing using Hadoop/Hive or real-time processing using Storm/CEP engines like WSO2 Siddhi. The document presents WSO2's big data architecture for receiving and analyzing the same data streams in both batch using BAM and real-time using CEP.