Recommendation Engine
Build a recommendation engine that reflects what users are doing right now. RisingWave continuously updates preference scores and behavioral signals from Kafka — no batch pipelines, no stale features.
Why Real-Time
User intent changes within a session. A batch-computed preference profile from last night does not reflect that a user just spent 20 minutes browsing hiking boots. Real-time recommendation engines capture in-session signals — page views, add-to-cart events, search queries — and update feature values as they happen, so model predictions stay relevant throughout the browsing session.
| Factor | Batch Pipeline | RisingWave |
|---|---|---|
| Feature Freshness | Hours (batch job) | Sub-second (streaming) |
| Session Awareness | None (stale snapshot) | Full (sliding windows) |
| Infrastructure | Spark + Feature Store + Cache | Single SQL system |
| Iteration Speed | Hours to deploy new signal | Minutes (SQL iteration) |
Use Cases
Any platform where user intent changes faster than a batch job runs benefits from real-time recommendations. E-commerce, content streaming, news feeds, and ad targeting all see measurable improvements in click-through and conversion rates when recommendations reflect current session behavior.
Compute real-time co-purchase signals, cart affinity, and category preferences from clickstream and order events to surface relevant products during active browsing sessions
Update watch history, genre affinity, and completion rate features continuously from play events, keeping content feeds aligned with what users are watching right now
Aggregate topic engagement scores, reading time, and share signals in real time to rank articles by predicted relevance for each user's current interests
Maintain real-time behavioral segments, intent signals, and conversion likelihood features to improve ad relevance and reduce wasted impressions
How It Works
RisingWave consumes clickstream, purchase, and behavioral events from Kafka and continuously updates SQL materialized views that serve as recommendation features. Your model inference layer queries these views at prediction time via a PostgreSQL interface, getting always-fresh features without caching infrastructure.
Connect Kafka clickstream data to materialized views and start serving fresh recommendation features in minutes.
Start Building