IOU is a Ruby gem that simplifies working with the io_uring API, offering features such as preparing and submitting operations like accept, read, and write. It allows for multi-threaded, multi-fibered, or callback-based apps. With IOU, you can set up a buffer ring for improved read performance and associate data with operations. Completing operations can be done with callbacks or waiting/blocking for completion. IOU even allows for cancelling operations. Examples of using IOU, such as an echo server or HTTP server, can be found in the examples directory.
https://github.com/digital-fabric/iou