100M predictions on 80K items in 10 mins

All thanks to Scala.

1000 executors, 2 cores each. That’s about 0.012 second to predict 80K items per core. As a result, I have managed to score 80K items for each of the 100M users in 10 minutes. Certainly this is partly due to the preprocessings that I have done before this stage. All in all, the entire process has taken around an hour.

fastdb.jpg
Writes/ Updates per second on DB.
db.jpg
2 toy nodes for DB.
achievement
Spark app summary.

Leave a Reply