3 ms·
Yes, anything that uses NIO / Netty / epoll / io_uring / etc. under the covers will do. There are several options--IIRC at least five choices are available, bu
by sk5t 5y ago
Yes, anything that uses NIO / Netty / epoll / io_uring / etc. under the covers will do. There are several options--IIRC at least five choices are available, but these are the ones that come to mind:
https://openjdk.java.net/jeps/321 https://openjdk.java.net/jeps/321
https://github.com/AsyncHttpClient/async-http-client https://github.com/AsyncHttpClient/async-http-client
https://hc.apache.org/httpcomponents-client-5.1.x/examples-async.html https://hc.apache.org/httpcomponents-client-5.1.x/examples-a...
- davidjfelix 5y agoThanks! I did a little research and it seems like there are some Kotlin coroutine to nio mappings (it looked like some were experimental though) and that OkHTTP is aiming to use coroutines, so I wonder if these will converge in the future. What wasn't clear to me was if the coroutine/nio mashup still used threadpools because coroutines do.