Skip to content

Conversation

adam-fowler
Copy link
Member

  • Add EventLoopExecutor
  • Add EventLoopExecutorMap to map EventLoop to an EventLoopExecutor
  • Require that ServerChildChannel.Value conforms to ChildChannelValue which returns an EventLoop
  • Server then gets the EventLoop from the ServerChildChannel.Value and runs the Task using the associated EventLoopExecutor

@adam-fowler adam-fowler marked this pull request as draft April 30, 2024 13:03
Copy link
Contributor

@MahdiBM MahdiBM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EventLoopExecutor sounds like something that should exist in NIO? Perhaps worth a PR there?

@adam-fowler
Copy link
Member Author

@MahdiBM it probably will in time. They already have a SerialExecutor. This PR is experimental at the moment. Unfortunately the results haven't been particularly successful so far. I might be holding it wrong though.

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

Successfully merging this pull request may close these issues.

2 participants