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

Optimize record iterator #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

stevecassidy
Copy link
Contributor

Attempt to make the notebook record iterator run faster when downloading attachments. Previous implementation does many queries to the DB for each record which seems to be slow. Here we try to do batch downloads of records, revisions, avps and attachments via an index.

Hit a roadblock when I found that for a remote db, PouchDB doesn't get the attachments in a query via an index, although it does for an in memory db.

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

Successfully merging this pull request may close these issues.

None yet

1 participant