Icelk / kvarn

An extensible and efficient forward-thinking web server for the future.
https://kvarn.org
Apache License 2.0
15 stars 1 forks source link

Use uring for networking and file system operations #21

Closed Icelk closed 1 year ago

Icelk commented 1 year ago

Improves performance when this feature is enabled. Requires a recent Linux kernel.

We should maybe make all "version" of Kvarn single-threaded, to keep consistency? We could also use Rc in some places. Rc and RefCell wouldn't change a lot, since the hosts are still multi-threaded. And it would be impossible to bind the same socket from multiple threads on Windows. And dropping windows support isn't on my todo-list.