Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

How do we manage pouchDB entry and total DB size? #108

Open
yaronyg opened this issue Mar 20, 2015 · 0 comments
Open

How do we manage pouchDB entry and total DB size? #108

yaronyg opened this issue Mar 20, 2015 · 0 comments
Labels

Comments

@yaronyg
Copy link
Member

yaronyg commented Mar 20, 2015

We need hooks that programmers can connect to that will tell them things like "User X is trying to add a record X bytes in size to this Database, you cool with that? BTW, the DB they are writing to is already Y bytes in size."

The point is that we are on mobile and we do need to be aware of how big things are. So we need an infrastructure in PouchDB that developers can hook into that will let them control sizing. This would need to be part of the synch framework (for remote synch) as well as the other APIs (for local Apps). From a prioritization perspective however Synch is clearly the priority for right now. If we just hook that up we have done good.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants