james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Kincses <npure2...@yahoo.com>
Subject Re: Disabling the spool in James 2.2.0?
Date Thu, 13 Jan 2005 02:35:54 GMT
Ok.  Attached is the new version using a byte[] to
store the mime message.  The other change is in
MailImpl.java to instantiate the new class. 
Performance went from ~5500 10.9kB messages/min to
~6800 messages/min.

--- Gabor Kincses <npure2001@yahoo.com> wrote:

> Why?  Is it the synchronization overhead?
> 
> Which one should I use?  I'm not finding anything
> other than the java.io.
> 
> Thanks,
> Gabor
> 
> --- Serge Knystautas <sergek@lokitech.com> wrote:
> 
> > Gabor Kincses wrote:
> > > Ok, I found it.  MimeMessageInputStreamSource
> > should
> > > really be called
> MimeMessageFileInputStreamSource,
> > > then a MimeMessageByteArrayInputStreamSource
> could
> > be
> > > written, which stores the freshly parsed out
> > message
> > > in  a static hash of ByteArrayInputStreams
> instead
> > of
> > > temp files.  The dispose method would remove the
> > entry
> > > from the hash.
> > 
> > Sounds good, though I'd recommend using commons
> io's
> > 
> > bytearrayoutputstream instead of the one with the
> > JDK.
> > 
> > -- 
> > Serge Knystautas
> > Lokitech >> software . strategy . design >>
> > http://www.lokitech.com
> > p. 301.656.5501
> > e. sergek@lokitech.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > server-dev-unsubscribe@james.apache.org
> > For additional commands, e-mail:
> > server-dev-help@james.apache.org
> > 
> > 
> 
> 
> =====
> Gabor Kincses
> Running Mandrake Linux 10.0
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - now with 250MB free storage. Learn
> more.
> http://info.mail.yahoo.com/mail_250
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail:
> server-dev-help@james.apache.org
> 
> 

=====
Gabor Kincses
Running Mandrake Linux 10.0


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
Mime
View raw message