I'm not looking to start all 50 threads at once. I'm looking to use delay and start 10 threads every 5 minutes untill all 50 threads are started/running.
If i write data into a single file using multiple threads then is there any chance of data loss ? Is this method okay to write file or some other method should be used to avoid data loss(if it happens) ?
Thanks
There should be no data loss, but it is still better to use the resource for this purpose
My script need to change the threads number dynamically, e.g.: 9:00-10:00 i need 30 threads,10:00-11:00 40 threads ...
What should I do?
Dynamically increase the number of threads can not. Specify at once the maximum number of threads, and let the excess threads sleep. Or use the action "Call function in several threads".