RubyFlow The Ruby and Rails community linklog

Polyphony has a new io_uring backend!

I am pleased to announce the release of Polyphony version 0.46.0, which includes a full-blown io_uring backend. The io_uring backend uses a relatively recent new I/O API in Linux that is the future of I/O processing. The new backend provides more than double the performance of the libev backend, achieving over 120K requests/second using a basic “Hello world” HTTP server.

Those of you unfamiliar with io_uring can head over to the Lord of the io_uring website. The io_uring backend is automatically used on Linux with kernel version 5.6 or higher.

For more information on the new io_uring backend, including preliminary benchmark numbers and design details you can consult the pull request. The source code for the io_uring backend in all its glory can be found here.

For more information on Polyphony please consult the (slightly outdated) Polyphony docs.

Comments

Thank you, Sharon! Really appreciate your work on Polyphony

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in