4 ms·
kqueue is most comparable to epoll. In a way, async sendfile is like iouring in that a web / file server does not have to supply a blocking thread context to w
by drewg123 3y ago
kqueue is most comparable to epoll.
In a way, async sendfile is like iouring in that a web / file server does not have to supply a blocking thread context to wait for io -- once data arrives from the storage driver, its pushed through the TCP stack in the storage driver's ithread context. But its just that single sequence.
- alberth 3y agoDrew, beyond async sendfile which you’ve already done - does Netflix have any plans to bring more general purpose iouring-like functionality to FreeBSD? (Thank you & the team for all you do)
- drewg123 3y agoNot that I'm aware of. The sendfile path is our hottest path, and that's already improved immensely by async sendfile.