workerpool
workerize
workerpool | workerize | |
---|---|---|
1 | 1 | |
1,961 | 4,339 | |
- | - | |
8.0 | 0.0 | |
4 days ago | about 3 years ago | |
JavaScript | JavaScript | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
workerpool
-
Managing Multiple Threads In Node.JS
The module we will work with today is called Worker Pool. Created by Jos de Jong, Worker Pool offers an easy way to create a pool of workers for both dynamically offloading computations as well as managing a pool of dedicated workers. It's basically a thread-pool manager for Node JS, supporting Worker Threads, Child Processes and Web Workers for browser-based implementations.
workerize
-
Consistently responsive apps while staying on the main thread
Here are a couple attempts at doing just that.
What are some alternatives?
comlink - Comlink makes WebWorkers enjoyable.
partytown - Relocate resource intensive third-party scripts off of the main thread and into a web worker. ๐
nodejs-performance-optimizations - Source Code for live demos via Bleeding Code tutorials
Express - Fast, unopinionated, minimalist web framework for node.
threads.js - ๐งต Make web workers & worker threads as simple as a function call.
piscina - A fast, efficient Node.js Worker Thread Pool implementation
typed-json-rpc - Simple, statically typed and ergonomic way to do async communications (events, workers, http requests) with json-rpc
workerize-loader - ๐๏ธ Automatically move a module into a Web Worker (Webpack loader)
workly - A really simple way to move a function or class to a web worker. ๐๏ธโโ๏ธโ ๐