You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by Erinc Arikan <er...@gmail.com> on 2009/11/11 20:45:51 UTC

Multi Threaded Client

Hi Mina Community;

I implemented binary based protocol successfully using Apache Mina; thanks
for continuous support during the process in the forums. I based my server
and client applications based on the following example:

http://mina.apache.org/tutorial-on-protocolcodecfilter-for-mina-2x.html

Now I want to stress test the application, but if I keep sending messages
using one thread frequently, I don't think it will be realistic, since my
server application is using an UnorderedThreadPoolExecutor of 100 threads.
So I think I should spawn at least 10-20 threads at a time to create a good
stress test. Can I achieve this with Mina, will adding an executor of
UnorderedThreadPoolExecutor(20) to my connector's filter chain suffice? or
should I do something additional in my send method?

Thanks

Erinc