qmetrics.net

flink recommandSystem demo

Flink-based real-time product recommendation stack

A demo that ingests user behavior logs, ranks product popularity in near real time, and serves personalized product lists through a web UI and admin dashboard.

Overview

This stack implements real-time product recommendations built around Apache Flink stream jobs. Event logs describe views, favorites, and purchases; Flink tasks write browsing history, interest scores, user and product profiles, raw logs, and sliding-window hot rankings into HBase and Redis.

When a shopper requests recommendations, the engine reorders the hot list using profile data, then enriches each item with related products from collaborative filtering and tag-based similarity. The storefront shows three columns—popularity, collaborative filtering, and profile-based picks—and an operator view plots live metrics such as the hot list and recent log volume.

Deployment centers on Docker Compose for Kafka, HBase, Redis, MySQL, Flink, and a Spring Boot web tier, with helper scripts to compile modules, start six Flink jobs, seed Kafka test traffic, and launch the site. You can point configuration at your own Kafka, HBase, Redis, and MySQL instead of the bundled compose stack.

Scheduled jobs outside Flink read history tables to maintain item–item similarity scores used for the extra related-product columns on the recommendation page.

Key features

  • Six Flink streaming jobs for logs and profiles
  • Hot rankings cached in Redis time windows
  • User and product portraits in HBase
  • Collaborative filtering and tag similarity
  • Kafka ingestion of browse and purchase events
  • Spring Boot recommendation and admin pages
  • Docker Compose bootstrap for dependencies
  • Dashboard metrics from Flink aggregates

Use cases

  • Learning Flink recommendation patterns
  • Prototyping e-commerce personalization
  • Demonstrating stream plus serving architecture
  • Testing collaborative and content-based blends
  • Ops dashboards over live recommendation data

Tags

Similar software

OpenBB

Open-source data integration platform for analysts, quants and AI agents

Open Data Platform (ODP) by OpenBB connects proprietary, licensed and public data sources once, then exposes them to Python, OpenBB Workspace, Excel, MCP servers for AI agents, and REST APIs.

  • Connect once, consume from many surfaces
  • Python package installable with pip
  • Command-line interface (openbb-cli)
PythonWeb, CLIDetails →
★ 76k⟳ 4 days agoApache-2.0

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

  • Column-oriented OLAP storage
  • Real-time analytical SQL queries
  • High compression for large datasets
C++Linux, macOSDetails →
★ 51.4k⟳ todayApache-2.0
Open Source Alternative to:Amazon RedshiftBigQuery+1

pandas

Python data structures for labeled analysis

pandas is a Python package for working with labeled, tabular, and time-series data. It provides Series and DataFrame objects with alignment, grouping, and rich import and export options.

  • Series and DataFrame structures
  • Missing data handling
  • Group-by aggregation and transforms
PythonDetails →
★ 50.8k⟳ todayBSD-3-Clause

Polars

Rust analytical query engine for DataFrames

Polars is a DataFrame and SQL query engine written in Rust, exposed to Python, R, Node.js, and Rust. It emphasizes parallel, vectorized execution with lazy optimization and out-of-core streaming.

  • Lazy DataFrame query optimizer
  • SQL and expression APIs combined
  • Multi-threaded vectorized execution
RustDetails →
★ 40.7k⟳ todayMIT

Prefect

Python workflow orchestration for resilient data pipelines

Prefect is a Python framework for orchestrating data pipelines with scheduling, retries, caching, and event-driven automations. Activity can be watched in a self-hosted server UI or Prefect Cloud.

  • Flow and task decorators
  • Scheduling and deployments
  • Retries and caching
PythonWeb, CLIDetails →
★ 24.3k⟳ todayApache-2.0

Airbyte

Data movement platform for ELT pipelines and AI agents

Moves data from APIs, databases, and files to warehouses, lakes, and AI applications. You can deploy Airbyte Core yourself or use the managed cloud offering.

  • 700+ data connectors
  • ELT pipeline syncs
  • No-code Connector Builder
PythonWebDetails →
★ 22.5k⟳ todaySource-available
Alternative to:Fivetran