News for hackers. Stuff that matters.
Re:Async file IO in Java is not truly async [Resource, Tech ... by jen20 on Monday January 08, 2024 @05:43PM (#38919405)
This is highly dependent on the filesystem - as far as I know, basically only XFS works, and only for a small subset of operations, and everything else just blocks.

Tokio's filesystem handling in Rust is the same way by default - a pool of IO threads.

Edit: I just remembered that Avi Kivity (of KVM and ScyllaDB fame) wrote a tool to detect this: https://github.com/avikivity/fsqual

There are no comments on this comment yet.