Orian (Orian v0.1.0)

Copy Markdown View Source

Fast object transfer and content-addressed storage — s5cmd / Skyplane class.

mix orian cp data/* s3://bucket/prefix/
mix orian sync s3://src/ s3://dst/
Orian.Transfer.cp("data/*", "s3://bucket/", numworkers: 64, concurrency: 8)

Workers for many objects (numworkers), multipart parts per object (concurrency). BLAKE3 is the content id; XXH3 is checksum-only.

{:ok, cid} = Orian.put(body)

Clustering stays Ingot / Dusk. HTTP/3 is Gale.

Summary

Functions

backends()

blake3(bin)

cp(src, dst, opts \\ [])

See Orian.Transfer.cp/3.

get(cid, opts \\ [])

See Orian.Store.get/2.

hash64(bin)

nif_loaded?()

put(data, opts \\ [])

See Orian.Store.put/2.

rust_loaded?()

sync(src, dst, opts \\ [])

See Orian.Transfer.sync/3.

verify(data, cid)

See Orian.Store.verify/2.

xxh3(bin)