gortiz commented on code in PR #15445:
URL: https://github.com/apache/pinot/pull/15445#discussion_r2068182383


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/service/server/QueryServer.java:
##########
@@ -130,6 +124,15 @@ public void start() {
     }
   }
 
+  private <T extends ServerBuilder<T>> Server buildGrpcServer(ServerBuilder<T> 
builder) {
+    return builder
+         // By using directExecutor, GRPC doesn't need to manage its own 
thread pool

Review Comment:
   That deserialization is very cheap, non-blocking and it is expected to be 
done in the GRPC thread. There is no way to use direct mode without doing that 
deserialization.
   
   Regarding Netty, that is a particularity of the transport. Still, this type 
of de/serialization is the kind of thing that is expected to be done in Netty 
threads in any Netty-based application.



-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

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


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

Reply via email to