pgagroal icon indicating copy to clipboard operation
pgagroal copied to clipboard

I/O: Replace libev with a native event loop (Linux Support)

Open hac-v opened this issue 1 year ago • 1 comments

This is the first part of the I/O layer replacement project (refer to discussion https://github.com/agroal/pgagroal/discussions/442).

This issue will contain our native I/O solution for pgagroal, which will replace libev.

As mentioned in the discussion, we will prioritize using io_uring, and if io_uring does not meet the performance requirements for pgagroal, we will fallback to an epoll implementation.

The relevant branch and pull request will be linked here as soon as I have something working.

If you would like to follow on early developments, I keep them here.

hac-v avatar May 17 '24 18:05 hac-v

Updates.

The development of the Linux support is happening here https://github.com/decarv/pgagroal/tree/new-linux-io-layer (please refer to discussion #422 for explanation on this update).

What I currently have is the basic epoll and io_uring event loop.

I will be making tweaks to the libpgagroal_ev and replacing libev during this and the next two weeks.

hac-v avatar Jun 27 '24 01:06 hac-v