How to decide corePoolSize of an Executor

261 views Asked by At

How someone should decide corePoolSize of an Executor? In many application I have seen Executors with corePoolSize 5. I understand it depends upon the requirement. But requirements are not the single parameter for it. Hardware like RAM Processors also matters. Are there any thumb rules for it?

0

There are 0 answers