3 ms·
asynchronous doesn't magically make CPU-intensive tasks faster.
by mobiuscog 11y ago
asynchronous doesn't magically make CPU-intensive tasks faster.
- kornish 11y agoCorrect, but it sure does stop your entire single-threaded process from blocking to the detriment of all other requests.
- corobo 11y agoIt does mean other tasks (e.g. serving pages to visitors) can still be run at the same time as the CPU-intensive task though, like most languages do when it comes to hashing passwords and logging people in