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

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.

Like what you read? Give Marco Fuhrich a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.