DEV Community

Cover image for Polyphony has an io_uring backend!
Sharon Rosner
Sharon Rosner

Posted on

Polyphony has an 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.

Top comments (0)