Convert user storage from chrome.storage to indexedDB

Issue #8 open
David Simpson repo owner created an issue

Chrome storage fails for large datasets. IndexedDB is a good alternative.

From https://developer.chrome.com/apps/app_storage :

When saving data locally, you can use the Chrome Storage API to save small amounts of string data and IndexedDB to save structured data. With IndexedDB, you can persist JavaScript objects to an object store and use the store's indexes to query data.

See html5rocks : A Simple TODO list using HTML5 IndexedDB for a simple example of indexedDB

Comments (6)

  1. David Simpson reporter

    I’ve loaded lists of around 50000 users with 45 fields (27.9 MB) into the extension using IndexedDB and that appears to work quite well. The only downside is that it takes around 55 seconds to load these users into the database.

    I've tried again with 50000 users & 9 columns (5.2 MB). This took around 15 seconds to load.

    All user personas generated at fakenamegenerator.com

    I'd really appreciate it if someone could send me a CSV with over 100,000 users so I can test this out

  2. Me J

    It is a very useful extention. Highly appreciate your effort. Is there any update on this? Do you need help?

    Thanks.

  3. Log in to comment