How to decide the suitable number of threads to create in java?
===

I have a java application that creates SSL socket with remote hosts. I want to employ threads to fasten the process. 

My question: Needless to say, I want the maximum possible utilization that does not affect the program performance. How can I decide the suitable number of threads to use ? After running the following line: `Runtime.getRuntime().availableProcessors();` I got 4. My processor is intel core i7, with 8 GB RAM.
