You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2006/03/14 02:55:00 UTC

[jira] Created: (DIRMINA-191) IoSession.getScheduledWriteBytes

IoSession.getScheduledWriteBytes
--------------------------------

         Key: DIRMINA-191
         URL: http://issues.apache.org/jira/browse/DIRMINA-191
     Project: Directory MINA
        Type: New Feature
    Reporter: Trustin Lee
    Priority: Minor


MINA has a problem with fast writer and slow reader.  If MINA writes too fast, it will finally stuck with OutOfMemoryError due to too many blocked buffers.  To prevent it, MINA provides IoSerssion.getScheduledWriteRequests() method, but it is impossible to calculate the accurate number of bytes which are scheduled.  Therefore, we need IoSession.getScheduledWriteBytes().



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


[jira] Closed: (DIRMINA-191) IoSession.getScheduledWriteBytes

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-191?page=all ]
     
Trustin Lee closed DIRMINA-191:
-------------------------------


> IoSession.getScheduledWriteBytes
> --------------------------------
>
>          Key: DIRMINA-191
>          URL: http://issues.apache.org/jira/browse/DIRMINA-191
>      Project: Directory MINA
>         Type: New Feature
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Minor
>      Fix For: 0.9.3

>
> MINA has a problem with fast writer and slow reader.  If MINA writes too fast, it will finally stuck with OutOfMemoryError due to too many blocked buffers.  To prevent it, MINA provides IoSerssion.getScheduledWriteRequests() method, but it is impossible to calculate the accurate number of bytes which are scheduled.  Therefore, we need IoSession.getScheduledWriteBytes().

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


[jira] Resolved: (DIRMINA-191) IoSession.getScheduledWriteBytes

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DIRMINA-191?page=all ]
     
Trustin Lee resolved DIRMINA-191:
---------------------------------

    Fix Version: 0.9.3
     Resolution: Fixed
      Assign To: Trustin Lee

Done:

http://svn.apache.org/viewcvs?rev=388086&view=rev

> IoSession.getScheduledWriteBytes
> --------------------------------
>
>          Key: DIRMINA-191
>          URL: http://issues.apache.org/jira/browse/DIRMINA-191
>      Project: Directory MINA
>         Type: New Feature
>     Reporter: Trustin Lee
>     Assignee: Trustin Lee
>     Priority: Minor
>      Fix For: 0.9.3

>
> MINA has a problem with fast writer and slow reader.  If MINA writes too fast, it will finally stuck with OutOfMemoryError due to too many blocked buffers.  To prevent it, MINA provides IoSerssion.getScheduledWriteRequests() method, but it is impossible to calculate the accurate number of bytes which are scheduled.  Therefore, we need IoSession.getScheduledWriteBytes().

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