ErickWendel / parallelizing-nodejs-ops

Example of how to Migrate 1M items from MongoDB to Postgres in just a few minutes using Node.js child process
https://youtu.be/EnK8-x8L9TY
152 stars 76 forks source link
child-process docker docker-compose mongo mongodb nodejs performance pg postgres postgresql

Parallelizing Node.js operations with child process

Example of how to Migrate 1M items from MongoDB to Postgres in just a few minutes using Node.js child process

First leave your star in the repo 🌟 Aumentando em 999x a velocidade de processamento de dados com Node

Running

You'll need to install Docker and Docker compose to be able to spin up the DBs instances, after that run:

Errors?

In case you got an error of too many processes open, try decreasing the const CLUSTER_SIZE variable