This is a fairly common use case, especially in mobile environments where the data for each user is synchronized with the device using one of the Android, iOS or JavaScript libraries (pouchdb).
So, in concept, itβs fine, but I would still recommend thorough testing before entering production.
Note that one drawback of multiple databases is that you cannot write queries that span multiple databases. However, there are some workarounds - see Cloudant: Databases Search for more information .
March 17, 2017 Patch :
Please see Cloudant Messenger for more information on this approach.
The database for each user is a common template with CouchDB, when there is a requirement for each user of the application to have their own set of documents that can be synchronized (for example, with a mobile device or browser). At first glance, this is a good solution - Cloudant handles a large number of databases in one installation very well. But...
Source: https://github.com/cloudant-labs/envoy
source share