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

io_uring / IoRing loop #81

Open
staabm opened this issue Jun 25, 2023 · 3 comments
Open

io_uring / IoRing loop #81

staabm opened this issue Jun 25, 2023 · 3 comments
Labels
feature request New feature or request

Comments

@staabm
Copy link

staabm commented Jun 25, 2023

Would it make sense to implement a new based on io_uring / IoRing?

Found a discussion which shares other languages/applications to use a io_uring based loop for better performance, see https://news.ycombinator.com/item?id=23133040

IoRing on Windows: oven-sh/bun#43 (comment)

the origin idea for opening this issue is by Arnauld, a php-src developer

@WyriHaximus
Copy link
Contributor

In short, if there is a way to access it from PHP through core functions or extensions, then yes it would make sense if we can get all supported features we expect from event loops in.

@kelunik
Copy link
Member

kelunik commented Jun 25, 2023

This would be nice to have, but not at the top of my TODO list. Also keep in mind that uring is still quite young and people keep finding new vulnerabilities, so Google disabled it on their production servers.

@bartvanhoutte
Copy link

For what it's worth: (limited) support for io_uring was added in libuv a while ago: libuv/libuv#1947.

@kelunik kelunik added the feature request New feature or request label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Development

No branches or pull requests

4 participants