Why both BAM and CEP?
WSO2 BAM and WSO2 CEP both are products of WSO2 that are capable of data processing. But they are used for different purposes.
- BAM is a secondary storage data analysics based platform,
- While CEP is an in-memory real-time data processing platform
Data processing latency is considerably high in BAM as it is storage based system related to CEP. Therefore CEP is the solution if the requirement is real-time analysis such as alerting. So if there is a combination of requirements for both BAM and CEP, the solution is the integration of either,
- CEP in BAM - Installing CEP features in a compatible BAM server
- BAM in CEP - Installing BAM components in a compatible CEP server
- CEP and BAM in Carbon - Installing both BAM and CEP features in a compatible Carbon server
Within these alternative approaches this document will explain the first alternative, installing CEP features in a compatible BAM server.