Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 805 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 805 Bytes

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