hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Jungblut (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HAMA-568) Add faster synchronized collections for message queues
Date Tue, 11 Sep 2012 08:08:07 GMT

    [ https://issues.apache.org/jira/browse/HAMA-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13452810#comment-13452810
] 

Thomas Jungblut edited comment on HAMA-568 at 9/11/12 7:06 PM:
---------------------------------------------------------------

Do you want to give it a try Mayank? Otherwise I will take a closer look how this can be done.

Maybe with a map that maps a not synchronized classname to a synchronized one. I think this
should be a good solution here.
                
      was (Author: thomas.jungblut):
    Do you want to give it a try Mayank? Otherwise I will take a closer look how this can
be done.
                  
> Add faster synchronized collections for message queues
> ------------------------------------------------------
>
>                 Key: HAMA-568
>                 URL: https://issues.apache.org/jira/browse/HAMA-568
>             Project: Hama
>          Issue Type: Sub-task
>            Reporter: Thomas Jungblut
>         Attachments: HAMA-568_1.patch
>
>
> Currently the synchronized messaging (accessed concurrently via RPC) is done with a single
mutex object. See org.apache.hama.bsp.message.SynchronizedQueue.
> This can be improved for memory queue by adding the ConcurrentLinkedQueue from Java since
it has higher throughput. 
> Needless to say, we should add some custom synchronized version of a queue, maybe through
a factory class in the normal version.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message