/ All posts
- Threads argument to functions
Interpreting Adam's answer here (point 2), I think the answer can be put like this.
THREADS governs the number of threads allocated per batch. BATCH governs the number of objects scheduled per batch.
ThreadConfig governs the number of threads allocated per object. (Sometimes also the batch size, for compound objects such as multipoints.)
Ordinarily, it's best to concentrate on THREADS, i.e. on the number of objects in flight at a time.
For large or complex objects, it may also be beneficial to allocate more than one thread per object, but substantial benefit from this will be rare.