21 ms·
OS threads are for CPU bound work. Async is for juggling lots of little initialisations, completions, and coordinating work. Many apps are best single threade
by nly 1y ago
OS threads are for CPU bound work.
Async is for juggling lots of little initialisations, completions, and coordinating work.
Many apps are best single threaded with a thread pool to run (single threaded) long running tasks.