You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Parallelizing Node.js operations with child process
2
+
3
+
Example of how Migrate 1M items from MongoDB to Postgres in just a few minutes using Node.js child process
4
+
5
+

6
+
7
+
8
+
## Running
9
+
10
+
You'll need to install Docker and Docker compose to be able to spin up the DBs instances, after that run:
11
+
- docker-compose up -d
12
+
- npm ci
13
+
- npm run seed
14
+
- npm start
15
+
16
+
## Errors?
17
+
18
+
In case you got an error of too many processes open, try decreasing the const [CLUSTER_SIZE](https://github.com/ErickWendel/parallelizing-nodejs-ops/blob/main/src/index.js#L8C1-L8C24) variable
0 commit comments