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]: support edge-triggered I/O #573

Closed
panjf2000 opened this issue Apr 14, 2024 · 0 comments · Fixed by #576
Closed

[Feature]: support edge-triggered I/O #573

panjf2000 opened this issue Apr 14, 2024 · 0 comments · Fixed by #576
Assignees
Labels
enhancement New feature or request pending development Requested PR owner to improve code and waiting for the result proposal accepted Proposal has been accepted proposal Proposal for this repo
Milestone

Comments

@panjf2000
Copy link
Owner

panjf2000 commented Apr 14, 2024

Description of new feature

Implement the edge-triggered I/O.

Scenarios for new feature

For instance, network services with large response packets.

Breaking changes or not?

No

Code snippets (optional)

type Options struct {
    ...
	// EdgeTriggeredIO enables the edge-triggered I/O for the underlying epoll/kqueue event-loop.
	// Don't enable it unless you are 100% sure what you are doing.
	EdgeTriggeredIO bool
}

Alternatives for new feature

None.

Additional context (optional)

None.

@panjf2000 panjf2000 added enhancement New feature or request proposal Proposal for this repo labels Apr 14, 2024
@panjf2000 panjf2000 self-assigned this Apr 14, 2024
@panjf2000 panjf2000 added this to the v2.5 milestone Apr 14, 2024
@panjf2000 panjf2000 added pending development Requested PR owner to improve code and waiting for the result proposal accepted Proposal has been accepted labels Apr 14, 2024
panjf2000 added a commit that referenced this issue Apr 17, 2024
panjf2000 added a commit that referenced this issue Apr 19, 2024
leslie-fei pushed a commit to leslie-fei/gnet that referenced this issue Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending development Requested PR owner to improve code and waiting for the result proposal accepted Proposal has been accepted proposal Proposal for this repo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant