Hi All, I am into development work and I have a task to some bulk processing of records using JAVA. Our idea is to divide complete records depending on some criteria into independent groups. Start one thread for each group.
Each group has some number of elements and each element can have some children. We are not sure about the number of children. When dividing all the elements into groups we need to decide as of how many elements should be there in each group for optimal performance. If group is small and number of threads will be more which gives some 'Unable to start native thread' exception. And if number if threads are small, each thread may take more time.
What can be the way to identify the number of groups (or) number of threads to be created ?