mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksei Udatšnõi (Commented) (JIRA) <>
Subject [jira] [Commented] (MAHOUT-977) Thread-safe version of PlusAnonymousUserDataModel with multiple concurrent users
Date Thu, 01 Mar 2012 08:52:04 GMT


Aleksei Udatšnõi commented on MAHOUT-977:

I just realized that if I to remove the superclass, you'd have to rewrite chapter 5.4 of "Mahout
in Action". It references _PlusAnonymousUserDataModel_.
> Thread-safe version of PlusAnonymousUserDataModel with multiple concurrent users
> --------------------------------------------------------------------------------
>                 Key: MAHOUT-977
>                 URL:
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Collaborative Filtering
>    Affects Versions: 0.6
>            Reporter: Aleksei Udatšnõi
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.7
>         Attachments: MAHOUT-977.patch
> This is a suggested improvement to PlusAnonymousUserDataModel. 
> Currently the ID of the anonymous user is fixed to Long.MIN_VALUE. Only one set
> of temp data can be inserted into the model and used at one time.
> I propose the change to enable multiple users to insert into this
> model concurrently in a thread-safe manner.
> The idea is to define a pool of available anonymous user IDs. Every
> time a new anonymous user makes a request, the next available
> TEMP_USER_ID is pulled from the queue. After recommendations are
> retrieved, the TEMP_USER_ID can be returned to the pool.
> The discussion about this topic can be found in:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message