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

Home Page:https://youtu.be/EnK8-x8L9TY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • docker-compose up -d
  • npm ci
  • npm run seed
  • npm start

Errors?

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

About

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


Languages

Language:JavaScript 100.0%