dexie / Dexie.js

A Minimalistic Wrapper for IndexedDB
https://dexie.org
Apache License 2.0
11.51k stars 642 forks source link

Optimized Blob Storage in Dexie Cloud #1925

Open dfahlander opened 6 months ago

dfahlander commented 6 months ago

Dexie cloud already supports Blobs, ArrayBuffers and other exotic types, but it does it by encapsulating them into a JSON format for both transport and storage.

To optimize for large blobs we will store blobs and possibly non-indexed large strings or arraybuffers in azure blob storage instead of postgres rows.

This will allow for cheaper and more performant storing and syncing of images, music and videos.

When this is implemented, the user does not need to change anything except upgrading dexie-cloud-addon to take advantage of it.

dfahlander commented 6 months ago

Oops there was already a dup of this #1860. It has some more details...