4 ms·
I've been running PouchDB + CouchDB 2.0 in production for a while now (financier.io). It's worked great, and I really recommend you to check it out. A couple th
by aeharding 10y ago
I've been running PouchDB + CouchDB 2.0 in production for a while now (financier.io). It's worked great, and I really recommend you to check it out. A couple things:
1. CouchDB 2.0 is still rough around the edges, particularly with its new Fauxton interface (ex: completely broken when proxied into subfolder).
2. CouchDB 2.0 brings the _bulk_get API which has improved sync by an order of magnitude(s).
3. I do have custom logic for logging in overriding the _session API in order to do rate limiting. (I proxy with nginx for IP rate limiting and node.js for failed password attempts rate limiting.) I also have custom logic for provisioning a new CouchDB database per user and setting up permissions.
4. I host on Digital Ocean but I use their new block storage solution so that a growing db does not become unwieldy/expensive.
5. My SaaS subscription system is kind of unique: When your subscription expires you'll simply lose write access to the server (CouchDB), but you can still pull down your data to PouchDB.