You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Julien Vermillard (JIRA)" <ji...@apache.org> on 2008/08/04 12:03:44 UTC

[jira] Issue Comment Edited: (DIRMINA-519) BufferingFilter

    [ https://issues.apache.org/jira/browse/DIRMINA-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619456#action_12619456 ] 

vrm edited comment on DIRMINA-519 at 8/4/08 3:02 AM:
-------------------------------------------------------------------

Linux JDK1.6.0_1 ,  Athlon64 X2  4400+

Started...
Map type:           LazyInitializedCacheMap
Runtime:            60000
Number of threads:  3
Remove probability: 0.1
Ops per second:     400222.81666666665

Started...
Map type:           HashMap
Runtime:            60000
Number of threads:  3
Remove probability: 0.1
Ops per second:     380242.18333333335

Started...
Map type:           ConcurrentHashMap
Runtime:            60000
Number of threads:  3
Remove probability: 0.1
Ops per second:     147320.55



      was (Author: vrm):
    Linux JDK1.6.0_1 ,  Athlon64 X2  4400+

Started...
Map type:           LazyInitializedCacheMap
Runtime:            60000
Number of threads:  3
Remove probability: 0.1
Ops per second:     400222.81666666665

Started...
Map type:           ConcurrentHashMap
Runtime:            60000
Number of threads:  3
Remove probability: 0.1
Ops per second:     147320.55


  
> BufferingFilter
> ---------------
>
>                 Key: DIRMINA-519
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-519
>             Project: MINA
>          Issue Type: New Feature
>          Components: Filter
>            Reporter: Trustin Lee
>            Assignee: Edouard De Oliveira
>            Priority: Minor
>             Fix For: 2.0.0-M3
>
>         Attachments: test.rar
>
>
> As JDK provides BufferedOutputStream, we could provide BufferingFilteer which does the same thing, which buffers encoded data and flushes it out when the buffer becomes full or the flush operation is explicitly requested.  This kind of filter is sometimes useful when a session is generating very small messages too frequently and consequently generates unnecessary traffic overhead.

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