[I asked this on StackOverflow and was told it would be a better fit here]
I am including a basic recommendation engine in a very small project for my final exam. I understand the code and the math but I am not too certain as to when I should update the values.
In this project it would be fairly simple to update in real time but in the real world would that not take an extreme amount of cpu time? Would it make more sense to run the algorithm on a schedule?
In the project I am using linq2entities, storing the purchases in a table that I use to calculate the correlation coefficient. I only have a couple of thousand users in the db but I am trying to get an idea of what would be more efficient in practice.