[PATCH 8 of 8] new io_uring event module

Vladimir Homutov vl at nginx.com
Mon Nov 30 14:39:13 UTC 2020


First, thank you for sharing the patchset!

We are always looking at new features that appear in kernels and may be
useful in nginx. There are a lof of shiny features, but it is a long
way for them to mature and be adopted in nginx. Currently we are not
considering adding such functionality.

The io_uring interface looks like promising candidate to support AIO
nginx functionality in linux. You may want to start looking at
nginx.org/r/aio directive and related functionality. The task is
quite complex (at some degree due to poor interfaces available),
but we hope it has an elegant solution.

Note also we prefer to use system calls directly, without introducing
dependencies to such things like liburing (and for sure, the method
of integration definitely is not cloning its copy in nginx).

You may also want to consider building your modules externally and
minimizing changes to nginx core. While patching nginx often seen
as a simple and quick solution, we would appretiate attempts to
integrate external code using some generic approach/interface.


More information about the nginx-devel mailing list