Skip to content

Netty server getting blocked under heavy read/writes #13305

Answered by normanmaurer
mayurdb asked this question in Q&A
Discussion options

You must be logged in to vote

These are a lot of different questions... I will try to answer all of them but please in the future create different discussion for each as it make it easer for people to find these etc.

  1. This is because it simplifies the whole threading model a lot. By handling everything on the same EventLoop there is no need for any extra synchronisation etc. Also it ensures everything is delivered in the correct order. This model is widely used by network frameworks.

  2. I will be handled by the assigned EventLoop of the Channel and then handed over to the EventExecutor that handles the ChannelHandler

  3. While the operation might execute directly there is no guarantee that this is the case. The only way…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by normanmaurer
Comment options

You must be logged in to vote
1 reply
@joosing
Comment options

Comment options

You must be logged in to vote
1 reply
@franz1981
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #13296 on March 29, 2023 07:25.