Dear Krish,
Thanks for your reply but i'm using DatagramAcceptor (UDP/IP), not
SocketAcceptor  :(

Any other comments? Thanks

----------
Murat ÖZDEMİR


-----Original Message-----
From: Krish Verma [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 01, 2007 11:54 PM
To: [email protected]
Subject: Re: Help! Datagram Acceptor Problem.

It might be due to Naggle's algorithm, Have you tried setting setTcpNoDelay
to false on the socket acceptor config. Please see

http://mina.apache.org/faq.html#FAQ-Nodataiswrittinouttothesessioneveniftheb
ufferisnotempty
.

in the MINA faq.
--
  Krish Verma, kverma at gmail dot com

On 6/1/07, Murat OZDEMiR <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I've just completed a communication server project using MINA.
>
> Clients which connects to communication server has to be received a
spesific
> ACK message from server.
> After receiving message, decoder decodes it, handler inserts into 
> database and writes ACK message to session. Receiving and writing ACK 
> occurs in miliseconds but messageSent methode are called too later 
> 3-15 seconds
later.
> That means ACK message is sent to client after 3-15 seconds. But 
> clients have to be received ACK message in 5 seconds. If they can't 
> they send the last message again. I'm using Datagram Acceptor on 
> server. 50.000 -
100.000
> messages are received from clients and inserted into database in minutes.
> Both database i/o and network traffic is busy enaugh. How can i 
> decrease
the
> sending ACK message time below 5 seconds?
>
> Rapid answers will make me very happy, because i'm trying to resolve 
> that issue like a crazy :(
>
> Best Regards.
>
> Murat OZDEMiR
>

Reply via email to