chaoyli opened a new pull request #2895: Import new ThreadPool framework URL: https://github.com/apache/incubator-doris/pull/2895 1. Using a token machanism to receive tasks. Task in token can be handled serially or concurrently. MemTableFlush in Doirs can use this feature, different tasks belongs to different tablet can be flushed concurrently. But task belongs one tablet should flushed serially. 2. Support set min_threads and max_threads in ThreadPool. At peek time, ThreadPool can expand threads up to max_threads. 3. New thread implementation which is better to trace on resource usage than C++ library.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org