J-HowHuang commented on PR #17494: URL: https://github.com/apache/pinot/pull/17494#issuecomment-3814482693
@Jackie-Jiang @krishan1390 Based on offline discussion, all the targeted API resources on the list are now annotated with `@ManagedAsync` to run in the cached thread pool. And to monitor the active thread, these are the additional changes: * Pinot controller now creates a cached thread pool with `@ManagedAsyncExecutor`. This thread pool is visible in Pinot and will replace Jersey's default cached thread pool. Now all API resources with `@ManagedAsync` will run in this cached thread pool instead. * Add a new controller gauge `MANAGED_ASYNC_ACTIVE_THREADS` to report active threads in the cached thread pool. The new gauge is tested locally: <img width="641" height="491" alt="image" src="https://github.com/user-attachments/assets/a2be0a56-af01-442c-a464-7da8a983f800" /> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
