You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Mayank Mishra (JIRA)" <ji...@apache.org> on 2012/10/08 18:32:03 UTC

[jira] [Updated] (HAMA-568) Add faster synchronized collections for message queues

     [ 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