mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Webb" <elihusma...@gmail.com>
Subject Re: Help! Datagram Acceptor Problem.
Date Sun, 03 Jun 2007 02:05:58 GMT
did you look at the tutorial for UDP that I wrote?  This might help you...

On 6/1/07, Murat OZDEMiR <mozdemir79@gmail.com> wrote:
>
> 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:kverma@gmail.com]
> Sent: Friday, June 01, 2007 11:54 PM
> To: dev@mina.apache.org
> 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 <mozdemir79@gmail.com> 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
> >
>
>


-- 
..Cheers
Mark
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message