Skip to content

native transport are polled too frequently even if there's little to do #89

Description

@franz1981

The current scheduling policy prefer to keep on polling the Netty I/O (including scheduled and async tasks) although there is little to do.
The same won't happen with NIO, which can safely unmount the Netty I/O event loop once there is little to do, and just drain any pending virtual thread tasks.
This is a conservative mechanism to allow Netty I/O and timers to be handled in time, but if a Netty transport have little to do (eg it has no handled I/O events for the last N milliseconds) we could save polling it that frequently, at the cost of some queuing of Netty I/O related events.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions