title: what number of threads to be created in thread pool
body: <p>Currently i am in a process of developing a application which can work in a multi threaded mode. As part of testing on my local machine (Intel Core I5) i tested with 4 threads. But now want to release the code for intense(regression) testing, so there any hard rule by which we can decide the number of threads to be created for processing. </p>
  
  <p>I am not using any web or App server, instead i have written my logic to receive the request and then process it. Now During the processing, i receive the request on main Thread, and then i submit the call to <code>ExecuterService</code> where i need to decide the number of threads, then i process the request and each thread is again capable of returning the response.</p>
  
  <p>I need to configure an optimum number of thread. I am trying to deploy my application on 16-Core, with 40GB Memory linux machine.</p>
  
  <p>Thanks</p>