Click here to Skip to main content
15,922,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a producer program written in java which puts some listened packets in Apache Active MQ which is having 6 Qs. One consumer program with 6 threads is consuming the packets from this 6 Q and inserts into mysql db and then does some other processed using s webservice call. The table contains 17 crores of data. Now I am not able to fastly process the data. The average time taken by one thread in processing one packet is 180 ms. Earlier this time was nearly 100 ms., Now it increased up to 180 ms. Now the consumption is very slow and it affects business continuity.

Please recommend your Ideas for increasing the performance.Will increasing the no of threads help ?
Thanks for your time
Updated 19-Jan-14 23:17pm

1 solution

Start by finding out where in your call chain you are spending most time in, and start optimizing there.

There is very little anyone can help you with the little information you have provided and without seeing your system firsthand.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900