Tag: Performance
All the articles with the tag "Performance".
-
IO vs Computation Thread Pools — Why Android Has Two and When to Use Each
Learn why Android exposes two thread pools — IO and Computation — what makes them fundamentally different, and how Dispatchers.IO and Dispatchers.Default map to each.
-
Keep-Alive Time, Multiple Thread Pools, and Why 4 Threads Can Beat 40
Understand keep-alive time, why separating tasks into multiple thread pools improves UX, and the experiment that proves fewer threads can finish 10,000 tasks faster than more threads.
-
Android Thread Pool: How Core Size, Max Size, Queue, and Rejection Actually Work
Learn why unlimited threads crash apps, how a thread pool fixes it with four key parameters — core size, max size, keep-alive time, and queue capacity — and exactly when rejection happens.
-
How Instagram Runs Smoothly: Multi-Process Architecture and C++ NDK in Android
Discover why Instagram stays smooth despite handling heavy media. Learn how Android's multi-process architecture, native C++ memory, and JNI work together to eliminate UI lag.