Use LoonFS as your application filesystem

SYNOPSIS

Use LoonFS as the durable filesystem powering your application. Store, read, write, search, and revise files in isolated workspaces or agent sessions.

LoonFS is designed for production workloads across many tenants at any scale. Every namespace is isolated with its own files and history; data and metadata are stored in object storage.

FEATURES

Version controlledFiles are versioned by default. Namespace history can be replayed using the changefeed.
ForkableFork any namespace in constant time with copy-on-write.
Infinitely scalableHandle files up to 50TB. Serve thousands of reads per second per namespace. Scale horizontally across unlimited namespaces.
Developer first SDKs available for TypeScript, Python, Go, and more. Production-ready, built for engineers.

NAMESPACES

A namespace is a self-contained filesystem with its own contents, history, and commit sequence. Namespaces are isolated from each other and scale horizontally, without limit.

createCreate a durable filesystem for every tenant, project, or session.
forkCopy a filesystem instantly with no data duplication.
deleteRetire a filesystem and its history.

EXAMPLE

EXAMPLE.TS
// one namespace per tenantawait client.namespaces.create(  { namespace_id: `tenant-${tenant.id}` },  { headers: { "loonfs-actor": agent.id } },);// write a fileawait client.files.upload(  {    namespace_id: `tenant-${tenant.id}`,    path: "/reports/q3.md",    content: bytes,  },  { headers: { "loonfs-actor": agent.id } },);// follow every change in the tenant's filesystem, in orderconst feed = await client.changes.list({  namespace_id: `tenant-${tenant.id}`,  after_seq: cursor,});

DEPLOYMENT

HostedHosted on the Loon cloud. Filesystem data is securely stored in our infrastructure.
Hosted, BYOBThe same hosted service, but all content and metadata live in a bucket you control.
Self-hostedRun the server in your own VPC. Can be managed by the Loon team.

SEE ALSO