Closed norbert closed 10 years ago
Wow, thanks! I've noticed that I've been getting great recommendations lately.
I would still stick to caching them for one full day. Why? To ensure you would only get new recommendations once per day. Supposing that the recommendation engine could provide you with fresh recommendations every hour, I think the user might get overwhelmed with recommendations?
The recommendations should be fairly stable, meaning that unless a user rates a lot of movies between model updates the results for that user will stay roughly the same. The benefit, then, is that if a user does a "bulk update" of sorts this will have an effect on the displayed recommendations in a reasonable amount of time.
Alright, merged! :heart_eyes: :sparkles:
These changes are fairly self-explanatory. As the recommender model is now updated every hour using the Heroku Scheduler add-on the cache expiration time can be decreased accordingly.