Hi
I want to handle concurrent 250K users in a machine having configuration 4
core processor with 8GB ram.
I am generating load @ of 20user/sec on reaching 100K users the cpu reaches
to 40% but later on there is a spike and i am not able to proceed.
every user is doing some activity like sending msg to each other.
Can any one guide me wht should be the ideal configuration of the
SocketAcceptor?

        SocketAcceptor acceptor = null;
        ThreadPoolExecutor threadPoolExecutor = new ThreadPoolExecutor(
minThread, maxThread, idleThreadTimeout,.util.concurrent.TimeUnit.SECONDS,

new java.util.concurrent.SynchronousQueue( true ) );
        IoProcessor< NioSession > nioProcessor = new NioProcessor(
threadPoolExecutor );

*            acceptor = new NioSocketAcceptor( nioProcessor );

OR
**            acceptor = new NioSocketAcceptor( processorcount );

Which if one of the above to use and with wht parameters?
*Currently i am using *acceptor = new NioSocketAcceptor(
processorcount ); *with
*processorcount = 4

*Any kind of help is appreciated

Regards
Vel

Reply via email to