4 ms·
Eh. You're still talking nonsense. If an app requests some data and it needs to be read in from disk, you have to wait. Async I/O or not, that app can't make an
by hyc_symas 14y ago
Eh. You're still talking nonsense. If an app requests some data and it needs to be read in from disk, you have to wait. Async I/O or not, that app can't make any progress until its data arrives. Async I/O is only advantageous for writes.
- jules 14y agoThat's incorrect, even for reads the app can do something else at the same time while the disk read is being performed. That's what async I/O is all about.
- hyc_symas 14y agoThe app can do whatever else it wants to do that's completely unrelated to the data request. The part of the app that requested the data is stalled until the data arrives. If the data request is the only useful thing going on (e.g., a user clicked "search for Joe's phone number") then there's nothing else productive for the app to do and async I/O is irrelevant.
- jules 14y agoYes. That last bit is very rare, especially in server applications where you have multiple clients. In any case you might want to be a little more careful before calling something that you didn't understand nonsense.
- hyc_symas 14y agoIn server applications you have multiple threads too. Individual clients may stall but overall a large number of clients progress.