You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which uses some DelayedWorkQueue internally. Will this gives the in general the best performance or is there some specific thoughts after using this type of thread pool?
How it compares with a ExecutorService.newFixedThreadPool that uses LinkedBlockingQueue or a fork-join pool?
If I am correct, from the code here
https://github.com/googleapis/gax-java/blob/master/gax/src/main/java/com/google/api/gax/core/InstantiatingExecutorProvider.java#L63
Means the default threadpool for grpc connections will be a
ScheduledThreadPoolExecutorhttps://github.com/AdoptOpenJDK/openjdk-jdk11/blob/master/src/java.base/share/classes/java/util/concurrent/ScheduledThreadPoolExecutor.java#L470
Which uses some
DelayedWorkQueueinternally. Will this gives the in general the best performance or is there some specific thoughts after using this type of thread pool?How it compares with a
ExecutorService.newFixedThreadPoolthat usesLinkedBlockingQueueor a fork-join pool?I saw some earlier discussion here grpc/grpc-java#7381 but I am not sure whether those statement are still valid now?
Thank you.