Hello,

I am evaluting MINA for a project and I need to evaluate scaling 
on a multi-processor system.

My MINA application is a simple proxy application:

   Machine A           Machine B                Machine C

   Test Driver <-----> MINA Application <-----> Echo Server

A test driver establishes one or more connections to the MINA
application.

The MINA application accepts the connections.  Each IoSession
will receive a message and then forward it via a client 
connection to the echo server. The echo server simply echos the
message back to the MINA application, which then responds back
to the test driver.

MINA establishes 32 connections to the echo servers.  To ensure
there is no contention in the echo server, we are starting 32
instances of the echo server.  So one connection to each of 32
echo servers.

MINA selects an echo server based upon which session received
the inbound message.  This simple session selection ensures
there is no contention in the test application itself, as there
is no shared data between sessions.

The test driver starts with one connection, then 2, 4, 8, 16, and
32.

For each set, it ramps up transactions until the rate at which 
requests are received deviate from the rate at which requests
are being sent by 5%.

Questions:

o  Does anyone know of existing test drivers that can be used
   here?  The test driver must scale and aggregate results with
   up to 32 threads, and be capable of out-performing MINA.

o  Are there any things we need to do other than use out-of-the-box
   MINA with NioSocketAcceptor and NioSocketConnector?  We are
   testing on a 32 core Solaris T1000 (Niagara architecture) with
   Sun's JRE 1.6.

Thanks in advance,
David Sundstrom



Reply via email to