Tweet by benallfree
May 4, 2025
Now that I've got a SQLite persistent storage POC for @Cloudflare DO and containers, I took a nap and woke up realizing that I can do an even better POC in userland code. I suggested earlier that DO should have a Filesystem API. I can build it without needing any special access to CF systems. Here's the plan today: * Create a package called `dofs`, the persistent filesystem storage API extension for Durable Objects. * `dofs` has two parts: (a) `ctx .storage . fs`, and (b) a REST or WebSocket API into the same. The API will be FUSE-like so it's easy to map FUSE client calls to the API. * Build a new dofs provider in the existing Rust code to make a dofs FUSE client. The client connects to the dofs endpoint (probably https with a secret key or something) and mounts the FUSE volume ready set go!
- Author
- benallfree
- Date
- May 4, 2025
- Canonical URL
- /tweets/benallfree-1919160296255684783-8fb6f3