4 ms·
I always wondered what the use-cases for PouchDB are. Who wants to replicate their "whole" database locally?
by k__ 10y ago
I always wondered what the use-cases for PouchDB are.
Who wants to replicate their "whole" database locally?
- c0brac0bra 10y agoThere are ways to filter the replication.
- diggan 10y agoThe Typeform LITE mobile application is built by using CouchDB and PouchDB which means when the application is online, it replicates the users db locally so the performance is great but the even bigger benefit is that when the application is offline, the user can still do the majority of the operations which would be synced once the application goes online again. So, probably no-one wants to replicate the whole database locally but there is a strong benefit to replicate parts of it for performance and offline-capabilities. Disclaimer: I was one of two developers on the mobile app mentioned above.
- egeozcan 10y agoYou can filter what you are syncing or create a db per user and declare interactions with foreign data in their own instance, which will be executed according to permissions in the backend. What I actually want is MeteorJS with neither MongoDB or the JavaScript backend, or PouchDB without Couch, or Jaydata + ASP.NET WebAPI with more open source compatibility...
- cwmma 10y agothere is a forthcoming couch plugin that does filtered replication by user
- k__ 10y agoAny more info? Is it meant for security related stuff? I read the filters aren't good for this ATM.