What is the @IOIntensive thread pool size ?

The documentation says :

Use @IOIntensive annotation for all Java classes. This will cause the class to run in a separate thread pool. Otherwise it runs in an I/O thread, which is in the core thread pool and has the potential to block the CPU"

Is there a default size for this thread pool ? What would that be ? Can it be configured ? If yes, How ?

Solved Solved
0 2 815
1 ACCEPTED SOLUTION

adas
Participant V

@Venkataraghavan I believe the default is 100. You can find it in the message-processor's threadpool.properties file.

# the maximum number of threads to allow in the pool.

# if commented, defaults to 100

maximum.pool.size=100

View solution in original post

2 REPLIES 2

adas
Participant V

@Venkataraghavan I believe the default is 100. You can find it in the message-processor's threadpool.properties file.

# the maximum number of threads to allow in the pool.

# if commented, defaults to 100

maximum.pool.size=100

Hi @Venkataraghavan and @arghya das - @Peter Johnson just pinged me with a correction to that best practices content. All JavaCallouts are now run on the async thread pool, so I've removed that note about IOIntensive. It's not required.