Re: PooledConnections Poor Performance

2011-04-13 Thread ks
Thanks. I did increase my session size to 100. So it cached sessions. The problem was with Single connection Object. All the threads were trying to use the same connection. Connection Object uses this Mutex before sending. So essentially this is a blocker. java.lang.Thread.State: BLOCKED

PooledConnections Poor Performance

2011-04-12 Thread ks
I used Spring's CachingConnectionFactory and found that it uses only one connection. When we run performance tests, threads are blocked to send message ( even when it is async). So I tried using PooledConnectionFactory. Now threads are blocked more time for getting connection ( creating the conne