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

Can I use IndexedDbVFS in my application? #11

Closed
rhashimoto opened this issue May 14, 2021 · 0 comments
Closed

Can I use IndexedDbVFS in my application? #11

rhashimoto opened this issue May 14, 2021 · 0 comments
Labels
faq

Comments

@rhashimoto
Copy link
Owner

@rhashimoto rhashimoto commented May 14, 2021

Anyone is welcome to use wa-sqlite, including any of the sample classes like IDBBatchAtomicVFS, in their application provided they accept the terms of the GNU Public License. However, there are some additional important considerations I'll outline here.

The code under examples/ and demo/ is meant to be a starting point to see how to use and extend the library. They are not necessarily suitable for use in your production application.

There are now three sample VFS classes for IndexedDB: IDBMinimalVFS, IDBVersionedVFS, and IDBBatchAtomicVFS. They each have strengths and weaknesses. IDBBatchAtomicVFS balances performance and generality, and is now the featured IndexedDB VFS in the online demo and benchmarks. IDBMinimalVFS is the shortest and simplest, so it may be the best place to get started with understanding how they work.

@rhashimoto rhashimoto added the faq label May 14, 2021
@rhashimoto rhashimoto closed this May 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
faq
Projects
None yet
Development

No branches or pull requests

1 participant