Tech notes/concurrent futures and threadpoolexecutor

First published:

Last Edited:

Number of edits:

In Python, when using the ThreadPoolExecutor of concurrent.futures, it is hard to know how many elements are waiting in the queue to be processed. The best I could gather is 1 :


That is the queue where the WorkItems are stored.

  • Can it be a good idea to create my own PoolExecutor?



These are the other notes that link to this one.

Nothing links here, how did you reach this page then?


Share your thoughts on this note
Aquiles Carattino
Aquiles Carattino
This note you are reading is part of my digital garden. Follow the links to learn more, and remember that these notes evolve over time. After all, this website is not a blog.
© 2021 Aquiles Carattino
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License
Privacy Policy