|Sep 9, 2020
|Jul 14, 2020
|Jun 4, 2020
|May 5, 2020
|Apr 27, 2020
#1360 in WebAssembly
50 downloads per month
File System Provider
The waSCC File System provider is a capability provider for the
wascap:blobstore protocol. This generic protocol can be used to support capability providers like Amazon S3, Azure blob storage, Google blob storage, and more. This crate is an implementation of the protocol that operates on top of a designated root directory and can be used interchangeably with the larger cloud blob providers.
For this provider, the concept of a
container is a directory beneath the root (specified via the
ROOT configuration variable), while a
blob corresponds to a file stored within one of the containers.
Because of the way WebAssembly and the waSCC host work, all
wascap:blobstore capability providers must stream files to and from the actor. This allows actors to unblock long enough to allow other messages from other providers to be processed and keeps the WebAssembly module from allocating too much memory.