Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
decarv opened this issue May 17, 2024 · 1 comment
Open

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

decarv opened this issue May 17, 2024 · 1 comment
Assignees
Labels
feature New feature

Comments

@decarv
Copy link
Contributor

decarv commented May 17, 2024

This is the first part of the I/O layer replacement project (refer to discussion #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.

@decarv decarv added the feature New feature label May 17, 2024
@decarv
Copy link
Contributor Author

decarv commented Jun 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant