Hey Marco, I can honestly say I didn’t know about THREAD_POOL_EXECUTOR, thanks for pointing that…
Ali Muzaffar
11

Choosing those values is an optimization process, you will have to test what works best for your use case.
You can and will make some errors during this process, which are not always obvious and, as we are talking about concurrency, hard to debug :)
A good point to start is the documentation for ThreadPool in the Java SDK, which can also be found at http://developer.android.com/intl/ru/reference/java/util/concurrent/ThreadPoolExecutor.html.

This part of the documentation helped me a lot to understand the terminology and to search for additional information.

Show your support

Clapping shows how much you appreciated Marco Fuhrich’s story.