Reputation: 8961
I use CouchDB 1.6.1 on two separate servers (server A and server B).
For consistency sake I have been configuring all replications on server A. We have many databases. Each database has a 'push to B' and a 'pull from B' rep.
However, I now want to subdivide a database on server B. i.e.
dbOnA => dbOnB
dbOnB => subDbOnB1 (with repFilterB1)
dbOnB => subDbOnB2 (with repFilgerB2)
dbOnB => subDbOnB3 (with repFilgerB3)
etc.
Is there anything wrong with configuring these reps on server A?
Compared to configuring these same reps on server B, where the 'local' database is, am I making any tradeoffs wrt performance? efficiency? etc.
==== EDIT ====
To add background:
Upvotes: 1
Views: 81
Reputation: 6111
I am not entirely sure why you want to configure everything on server A. Sure, the replication you create would have full URL' s for all replications on server B. When I setup sth. like this, I create a _replication document on each server like this:
on server A: pull from B
on server B: pull from A
So the replication process is started on each server and is pulling. When subdividing server B, I see no reason to not setup the replication on server B. I don't see any performance tradeoffs when setting this up on server B - the opposite is the case if at all.
Upvotes: 1