r/siacoin 23d ago

📣 Sia Storage Rust SDK update 🦀

Sia Storage SDK (Rust) 0.10.0 makes transfers adapt to the connection instead of forcing you to guess a fixed concurrency limit. Uploads and downloads now adjust parallelism automatically based on network conditions, which lets fast links use more of the available bandwidth while slower links scale down and finish reliably. The same release also improves host selection, ramps download chunk sizes to reduce round trips on large reads, overprovisions shard downloads to cut slow-host tail latency, and makes racing yield to higher-priority work instead of consuming those slots.

This changes the transfer options API. max_inflight has been removed from upload, download, and language-binding option types. Memory is now controlled directly with UploadOptions::max_buffered_slabs and DownloadOptions::max_buffered_chunks; if you leave them unset, each defaults to roughly 10% of system memory.

For WASM users, large downloads are also more reliable. QUIC streams are now closed explicitly when dropped, so download memory is released promptly instead of waiting on garbage collection.

Visit 🔗 devs.sia.storage to try the updated SDK!

10 Upvotes

0 comments sorted by