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

Explore using webworkers for PouchDB #44

Open
flimzy opened this issue Feb 4, 2017 · 2 comments
Open

Explore using webworkers for PouchDB #44

flimzy opened this issue Feb 4, 2017 · 2 comments

Comments

@flimzy
Copy link
Contributor

flimzy commented Feb 4, 2017

PouchDB supports webworkers. Some investigation should be done as to whether using one or more webworkers (in a pool?) would improve document read/write performance.

@flimzy
Copy link
Contributor Author

flimzy commented Feb 7, 2017

It seems the worker-pouch adaptor won't really work for this project, as it does not work with other plugins (and this project uses the find plugin).

I think this means the only way to accomplish this for our project is to create my own abstraction layer which proxies requests to a web worker. The good news is, this should also make it possible to manage a pool of workers.

@flimzy
Copy link
Contributor Author

flimzy commented Feb 8, 2017

As of #59, I'm no longer using the find plugin, so the worker-pouch plugin may again be an option (until 'query' is put in its own plugin)

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

No branches or pull requests

1 participant