- Streaming analytics
- Event-driven applications
- Real-time data enrichment
- Feature engineering
Streaming analytics
Consider scenarios like stock trading, sports betting, IoT monitoring, or other domains where you are dealing with high-velocity event streams from APIs, sensors, Kafka, or other sources. The need to continuously analyze this data is crucial for detecting buy or sell opportunities in financial markets, monitoring real-time sensor data for anomalies, or tracking live sports events for betting insights. In such cases, the analysis must be both fresh and consistent, ensuring that decisions are made based on the most current information.Example: Stock trading analytics
Take stock trading as an example. Imagine you want to analyze real-time market data to identify potential trading opportunities. Suppose your data is streaming from Kafka. Here is how RisingWave can streamline this process.- Connect to Kafka
- Express analytics logic in materialized views
- Check the result
Event-driven applications
In event-driven architectures, the ability to respond to events as they happen is paramount. Whether you are building sophisticated monitoring and alerting systems for critical applications like fraud detection, anomaly detection, or customer engagement systems like marketing automation, RisingWave provides the real-time capabilities you need.Example: Fraud detection system
Imagine building a fraud detection system that monitors credit card transactions. You want to trigger an alert when a credit card is used more than five times within a short period for purchases exceeding a certain amount.- Connect to Kafka
- Define the event logic
- Send alerts
Real-time data enrichment
Real-time data enrichment is essential in scenarios where raw data needs to be augmented with additional context before being processed further. This is particularly useful for industries like finance, e-commerce, and ad tech, where combining real-time data streams with historical or reference data can significantly enhance decision-making.Example: Real-time customer personalization in E-Commerce
Imagine running an e-commerce platform and wanting to personalize customer experiences in real-time. As customers browse your site, you collect clickstream data and combine it with historical purchase data to offer personalized recommendations instantly.- Ingest real-time clickstream data
- Enrich data with historical purchases
- Deliver personalized recommendations
Feature engineering
Feature engineering is the process of creating feature vectors from raw data, which are essential inputs for machine learning models. In industries like ad tech, where predicting user behavior in real-time is crucial, generating accurate feature vectors from streaming data can significantly enhance the performance of your models.Example: Real-time ads bidding
In the context of online advertising, predicting the optimal bidding price for ad slots is a key challenge. By using the previous day’s bidding data, you can build feature vectors that help predict future bidding prices in real-time.- Ingest previous day’s bidding data
- Build feature vectors
- Use feature vectors for prediction
- Real-time inference
PREDICT_BID
, that predicts the next bid given the most recent data.