I can not understand the difference between Thread vs ThreadPool. Think I have to manipulate 50,000 records using threads.
In the case of threads, I need to either predetermine the absence of threads or there are no entries in the threads. Any of them should be permanent.
In the case of threadpool, we do not need to install any of them theoretically. But in practice, we need to assign the number of records in the stream, because none of the streams can increase extremely large if the number of records in the record is huge.
Any ideas on this?
Nlv
source share