-
Notifications
You must be signed in to change notification settings - Fork 17
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
multi master replication #19
Comments
sorry im not clear on your question if you mean can it sync postgres as the source db then no you can use the postgres http extension to populate a couchdb and then use couch as your datasource with master-master replication and using couch-to-postgres populate separate postgres databases. This is currently how i am using it eg Postgres at location 1 With couch 1 & 2 replicating to each other - so if you add a doc to couch 1 it will appear in postgres 2 |
ok, perfect, i have another question |
Im not sure there is a simple method to do multi-master replication with postgres - this is the reason we chose couchdb as our datasource - we were using solr then elasticsearch for searching/querying the data when couch map/reduce was not enough. however elasticsearch uses a LOT of memory (and needs more as the index grows) but with postgres we have gone down from 4gb vm for elasticsearch to a 2gb vm for postgres and no problems with memory issues. Take a peek at: http://blog.2ndquadrant.com/jsonb-type-performance-postgresql-9-4/ |
Thanks for you reply, i have another question for that im open a new issue about instalation |
sure ask away - btw i have released an npm: https://www.npmjs.com/package/couch-to-postgres npm i couch-to-postgres |
is it possible use couchdb replicator over the postgres database on couch-to-postgres?
The text was updated successfully, but these errors were encountered: