jadmadi.net
A technical article on the design and development of fs-relay, a tool for mounting remote folders over HTTP.
What does it do?
The article examines how fs-relay mounts remote folders using a Linux FUSE client, HTTP, and WebSocket. It describes a design that uses the kernel’s zero-copy transfer path for large files and batches sequential writes into transfers of up to 1MiB. It also presents server-side locking needed for SQLite across multiple mounts and the results of concurrent-write checks. It compares benchmarks for extracting small and large files with other remote mounting methods and records improvements through v0.2.0.
Key features
- Explain fs-relay’s remote mounting design using a Linux FUSE client, HTTP, and WebSocket
- Explain the use of a kernel zero-copy transfer path for large files
- Explain how sequential writes are batched into transfers of up to 1MiB
- Present server-side POSIX locking for SQLite across multiple mounts and its validation results
- Compare small- and large-file extraction performance with s3fs and fuse-nfs