Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the capacity of IronDB? #5

Open
pmualaba opened this issue Oct 26, 2018 · 2 comments
Open

What's the capacity of IronDB? #5

pmualaba opened this issue Oct 26, 2018 · 2 comments

Comments

@pmualaba
Copy link

IndexedDB has initial 5MB limitation and whole Harddisk capacity after confirmation (is IronDB handling such confirmation protocols?)

Cookies have a 4KB limit per cookie.

LocalStorage and SessionStorage have 10MB limitiation?

How are these limitations reconciliated in IronDB

It would be nice to have a "capacity / usage" api available in IronDB to monitor the current and available storage capacity.

Thanks!

@tracker1
Copy link

This is one of my two initial critiques... making another issue for the second.

@gruns
Copy link
Owner

gruns commented Dec 4, 2018

In short, ImmortalDB's capacity depends on the stores used.

For example, if CookieStore is used, which it is by default, storage per key
is limited by the browser's cookie storage limits, e.g. 4096 bytes per cookie,
180 cookies per domain, etc.

That said, ImmortalDB is resilient. If a write and/or read to any store fails
(e.g. more than 4096 bytes written to a cookie), ImmortalDB will continue to
work unimpeded, just with reduced redundancy.

Are you bumping into the storage limits of any of the stores (CookieStore,
IndexedDbStore, etc)?

Regardless, it would, incontrovertibly, be useful to note the storage limits of
each store. I'll add such notes to the readme.

@gruns gruns mentioned this issue Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants