As for the $subject, we are identified following modifications. 1. We will maintain the map of executor services which returns the executor service per component. Once the component (eg CC,AS) needs to create a thread it should be getting his relevant executor service from the executor service map based on the identifier.
2. We will maintain the executor service identifier and thread pool size in the configuration level.(Please note that we are thinking to use the fixed Thread Pool size executor services) As an example: <threadPool> <autoscaler> <identifier>AS-Listerner</identifier> <threadPoolSize>10</threadPoolSize> </autoscaler> </threadPool> I guess we can maintain these executor service related configuration in separate configuration file. WDYT? Please share your thoughts on this. Thanks, Gayan