mrloop icon indicating copy to clipboard operation
mrloop copied to clipboard

An event loop for C using io_uring

Results 5 mrloop issues
Sort by recently updated
recently updated
newest added

![image](https://user-images.githubusercontent.com/10728431/147525512-93c14698-e999-47ef-9a61-ca409dea529b.png) Maybe the aim is improving performance, but what if no much `writev` in a short-time? Every `writev` will wait for a long time to be submitted to kernel?

After `readv` completed, the data from client is in the `conn->buf`, then echo_server `writev` it back to the client, and re-issue a `readv`. What if the later `readv` gets new...

https://github.com/MarkReedZ/mrloop/blob/261b162ee1042f89a4688f6b110868aa0aab59ff/mrloop.c#L443 What if there is just only one request at this particular moment? The `submit` will never be called.

Trying to run the `echo_server` with the rust benchmarker results in a read error. Sure enough, using `nc localhost 12345` and typing a few lines gets me no results back...

The build script looks for liburing in /usr/local/lib. ``` git clone https://github.com/axboe/liburing.git cd liburing make sudo make install ``` Puts liburing.a in /usr/lib and mrloop's bld file looks for it...