chaoyli commented on issue #2896: Import a new ThreadPool Framework
URL: 
https://github.com/apache/incubator-doris/issues/2896#issuecomment-585758880
 
 
   This ThreadPool have three features.
   **Using a token mechanism to receive tasks.**
       In Doris, tasks are submitted into ThreadPool without group.
       If a task in one group should be handled serially, it will stall all 
tasks in ThreadPool.
       For example, MemTableFlush tasks belong to different tablets can be 
flushed concurrently
       and tasks belongs one tablet should be 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

Reply via email to