Closed jacksonConrad closed 8 years ago
My understanding is that secondaries reroute queries to primaries unless read_mode
is set to outdated
(https://www.rethinkdb.com/api/ruby/run/).
So unless you are using outdated reads, then I would think there's nothing to be gain to include secondaries in the rethinkdb_urls.
Thank you. As a follow-up question:
If I wanted to run a rethinkdb proxy node on my application server, would I simply omit config.rethinkdb_urls
entirely, since NoBrainer picks localhost as the default database connection? Is there any other config required for using a rethinkdb proxy node?
there's not difference in nobrainer configuration between a proxy node or a regular one.
The docs say:
Should these urls correspond to only the primary replicas for each shard? Is there anything to be gained by including the secondary replicas?