You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For better performance of database requests and sync, we want to store records in different databases rather than putting everything in a single "app" database as the current design enforces.
e.g. storing notification events in a individual CouchDB for each user account separately ("app" db = normal docs; "notifications_user-id-xyz" = NotificationEvent docs)
The text was updated successfully, but these errors were encountered:
Keep a single EntityMapperService that can load and transform all entities, for any database
Annotate Entity Types specifically, if they should be saved in a different DB than the default "app" database
Implement a new DatabaseManager service to route to the right Database service instance for the given entity (or let EntityMapperService handle that?)
Create multiple PouchDatabase service instances for each required database, allowing us to keep the Database class implementation unchanged during this refactoring.
... rework the SyncService to also somehow work with this architecture and init syncing for multiple DBs, if necessary
For better performance of database requests and sync, we want to store records in different databases rather than putting everything in a single "app" database as the current design enforces.
e.g. storing notification events in a individual CouchDB for each user account separately ("app" db = normal docs; "notifications_user-id-xyz" = NotificationEvent docs)
The text was updated successfully, but these errors were encountered: