How to load balance/failover with pouchdb/couchdb?
问题 Just looking for info on what strategies people use for this? In the examples I see it is really easy to make a remote database connection that I will call get() on. var remoteDb = new PouchDB('https://myhost.com/db'); var data = remoteDb.get("myId"); But what if I have several remote databases set up that are syncing with each other. I want the clients to be able to use them all without changing the code. I am considering doing this through dns. For example have db.myhost.com with multiple