From: aardizio Date: Mon, 22 Feb 2021 15:38:14 +0000 (+0100) Subject: Doc enhancement X-Git-Tag: v2.0.0~30 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4b8093f6b901289287640b2046cf9eb18d54cbc9;p=poolifier.git Doc enhancement --- diff --git a/README.md b/README.md index a4579ab1..913c93da 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ This method will call the terminate method on each worker. Performance is one of the main target of these worker pool implementations, we want to have a strong focus on this. We already have a bench folder where you can find some comparisons. -**Thread pools** ( FixedThreadPool and DynamicThreadPool ) are suggested to run CPU intensive tasks, you can still run I/O intensive tasks into thread pools, but performance enhancement is expected to be minimal. +**Thread pools** ( FixedThreadPool and DynamicThreadPool ) are suggested to run CPU intensive tasks, you can still run I/O intensive tasks into thread pools, but performance enhancement is expected to be minimal. Thread pools are built on top of Node.js [worker-threads](https://nodejs.org/api/worker_threads.html#worker_threads_worker_threads) module. **Cluster pools** (FixedClusterPool and DynamicClusterPool) are suggested to run I/O intensive tasks, again you can still run CPU intensive tasks into cluster pools, but performance enhancement is expected to be minimal.