CPU-bound work
CPU-bound work spends most of its time calculating instead of waiting for a network, disk, or other device.
For example, compressing a large file can occupy the Node.js event loop unless it is moved to a worker thread.
Share:
CPU-bound work spends most of its time calculating instead of waiting for a network, disk, or other device.
For example, compressing a large file can occupy the Node.js event loop unless it is moved to a worker thread.