Hacker News new | past | comments | ask | show | jobs | submit login

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.



That'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.


The 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.


Yes. 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.


In server applications you have multiple threads too. Individual clients may stall but overall a large number of clients progress.


Yes, I already pointed that out, so we're finally back to what I already originally said ;-)


So we're in violent agreement? ;)


I think so! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: