2 ms·
You need operating system support in the form of async I/O, which every OS offers. No special runtimes, no threads required.
by slver 6y ago
You need operating system support in the form of async I/O, which every OS offers. No special runtimes, no threads required.
- pas 6y agoThis is becoming more and more true with io_uring, but it was absolutely not the case a few years ago. (Linux AIO was a strange beast. Direct IO was great with preallocated files, but there was no way to do fsync() - especially on file/directory metadata - in an async way. Plus there was a threadpool based glibc thing that somehow faked async I/O, righ?)