Skip to content

Commit

Permalink
Merge pull request #15 from Edujugon/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Edujugon authored May 9, 2023
2 parents c158d41 + 28f4f77 commit b4cf665
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This package can detect the number of vCPU cores allocated to your execution env
## AWS Lambda & Node Parallelizer
By default, It uses the Lambda function environment `/tmp` folder to create the required module that runs in the child process/thread.

On the Child Process Parallelizer, when you create an instanciate if the Parallelizer class outside of the Lambda handler function, it will reuse the child processes across the different invocations within a Lambda instance, minimazing the impact of creating child process on every invocation. Furthermore, if the package detects a disconnection of any of the child processes, it will recreate it automatically without affecting the execution.
When you create an instance of the Child Process Parallelizer outside of the Lambda handler function, it will reuse the child processes across the different invocations within a Lambda instance, minimazing the impact of creating child process on every invocation. Furthermore, if the package detects a disconnection of any of the child processes, it will recreate it automatically without affecting the execution.

## Demostration
![Alt text describing the image](./images/node-parallelizer.png)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-parallelizer",
"version": "3.0.1",
"version": "3.0.2",
"description": "A NodeJS package for running code in parallel. Initially created to provide multiprocessing in an AWS Lambda function, but it can be used in any NodeJS environment.",
"main": "src/index.js",
"scripts": {
Expand Down

0 comments on commit b4cf665

Please sign in to comment.