Replies: 2 comments 1 reply
-
No, I would still say that for the same reasons. But note that the point of that entire message is that there doesn't appear to be a VFS approach that is optimal for all use cases, and so developers should pick, modify, or write a VFS that meets the needs of their application.
There currently aren't any known issues in OPFSCoopSyncVFS. It is an out-of-the-box sort of solution, and I don't know how well exercised it has been in the real world. I am keeping my eye on this PowerSync thread that might or might not indicate a VFS bug. UPDATE: This has been resolved and appears not to have been a problem with OPFSCoopSyncVFS. Finally, let me make sure you know this:
I have a decent record of finding and fixing bugs, but past performance is no guarantee of future results. 😀 |
Beta Was this translation helpful? Give feedback.
-
Ha! As the Berliners say: "hope is the last thing to die!" 😜
It is my sincere hope to have the presence of mind to recall that quote the next time it's relevant. |
Beta Was this translation helpful? Give feedback.
-
I note in #85 @rhashimoto says "If I were forced to choose only one VFS for all browser applications, I would first grumble a lot and then grudgingly choose IDBBatchAtomicVFS". However this was quite some time ago and so given the downsides (size, performance, limited browser compatibility) of the async wasm builds I wonder if this would now change?
The reason I'm asking is because I'm looking at migrating from the official sqlite wasm package over to this one. My website has quite a large install base using sqlite-wasm so the jspi build is out of the question, and the async build goes very slowly. So for me sync wasm and hence OPFSCoopSyncVFS seems a very good combination. In my testing:
So, I'm looking for reasons not to switch to using the sync + OPFSCoopSyncVFS version compared to other VFS or compared to the official sqlite-wasm build (eg worse browser compatibility, known corruption or other unreliability, ...)
Beta Was this translation helpful? Give feedback.
All reactions