According to brian goetz threadcount in executor service is
BigDecimal optimalthreadcount = numberOfCPU.multiply(targetUtilization).multiply(new BigDecimal(1).add(waitTime.divide(computeTime, RoundingMode.HALF_UP)));
We are using executor service in our project and want to determine how many threads we need to assign to it, we are trying to analzye the above formulae.
Can anyone explain how to calculate :
any help would be greatly apprecaited