Closed hiqsociety closed 2 years ago
Yes, this should be possible. I'd probably try tokio-uring before monoio but quinn-proto should allow you to build it anyway you like.
monoio definitely faster than tokio uring coz it's thread per core concept.
Note that this isn't necessarily a performance win, and may compromise conformance. For example, I'm not sure if generic receive offload is supported by io_uring yet, and that's an important contributor to making heavy UDP workloads fast. Full correctness parity will also require support for setting/getting ECN flags and the local IP address packets are addressed from/to.
That said, I'd be happy to provide guidance to someone interested in exploring this.
Closing as a dup of https://github.com/quinn-rs/quinn/issues/915.
https://github.com/bytedance/monoio