Flink with MongoDB to enhance relevancy in personalization
summary
Uses Apache Flink with MongoDB to run k-means clustering on two collections (centers and points), mapping BSON to Flink tuples via the MongoDB Hadoop connector and pushing updated centroids back into a result collection. Code runs locally (NetBeans) against Flink 0.8–0.9, demonstrates iterative updates working end-to-end on small data, and logs iterations; BSON type conversion is manual now. Production plan mentions piping oplog deltas through a connector for streaming deltas, but petabyte‑scale runs are not yet validated.
AI-written summary · about
chapters (24)
- 0:00Intro
- 2:07Overview
- 5:12Create
- 5:55MongoDB
- 7:05Architecture
- 7:42Service oriented architecture
- 9:12Benefits of service oriented architecture
- 10:26Advice for developers
- 11:14Why we are here
- 11:57Backend system
- 12:56Own your data
- 14:41Flink Forward
- 14:55Big Data
- 16:02Speed
- 16:19In a nutshell
- 17:11Where to start
- 18:15Kmeans
- 18:29Kmeans in MongoDB
- 20:04Process view
- 20:24hadoop
- 20:53Flink
- 28:37Results
- 28:53Mean Shift Clustering
- 29:17Summary
