Skip to content

Commit ceaa1c0

Browse files
XhmikosRphillipj
authored andcommitted
Revert "Update dont-block-the-event-loop.md (#2479)"
This reverts commit 5455032.
1 parent 822a40e commit ceaa1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale/en/docs/guides/dont-block-the-event-loop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ A CPU-intensive task only makes progress when its Worker is scheduled, and the W
362362
If you have 4 logical cores and 5 Workers, one of these Workers cannot make progress.
363363
As a result, you are paying overhead (memory and scheduling costs) for this Worker and getting no return for it.
364364

365-
I/O-intensive tasks involve querying an external service provider ([DNS](https://hosting.review/web-hosting-glossary/#9), file system, etc.) and waiting for its response.
365+
I/O-intensive tasks involve querying an external service provider (DNS, file system, etc.) and waiting for its response.
366366
While a Worker with an I/O-intensive task is waiting for its response, it has nothing else to do and can be de-scheduled by the operating system, giving another Worker a chance to submit their request.
367367
Thus, *I/O-intensive tasks will be making progress even while the associated thread is not running*.
368368
External service providers like databases and file systems have been highly optimized to handle many pending requests concurrently.

0 commit comments

Comments
 (0)