Open yawaramin opened 3 months ago
I'm super curious about this comparison, I found this blog post https://github.com/marcobehler/marcobehler-guides/blob/main/java-project-loom.adoc#filesystem-calls
To cut a long story short, your file access call inside the virtual thread, will actually be delegated to a (….drum roll….) good-old operating system thread, to give you the illusion of non-blocking file access.
There is also io_uring feature in new Linux kernels https://github.com/ikorennoy/jasyncfio
How these both compare to NuProcess?
This is just a question to satisfy my curiosity. Per the readme:
What does the overhead look like with Java's new virtual threads? It should be significantly reduced, iiuc?