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

Could this go upstream into PouchDB/CouchDB? #34

Closed
nickcmaynard opened this issue Jul 10, 2015 · 5 comments
Closed

Could this go upstream into PouchDB/CouchDB? #34

nickcmaynard opened this issue Jul 10, 2015 · 5 comments

Comments

@nickcmaynard
Copy link

We're using this to shorten our initial replication times from remote CouchDB -> in-browser PouchDB (with pouchdb-load) from ~120s to 2s. It's such a massive speedup that I can't help thinking that this component (which I see as server-side) could be in CouchDB/PouchDB trunk.

I guess the answer is philosophical, and the question might be naïve, but could this be pushed upstream?

@ngbinh
Copy link

ngbinh commented Jul 10, 2015

@nickcmaynard I am also interested in a way to shorten our initial replication from CouchDB to in browser PouchDB. Can you please share the way you set it up? Thanks

@nickcmaynard
Copy link
Author

@ngbinh You need an intermediary NodeJS server to run this package (we use exporess-pouchdb-replication-stream as a wrapper). Then run pouchdb-load in your browser. The documentation pretty much covers it.

@nolanlawson
Copy link
Member

This library is kind of a testing ground for a potential new CouchDB API. The code itself wouldn't be used (CouchDB is Erlang; this is JavaScript), but it could definitely influence the design. @janl has been particularly interested in this.

@kxepal
Copy link

kxepal commented Jul 13, 2015

Theoretically, replicator may use such algorithm if it was asked to create target during replication or target docs count is zero. However, this also assumes that there will be no concurrent replication processes, so this feature as an option could be good.

@nolanlawson
Copy link
Member

Closing, currently no plans to integrate into CouchDB

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

4 participants