[jboss-jira] [JBoss JIRA] Commented: (JGRP-381) Concurrent stack: all queues for thread pools should use number of bytes rather than number of messages

Vladimir Blagojevic (JIRA) jira-events at lists.jboss.org
Fri Jun 6 14:24:20 EDT 2008


    [ http://jira.jboss.com/jira/browse/JGRP-381?page=comments#action_12415899 ] 
            
Vladimir Blagojevic commented on JGRP-381:
------------------------------------------

Consider resolving JGRP-772 prior to this one

> Concurrent stack: all queues for thread pools should use number of bytes rather than number of messages
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JGRP-381
>                 URL: http://jira.jboss.com/jira/browse/JGRP-381
>             Project: JGroups
>          Issue Type: Feature Request
>    Affects Versions: 2.4
>            Reporter: Bela Ban
>         Assigned To: Bela Ban
>             Fix For: 2.7
>
>
> Instead of defining a max number of elements in a queue BoundedBlockingQueue (used by thread pool), we define a number of bytes. If that number is exceeded, we block on put()/offer(), and only unblock if a take() has removed N number of bytes so we can add our message without exceeding the limit

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list