On May 1, 2006, at 9:57 AM, Serkan Demir wrote:
int numOfThreads = 100;
for (int i = 0; i < numOfThreads; i++) {
thread[i] = new TrafficWorker(session);
thread[i].setName("Thread#" + i);
}
All 100 sessions are sharing the same IoSession/ProtocolSession? If so, this will be the cause of your problems. You won't get parallel processing, since by default, MINA does everything for a given session in serial. If you want to do parallel processing for a single session, you will want to create your own ThreadPoolFilter to achieve this.
Try using a new session in each thread of your tests, I think you'll get what you are looking for.
-pete -- [EMAIL PROTECTED] - http://fotap.org/~osi
smime.p7s
Description: S/MIME cryptographic signature
