Storing the item-item links in Lucene and forming a query with recent history is a pretty easy way to get real-time recommendations. This can also get rid of the cache because standard measures applied to make Lucene fast will work on this.
On Fri, Jul 10, 2009 at 5:34 AM, Sean Owen <[email protected]> wrote: > Also, it sounds like you are trying to do real-time recommendations, > like synchronously with a user request. This can be hard since it > imposes such a tight time limit. Consider doing recommendations > asynchronously if you can. For example, start computing > recommendations when the user logs in, and maybe on the 2nd page view > 5 seconds later, you are ready to recommend something. >
