I want to use a
thread pool to parse multiple XML concurrently,which take
String as input.
I've be told that the size of the pool should be tuned differently for compute-intensive and IO-intensive tasks,but how to clearly define whether a task is compute-intensive or IO-intensive? I used a SAXParser to parser the XML and i can't tell exactly which kind it belongs to.
Please help.