[ 
https://issues.apache.org/jira/browse/DIRMINA-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Edouard De Oliveira updated DIRMINA-519:
----------------------------------------

    Attachment: test.rar

Fixed tests

As it seems that LazyInitializedCacheMap always performs slighty better than a 
synchronized Hashmap and highly better than the ConcurrentHashMap which 
incorrectly looses time allocating unwanted buffers, i'll fix 
BufferedWritefilter using LazyInitializedCacheMap.

> 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.

Reply via email to