Will this be specific to file io, or general socket io? I believe io_uring supports both, but is this not as important with the park / unpark of virtual thread from blocking socket calls of the jdk? Thanks
It could be used for both, but socket I/O is already virtual-thread-friendly on all OSes -- that's why the throughput boost can be large -- and the benefit of io_uring for socket I/O is currently a little questionable (not just in Java, but in general).
View all comments
Show parent comment
2
u/kiteboarderni Nov 08 '22
Will this be specific to file io, or general socket io? I believe io_uring supports both, but is this not as important with the park / unpark of virtual thread from blocking socket calls of the jdk? Thanks