marcinmoskala
01/27/2022, 5:18 PM<http://Dispatchers.IO|Dispatchers.IO>.limitedParalellism(100)
and Dispatchers.Default.limitedParalellism(100)
?Javier
01/27/2022, 5:25 PMJavier
01/27/2022, 5:26 PMJavier
01/27/2022, 5:27 PMJoffrey
01/27/2022, 5:30 PMwith the guarantee that the effective parallelism of all views cannot exceed the actual parallelism of the original dispatcher.
This means the default dispatcher will not give you more parallelism than the number of cores. However the IO dispatcher could give you many threads
bezrukov
01/27/2022, 5:52 PMcores
count.
Limiting IO dispatcher has a special (elastic) behavior: it creates a view on IO's parent which is unbounded pool. So they will share threads if possible, but on peak load max number of spawned thread will be 100+64marcinmoskala
01/27/2022, 7:52 PM