dalenguyen / firestore-backup-restore

NPM package for backup and restore Firebase Firestore

Home Page:https://firebaseopensource.com/projects/dalenguyen/firestore-backup-restore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restore a bit slow?

bertmeeuws opened this issue · comments

I am restoring around 5648 documents which takes around 8 minutes, my nodejs task is outputting around 700kb/sec. Could this be made faster or is this a limitation of firestore?

Perhaps I could slice the documents and run them parallel?

Used the npm library concurrently and ran multiple instances each with a different slice.

I'm glad that you found a solution for faster restoration :D