Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading from dump is become very slow with pouchdb v6.0.7 as compared to v5.4.5 #53

Open
sagarkm opened this issue Oct 19, 2016 · 1 comment

Comments

@sagarkm
Copy link

sagarkm commented Oct 19, 2016

We have dump files created with -s 5000 that creates individual dump files of 2-3 MB on average.
There are ~ 30 files, totaling to ~ 60MB of dump files.

We created an array of all those files and load them sequentially to create the single pouchDB.
When we used PouchDb v5.4.5 it completed the entire process of downloading and loading all files within 7 mins.
Now we upgraded to PouchDB v6.0.7 and the same code now takes around ~ 35 mins (almost 5X the time). The network bandwidth is almost the same.

Loading individual files benchmarks to approx 55 sec (~ 1 min) per files with v6.0.7, which used to take only few seconds with v5.4.5.

We are using the latest version of Pouchdb-load (v1.4.6).

Is this a known issue? This makes me feel to rollback to older version of PouchDb. But I send a lot of time to upgrade to v6.

@nolanlawson
Copy link
Member

This is not a known issue, thanks for reporting. A reproducible test case would be very helpful here.

On Oct 19, 2016, at 1:40 AM, Sagar Mody notifications@github.com wrote:

We have dump files created with -s 5000 that creates individual dump files of 2-3 MB on average.
There are ~ 30 files, totaling to ~ 60MB of dump files.

We created an array of all those files and load them sequentially to create the single pouchDB.
When we used PouchDb v5.4.5 it completed the entire process of downloading and loading all files within 7 mins.
Now we upgraded to PouchDB v6.0.7 and the same code now takes around ~ 35 mins (almost 5X the time). The network bandwidth is almost the same.

Loading individual files benchmarks to approx 55 sec (~ 1 min) per files with v6.0.7, which used to take only few seconds with v5.4.5.

We are using the latest version of Pouchdb-load (v1.4.6).

Is this a known issue? This makes me feel to rollback to older version of PouchDb. But I send a lot of time to upgrade to v6.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub #53, or mute the thread https://github.com/notifications/unsubscribe-auth/AARUwiRKkcL0FvLHJuunHrCNEyDXnR7_ks5q1dePgaJpZM4KatDN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants