Hi Trustin:
I have monitored my server by JProfiler today,and find the performance
problem coming from log4j and Java Service Wrapper's log.
Sorry,it's my mistake.

Best regards!



2006/1/3, Trustin Lee <[EMAIL PROTECTED]>:
> Hi Donald!
>
> 2005/12/28, Donald <[EMAIL PROTECTED]>:
> > hi all
> > I test my proxy server used mina-0.8.2 today,and i find the
> > SocketSession from ProtocolConnector take long time to write out a
> > message when i try to write a large number messages in short time to a
> > single socket connection.
> >
> > When i try to write 1000 messages by speed of 30/s,I received
> > sent(ProtocolSession,object) event 17 seconds after i invoke the
> > session.write(object) method.And the IoLoggerFitler got the
> > notification of sent message after 8 seconds after i invoke the write
> > method.
>
> Is "WRITE:" logged?  If so, how long is the interval between your write()
> call and "WRITE:" message?
>
> If you can reproduce this issue easily, please let me try it by myself.
>
> > I try to modify the ThreadPool's size to 10-1000 ,but the performance
> > hasn't any change.
> > There is no any custom filter in the server .
> > What should i do to improve the performance?
>
> IoSession.write() method and the number of thread pool don't have any
> relationship.  If it is slow like that, it might be the problem of the
> implementation or MINA.
>
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> PGP Key ID: 0x854B996C


--
Donald

Reply via email to