Re: Packet loss when using MINA UDP

2008-10-28 Thread Yong Yuan
On Mon, Oct 27, 2008 at 10:42 PM, Ashish [EMAIL PROTECTED] wrote: What's the value of BUFFER_SIZE? My experience with MINA (2.0)has been great, had a UDP Server I tried various values ranging from the default to 8MB. None helped much, though. implementation with 1000+ packets/sec. Since I

Re: Packet loss when using MINA UDP

2008-10-28 Thread Ashish
Can you post the missing code pieces (MessageHandler, Message) and your client. Would like to run it myself. On Tue, Oct 28, 2008 at 11:32 AM, Yong Yuan [EMAIL PROTECTED] wrote: On Mon, Oct 27, 2008 at 10:42 PM, Ashish [EMAIL PROTECTED] wrote: What's the value of BUFFER_SIZE? My experience

Apache FTP Server Commericial Support

2008-10-28 Thread Chandwani, Mahesh
Hi, We are looking for commercial support for Apache FTP Server (in production). Does anybody know of a company that is currently doing that. Please Contact ASAP. Thanks, -Mahesh Chandwani 201-312-8590

Re: Packet loss when using MINA UDP

2008-10-28 Thread Barrie Treloar
Are you waiting for the send to complete? You could be writing messages which are failing to be sent.

Re: Packet loss when using MINA UDP

2008-10-28 Thread Dannyy
baerrach wrote: Are you waiting for the send to complete? You could be writing messages which are failing to be sent. Oh, I didn't know we could wait for the send to complete. I did make a large enough send buffer for the client though. Besides, the plain datagram socket server didn't

Re: Packet loss when using MINA UDP

2008-10-28 Thread Barrie Treloar
On Wed, Oct 29, 2008 at 7:29 AM, Dannyy [EMAIL PROTECTED] wrote: Are you waiting for the send to complete? You could be writing messages which are failing to be sent. Oh, I didn't know we could wait for the send to complete. I did make a large enough send buffer for the client though.

Checking a session is created? (see AbstractTrafficControlTest.testSuspendResumeReadWrite)

2008-10-28 Thread Barrie Treloar
I'm a bit worried about the comments in this method for AbstractTrafficControlTest: public void testSuspendResumeReadWrite() throws Exception { ConnectFuture future = connect(port, new ClientIoHandler()); future.awaitUninterruptibly(); IoSession session =

Re: Checking a session is created? (see AbstractTrafficControlTest.testSuspendResumeReadWrite)

2008-10-28 Thread Emmanuel Lecharny
Barrie Treloar wrote: I'm a bit worried about the comments in this method for AbstractTrafficControlTest: public void testSuspendResumeReadWrite() throws Exception { ConnectFuture future = connect(port, new ClientIoHandler()); future.awaitUninterruptibly(); IoSession

Re: Checking a session is created? (see AbstractTrafficControlTest.testSuspendResumeReadWrite)

2008-10-28 Thread Barrie Treloar
It's a bit tricky : the session can be connected, but the sessionCreated event might not be called yet. As we need to get the 'lock' object which is injected into the session to run the test, we have to wait for the sessionCreated to be executed (because this is the place where this lock is

Re: Checking a session is created? (see AbstractTrafficControlTest.testSuspendResumeReadWrite)

2008-10-28 Thread Emmanuel Lecharny
Barrie Treloar wrote: tcp/ip has an easy enough state diagram to google for. udp being connectionless doesn't seem to have such a diagram. I don't think it ha anything to do with the underlying newtork state. The session states I'm talking about is the application session : if you don't

Apache FTP Server Industry Acceptance

2008-10-28 Thread Chandwani, Mahesh
Hi, Could anyone point us to any documentation/material which gives us an idea of Industry wide adoption of Apache FTP server? We are having some hesitation in adopting Apache FTP server for our Content Warehouse (we are a very large publishing house). Any inputs are highly appreciated

Re: Apache FTP Server Industry Acceptance

2008-10-28 Thread Niklas Gustavsson
On Tue, Oct 28, 2008 at 8:18 PM, Chandwani, Mahesh [EMAIL PROTECTED] wrote: Could anyone point us to any documentation/material which gives us an idea of Industry wide adoption of Apache FTP server? No idea, sorry. We are having some hesitation in adopting Apache FTP server for our Content