Monajit Choudhury wrote:
> Hi
>  I was testing the throughput of the sumpup example using apache jmeter.
> I am using 100 threads with loop forever set to true.I get a throughput
> of about 99/sec.But when I use the proxy(provided in the example)in
> between the sumup client and the server, the throughput drops to about
> 60/sec.The proxy as of now uses 1 acceptor,1 connector and 1
> clienthandler per port. Is this a good approach or should I increase the
> number of acceptors and connectors?
>
>
> PS: I am using my laptop to run the tests, so don't expect a very high
> performance. What I am looking for is the % increase in latency added by
> the proxy.
>   


I don't think the number of connectors/acceptors is a bottleneck.
Instead, you might want to tweak the number of threads being used. Have
look at this document for more info on threads in MINA:
http://mina.apache.org/configuring-thread-model.html



-- 
Niklas Therning
www.spamdrain.net

Reply via email to