Re:What's So Bad About Posix I/O?
by AstralStorm on Tuesday September 12, 2017 @03:24AM
(#15225438)
Generally epoll and event io are good enough for millions of simultaneous files or sockets.
Nobody tells you to use direct read or write instead of mmap either.
[ Parent
| on HN ]
Mmap - I can't think of a scenario where it improves over read or write in the context discussed here: async access. Mmap is synchronous, and you can't do select/poll on it.
Not sure why you were downvoted.
That's some seriously hairy stuff there. I reckon I'd move to building my app as a kernel module more readily than trying to make a robust async arrangement using that mechanism :) Call me demanding, but I think we should can reasonably expect easier access to async from our OS than this mechanism offers.
On that topic of which.. how's the future of operating systems coming along?