Open ohliumliu opened 7 years ago
About using spark streaming to check mysql database https://forums.databricks.com/questions/8736/get-mysqlrdbms-data-using-spark-streaming.html
a tutorial on spark recommendation system with a web app https://www.codementor.io/spark/tutorial/building-a-web-service-with-apache-spark-flask-example-app-part2
Workflow?
Use spark stream
See the following examples for spark streaming + machine learning
_In this design, only those clicked by a user will be added to the products_cluster table. Is this what we want? Probably. productscluster also has the original entries used for training the model, and these are probably a large set.
2d3576e For some reason, the ajax call only fires once for each link. This applies to both product link and the hard-coded click_history link on the top right corner. Need to restart server.
After some time, it started to work.
javascript has return false, but href is still followed ?
Prototype 1.
get more records from Amazon. use spark to read these records, and perform k-mean. and write the result to a new table.