CPU-bound work

Work limited by how fast the processor can calculate, such as hashing or parsing, rather than by waiting for disk or network.

In more detail

CPU-bound work on the main thread blocks the event loop, so every other request waits. Move it to worker threads, a worker pool or a child process.

Related terms

Taught in

References