hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayank Mishra (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HAMA-568) Add faster synchronized collections for message queues
Date Mon, 08 Oct 2012 16:32:03 GMT

     [ https://issues.apache.org/jira/browse/HAMA-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mayank Mishra updated HAMA-568:
-------------------------------

    Attachment: HAMA-568_2.patch

Added Map to map non synchronized to synchronized one (for only localQueueForNextIteration).
DiskQueue and MemoryQueue still using SingleLockQueue, whereas SortMessageQueue is using PriorityBlockingQueue
internally.
                
> 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, HAMA-568_2.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