Open ng5 opened 3 years ago
I thought about it many times already - ideally on modern Linux we'd dispense with the I/O thread entirely for messaging, and instead use io_uring to get data on/off sockets instead of the internal pipes, and have BPF programs do the message decoding/encoding. The background thread would just handle setup, teardown and such state changes.
It is of course easier said than done, especially due to lack of time. PRs welcome.
Is there a plan to use new io_uring backend in addition to epoll.
Thanks