All thread pools are monitored and DO NOT USE Executors.newXXX() ANYMORE

2021-08-10 Thread Xiangdong Huang
Hi, We use many thread pools in IoTDB and it is hard to know how many thread pool we have totally and whether a thread pool is busy. Therefore, I unify the creation of ThreadPool, register it to JMX and allow JMX to check its active size, pending size, etc.. When the threadpool is `shutdown()` o

Re: All thread pools are monitored and DO NOT USE Executors.newXXX() ANYMORE

2021-08-11 Thread Xiangdong Huang
> The use of threads is also messy in the iotdb-cluster module. Yes.. that is one of the main reasons that I did this. --- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Houliang Qi 于2021年8月11日周三 上午9:13写道: > > Decent work! > The use of th