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

[Feature]: Improve performance by using io_uring api #438

Closed
misterquestions opened this issue Feb 5, 2023 · 2 comments
Closed

[Feature]: Improve performance by using io_uring api #438

misterquestions opened this issue Feb 5, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request proposal Proposal for this repo

Comments

@misterquestions
Copy link

misterquestions commented Feb 5, 2023

Description of new feature

Seems like this API performs better than the standard epoll, some interesting resources can be found here.

https://betterprogramming.pub/gain-the-new-fastest-go-tcp-framework-40ec111d40e6

Also something interesting is that windows native support could be added by using IoRing

Another resource for it: https://windows-internals.com/one-year-to-i-o-ring-what-changed/

Scenarios for new feature

High-concurrent networked servers, such as game servers or any other networked application.

Breaking changes or not?

Yes

Code snippets (optional)

This will happen in the background so nothing of the current API (v2) must be changed at all.

Alternatives for new feature

None.

Additional context (optional)

None.

@misterquestions misterquestions added enhancement New feature or request proposal Proposal for this repo labels Feb 5, 2023
@panjf2000
Copy link
Owner

io_uring is in the roadmap of gnet.

@panjf2000
Copy link
Owner

Duplicate #327

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

No branches or pull requests

2 participants