You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "peter royal (JIRA)" <ji...@apache.org> on 2007/09/02 18:51:19 UTC

[jira] Created: (DIRMINA-429) SocketFilterChain.doWrite slows as outstanding writes increase

SocketFilterChain.doWrite slows as outstanding writes increase
--------------------------------------------------------------

                 Key: DIRMINA-429
                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
             Project: MINA
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.1.2
            Reporter: peter royal
            Assignee: peter royal
            Priority: Critical
             Fix For: 1.1.3, 2.0.0-M1


SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DIRMINA-429) AbstractIoFilterChain.doWrite slows as outstanding writes increase

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee resolved DIRMINA-429.
---------------------------------

    Resolution: Fixed

Peter, please confirm I didn't break anything. :)

> AbstractIoFilterChain.doWrite slows as outstanding writes increase
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core, Transport
>    Affects Versions: 1.0.5, 1.1.2
>            Reporter: peter royal
>            Assignee: Trustin Lee
>            Priority: Critical
>             Fix For: 1.0.6, 1.1.3
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-429) SocketFilterChain.doWrite slows as outstanding writes increase

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524411 ] 

Trustin Lee commented on DIRMINA-429:
-------------------------------------

It also should be fixed in trunk, too.

> SocketFilterChain.doWrite slows as outstanding writes increase
> --------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.2
>            Reporter: peter royal
>            Assignee: peter royal
>            Priority: Critical
>             Fix For: 1.1.3, 2.0.0-M1
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-429) AbstractIoFilterChain.doWrite slows as outstanding writes increase

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee updated DIRMINA-429:
--------------------------------

          Component/s: Transport
    Affects Version/s: 1.0.5
        Fix Version/s:     (was: 2.0.0-M1)
                       1.0.6
              Summary: AbstractIoFilterChain.doWrite slows as outstanding writes increase  (was: SocketFilterChain.doWrite slows as outstanding writes increase)

Let me fix it in 1.0, too.

> AbstractIoFilterChain.doWrite slows as outstanding writes increase
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core, Transport
>    Affects Versions: 1.0.5, 1.1.2
>            Reporter: peter royal
>            Assignee: peter royal
>            Priority: Critical
>             Fix For: 1.0.6, 1.1.3
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRMINA-429) SocketFilterChain.doWrite slows as outstanding writes increase

Posted by "peter royal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

peter royal closed DIRMINA-429.
-------------------------------

    Resolution: Fixed

Fixed in 1.1 and trunk. 

> SocketFilterChain.doWrite slows as outstanding writes increase
> --------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.2
>            Reporter: peter royal
>            Assignee: peter royal
>            Priority: Critical
>             Fix For: 1.1.3, 2.0.0-M1
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRMINA-429) AbstractIoFilterChain.doWrite slows as outstanding writes increase

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRMINA-429.
-------------------------------------


> AbstractIoFilterChain.doWrite slows as outstanding writes increase
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core, Transport
>    Affects Versions: 1.0.5, 1.1.2
>            Reporter: peter royal
>            Assignee: Trustin Lee
>            Priority: Critical
>             Fix For: 1.0.6, 1.1.3
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (DIRMINA-429) SocketFilterChain.doWrite slows as outstanding writes increase

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee reopened DIRMINA-429:
---------------------------------


Datagram transport also seems to be affected by this issue.  Let's fix it either.

> SocketFilterChain.doWrite slows as outstanding writes increase
> --------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.2
>            Reporter: peter royal
>            Assignee: peter royal
>            Priority: Critical
>             Fix For: 1.1.3, 2.0.0-M1
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRMINA-429) SocketFilterChain.doWrite slows as outstanding writes increase

Posted by "peter royal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12524367 ] 

peter royal commented on DIRMINA-429:
-------------------------------------

Fixed in 1.1 branch, need to determine if trunk needs fix and apply there.

> SocketFilterChain.doWrite slows as outstanding writes increase
> --------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.2
>            Reporter: peter royal
>            Assignee: peter royal
>            Priority: Critical
>             Fix For: 1.1.3, 2.0.0-M1
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DIRMINA-429) AbstractIoFilterChain.doWrite slows as outstanding writes increase

Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Trustin Lee reassigned DIRMINA-429:
-----------------------------------

    Assignee: Trustin Lee  (was: peter royal)

> AbstractIoFilterChain.doWrite slows as outstanding writes increase
> ------------------------------------------------------------------
>
>                 Key: DIRMINA-429
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-429
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core, Transport
>    Affects Versions: 1.0.5, 1.1.2
>            Reporter: peter royal
>            Assignee: Trustin Lee
>            Priority: Critical
>             Fix For: 1.0.6, 1.1.3
>
>
> SocketFilterChain.doWrite slows down as the number of outstanding write requests increases. This is because it calls .size() on the queue, and the queue implementation used does not have a constant-time size operation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.