Would you say that you can ever have too many threads? Is there like a number that one should avoid going over for performance sake? or is it ok to have thousands of created threads.
If you have the CPU and memory, then more threads or processes can be a good thing. But at some point you will start pushing against the performance tradeoffs of the OS in its scheduler. I would recommend doing some research on where those limits are.
GeXus wrote:Is there like a number that one should avoid going over for performance sake?
A gazillion.
It's very dependent on the OS and hardware. If you can't find any hard numbers for your configuration on the net then it's best to create a test and find out the hard way.