caiconghui opened a new issue #5116:
URL: https://github.com/apache/incubator-doris/issues/5116


   1. Thread resources are precious. To increase the amount of concurrency, it 
is necessary to solve the blocking effect of io operations on threads. So we 
decide to mainly use THREADED_SELECTOR model in fe thrift server on our 
production environment.
   2. For thrift C++ implementaion, THREADED is a blocking io model, For thrift 
Java implementation, THREADED_SELECTOR is a non-blocking io model, so here we 
should not abbreviate THREADED_SELECTOR to THREADED, it may be confused.
   3. When use non blocking io model, thrift client should use 
TFramedTransport, otherwise cause network communication failed
   4. When an fe node added to cluster firstly, we cannot obtain fe rpc port 
info, so here we should keep all fe port config same, and use Config.rpc_port 
instead.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to