...

/

Improving Scalability Using Asynchronous Tasks

Improving Scalability Using Asynchronous Tasks

Learn about using threads and tasks to improve responsiveness in desktop or mobile apps and server-side applications.

When building a desktop or mobile app, multiple tasks (and their underlying threads) can improve responsiveness because while one thread is busy with the task, another can handle interactions with the user.

Press + to interact
Thread pool
Thread pool

Server-side utilization of tasks

Tasks and their threads can be useful on the server side, too, especially with websites that work with files or request data from a store or a web service that could take a while to respond. However, they are detrimental to CPU-bound complex calculations, so leave these to be processed synchronously ...