The boss loop determines which threads can call accept() (in low level networking terminology), while the worker loop does the reads and writes. They boss loop can be the same as the worker loop. This is the default.
The executor runs the ClientCall.Listener and ServerCall.Listener callbacks . It is more important to set the executor. The event loops are more for advanced users, and they require being familiar with Netty. Hope this helps! On Tuesday, September 18, 2018 at 3:58:42 AM UTC-7, qplc wrote: > > HI, > > NettyServerBuilder while constructing grpc server: > The primary difference between boss and worker event loop group. What is > the role of executor, boss and worker event loop group while constructing > NettyServerBuilder? > > NettyChannelBuilder while constructing grpc client: > What is the role of executor and event loop group? How are they different > from each other? > > Does the executor persist same role in building grpc server or client? > > Can someone clear above doubts? > > Regards, > qplc > > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/ff6929fd-125d-4c57-a0d3-bcb80db5905c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
