Re: Miserable performance results from MINA 1.1.7

2009-11-25 Thread Tuure Laurinolli
Zvika Gart wrote: - Check if there are some differences in the traffic (e.g. TCP ACK patterns) You didn't say anything about this yet. - Check syscall patterns of the MINA version and try to see if something is taking unreasonably long time (pure NIO implementation might be helpful here)

Re: Connection management example

2008-09-22 Thread Tuure Laurinolli
Simon Trudeau wrote: I am currently writing an apache mina 2.x-M3 high performance client. This client connects and broadcast to 1000 different servers concurrently. Presumably you have some requirements about the reliability of the broadcase, otherwise I'm not sure I see the problem here.

Re: API Issue: ConnectFuture.await()

2008-09-17 Thread Tuure Laurinolli
Allen Jiang wrote: when I run the test case in Notebook PC ,the result is: Waited: 1000 Connected: false, Also got exception: java.net.ConnectException: Connection refused It would seem that you get an explicit notification from the remote host about unavailability of service, and

Re: MINA 1.1 IoSession.close() problem

2008-09-05 Thread Tuure Laurinolli
Zlatko Josic wrote: Handler? i suppose it is listener. Something like this : Yes, listener. Shows I didn't actually bother checking the terminology from docs :) future.addListener(new IoFutureListener(){ @Override public void operationComplete(IoFuture

Re: MINA 1.1 IoSession.close() problem

2008-09-05 Thread Tuure Laurinolli
Zlatko Josic wrote: Yes, you figure out very well what I've asked. My english knowledge is not so good so I had to aks for listener :) We use some tool for monitoring traffic, sniffer, and it shows that a terminal does not get all data but detect connection close. Maybe there is bug in

Re: Mina 1.1.0 Session Close()

2008-09-05 Thread Tuure Laurinolli
Tasneem Yusuf wrote: I am a newbee, using Mina 1.1 to implement a server on my side.I have a Why are you using 1.1.0 instead of 1.1.7? handler which is not explicitly closing the session in the messageReceived() api. However whenever the client connects to the server and sends data , the

Re: Why UDP sessions dropped?

2008-09-04 Thread Tuure Laurinolli
JianXing Yi wrote: Also, I print state info in SESSION_IDLE event handling every 2 seconds, all sessions are in a same state (STATE_A). My statemachine expects a MESSAGE_SENT event to trigger it transit from STATE_A to STATE_B, it is obvious that the session receives no MESSAGE_SENT events any

Re: Help with performance issues

2008-08-15 Thread Tuure Laurinolli
Johan Haleby wrote: I'm using Mina to broadcast lots of incoming data from external hardware devices to connected clients. But as soon as we get many clients ( 30 or so) the performance is declining. In some tests we've done it takes several minutes for the clients to receive all data after

Re: Connection Lost... No knowledge of it

2008-08-15 Thread Tuure Laurinolli
Landon Fabbricino wrote: 1) When the application is running and the server I am connected to crashes, or loses internet connection, I am not seeing any communication on my side that the connection has been lost. (I am just watching the log4j output.) Would my handler be

Re: Too many open files

2008-07-07 Thread Tuure Laurinolli
Arv Mistry wrote: I have simplified my client, so all I do is connect to a server and disconnect (i.e. call close() on session . This is triggered by command line input so that I can control it. Do you create a new Connector for each session? Do you call dispose() on IoConnectors you no

Re: MINA 1.1.7 MD5 and SHA1 hashes do not match downloads

2008-06-19 Thread Tuure Laurinolli
Valient Gough wrote: From page: http://mina.apache.org/downloads.html mina-1.1.7 and mina-2.0.0-m1 files do not match md5, sha1, or gpg signatures! I tested mina-1.1.7.zip , mina-1.1.7.tar.bz2, and mina-2.0.0-M1.tar.bz2, all of which failed checks. No, you didn't ;) md5 link: