mayojava
09/30/2018, 4:45 PM<http://Dispatchers.IO|Dispatchers.IO>
and Dispatchers.DEFAULT
that one needs to know aboutDominaezzz
09/30/2018, 5:27 PM<http://Dispatchers.IO|Dispatchers.IO>
should be used for blocking operations and Dispatchers.DEFAULT
should be used for non-blocking.elizarov
09/30/2018, 7:43 PMDefault
is for CPU-intensive tasks and is limited by the # of CPU cores, while IO
is for blocking operations that are not supposed to consume CPU (by default it is configured to support 64 concurrent operations)mayojava
09/30/2018, 8:36 PM