https://kotlinlang.org logo
#coroutines
Title
# coroutines
o

orangy

03/13/2017, 5:31 PM
Since okhttp uses thread pool, it won’t give you much in terms of throughput…
a

adeln

03/13/2017, 6:18 PM
I guess okhttp is used the most on android, where you don’t spawn thousands of threads
and don’t really need non-blocking stuff, but have to constantly jump between UI and worker threads
j

janvladimirmostert

03/15/2017, 12:18 PM
Paralleluniverse has a fiber-optimized version of okhttp which will allow you to spawn many thousands of fibers over a single thread.
K 1
2 Views