Skip to content

v21.0.0-alpha1

Compare
Choose a tag to compare
@uNetworkingAB uNetworkingAB released this 10 May 09:22
· 138 commits to master since this release

Linux 6.0+ io_uring as new backend

This alpha release adds initial (still to be further optimized) io_uring support in uWS. It is still very incomplete, but EchoServer, HelloWorld and even HelloWorldThreaded work. As do load_test and http_load_test and possibly other examples.

Here's a comparison against the (minimal) fastwebsockets project, and against uWS v20. We still have a bunch of optimizations to add, zero-copy for instance.

You can build it with LDFLAGS=/usr/lib/liburing.a WITH_IO_URING=1 make

1 CPU-core, WebSocket echoing on Linux 6 1  msg_sec, higher is better