Skip to content

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

Notifications You must be signed in to change notification settings

ErickWendel/parallelizing-nodejs-ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published