multithreading - Java Multi-Threading Performance Improvement -


my application taking around 200 milliseconds complete task using single thread.we have listener attached mq pick message , process it.

when increasing number of mdb threads 5 processing time should take process 5 message in queue should around 200 milliseconds taking around 600 milliseconds .what can issue or suggestion improve it.

we have file i/o ,db insert update operation involved in between process.

if tasks cpu limited, might near linear scaling numbers of cpus (cores) in system. said you're using shared resources, , reason of issue. try profiling application see happening there.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -