chrajeshbabu opened a new issue, #15092: URL: https://github.com/apache/pinot/issues/15092
Currently max number of threads to be used for a query having combine operator is 10 which can be made configurable when we have more number of segments to be processed and have high number of cores in a machine for better latencies. /** * Use at most 10 or half of the processors threads for each query. If there are less than 2 processors, use 1 * thread. * <p>NOTE: Runtime.getRuntime().availableProcessors() may return value < 2 in container based environment, e.g. * Kubernetes. */ public static final int MAX_NUM_THREADS_PER_QUERY = Math.max(1, Math.min(10, Runtime.getRuntime().availableProcessors() / 2)); -- 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.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