News for hackers. Stuff that matters.
Re:Towards Multiverse Databases by emilecantin on Monday June 17, 2019 @12:22PM (#20204534)
I'm currently working on an offline-first app with PouchDB as the data store on the front-end, and I'm going to use exactly this concept on the server. Each user will be an actual CouchDB user, with their own databases.

My use-case lends itself well to this paradigm, though. Other apps might not be able to to this as well as mine.

Re:Towards Multiverse Databases by AgentME on Monday June 17, 2019 @02:19PM (#20205889)
The article describes a way to use one database for all users, and mentions cases like "each user can see all posts, but can only see the author field on posts they made". The difference between that and a database-per-user design is that in a database-per-user design, there's no shared data (or if there is, it's manually synced in to all of the databases by something outside of the database).
Re:Towards Multiverse Databases by emilecantin on Monday June 17, 2019 @09:54PM (#20209165)
Yeah, that's exactly my use-case; there's very little shared data.

I guess we'll have to wait for other use-cases!