Compio instead of Tokio - What are the implications?

250 points p1nd0r4m4 40 comments

I recently stumbled upon Apache Iggy that is a persistent message streaming platform written in Rust. Think of it as an alternative to Apache Kafka (that is written in Java/Scala).

In their recent release they replaced Tokio by Compio, that is an async runtime for Rust built with completion-based IO. Compio leverages Linux's io_uring, while Tokio uses a poll-model.

If you have any experience about io_uring and Compio, please share your thoughts, as I'm curious about it.

Cheers and have a great week.