Re: svn commit: r385254 - in /directory/trunks/mina/core/src/main/java/org/apache/mina
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > Re: svn commit: r385254 - in /directory/trunks/mina/core/src/main/java/org/apache/mina




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: svn commit: r385254 - in /directory/trunks/mina/core/src/main/java/org/apache/mina  
Trustin Lee


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-12-06 10:45 PM

On 3/13/06, peter royal <proyal-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.org> wrote:
>
> On Mar 12, 2006, at 1:08 AM, trustin-1oDqGaOF3Lkdnm+yROfE0A@public.gmane.o
rg wrote: 
>
> Performance will suck if shared instances are returned due to
> synchronization on the returned instances in the
> ProtocolCodecFilter... Unless the synchronization is removed, it
> would be unadvisable to return shared instances.


It depends on the implementation of codec.  Some codec might be stateless so
they don't need any synchronization.  Of course, a codec factory usually
returns a new instance.  It's a user's choice.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:37 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register