You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples only demonstrate usage of cloudflare kv state store for b2. Wondering whether we could get benefitted with using worker KV state store or the default worker cache is sufficient?
The text was updated successfully, but these errors were encountered:
@tussle/storage-r2 requires a state provider to operate, but if an upload is absent from the attached state provider, the R2 storage adapter will reconstruct state from R2 on-demand (assuming the upload chunks are in the bucket) and write the rebuilt state back into the attached state service to accelerate subsequent read operations and minimize R2 API calls.
So with that in mind: using a transient in-memory state store with R2 means upload state and data are stored in a single point of truth (good!), and that point of truth has global strong consistency guarantees (also good!).
The examples only demonstrate usage of cloudflare kv state store for b2. Wondering whether we could get benefitted with using worker KV state store or the default worker cache is sufficient?
The text was updated successfully, but these errors were encountered: