Skip to content
Console

Simul-Transfer: upload and download at the same time

Introduction

What is Simul-Transfer?

Built on Bitiful's unique streaming architecture, Simul-Transfer brings simultaneous transfer natively to object storage for the first time. Shared files become downloadable the instant the upload begins, and with the same bandwidth, you can cut transfer time by up to half.

How does it perform?

Simul-Transfer is rooted in Bitiful's unique streaming architecture, so it delivers:

  • No performance penalty: From the moment an upload starts, the file supports the same concurrency and throughput as a regular object[1].
  • No feature trade-offs: Full support for all Bitiful S4 features[2], such as hotlink protection, presigned URLs, and Range requests.

How does it work?

  • Traditional object storage does nothing while a file is being written. Only after the write completes does the metadata become aware of the file, and only then can it respond to download requests.
  • With Bitiful's next-generation object storage, the underlying streaming architecture makes the file visible globally from the very first uploaded byte, so users can start downloading within the first second of the upload.

🤔 Without Simul-Transfer: downloads can start only after the upload finishes

😊 With Simul-Transfer: downloads start as soon as the upload begins

How is it different from peer-to-peer (P2P) transfer?

Take the widely praised AirDrop as an example. It has a few fundamental drawbacks:

  1. The sender and receiver must both be online at the same time, successfully connect, and act simultaneously for the transfer to succeed.
  2. All receivers compete for the sender's upload bandwidth, so the more receivers there are, the slower each download gets.
  3. It's demanding on the network: as many longtime Apple users know, AirDrop often fails.

How to try it

Option 1: Try the open-source whiteboard demo

Multi-user collaboration

Live demo: https://tldraw-bitiful-demo.ladydaily.com/
GitHub: https://github.com/bitiful/tldraw-for-s4

Option 2: Sign up for Bitiful

How to use it

The uploader needs no special setup. Upload with a regular PutObject. The downloader adds the no-wait parameter to the file URL:

https://my-bucket.s3.bitiful.net/video.mp4?no-wait=10
no-waitinteger (seconds)

The maximum number of seconds to wait if the upload hasn't started yet. Valid values are 0 ~ 10. If the upload starts during the wait, the content is returned immediately. If it still hasn't started when the wait times out, S4 returns 404. 0 means don't wait. An invalid value (for example, the on in a link copied from the console) is treated as 5 seconds.

ScenarioWhat to do
Public fileAdd ?no-wait=10 directly to the URL
Private fileSign no-wait together with the other parameters when you generate the presigned URL. You can't append it after signing
Console uploadIn the Task list (任务列表), hover over the link icon on the right of a task and choose Copy public URL (复制公开URL) or Copy signed URL (复制签名URL)

Limits:

  • It works only for single uploads (PutObject, up to 20 GiB) and doesn't support multipart uploads. Console uploads of files 10 GiB or larger are automatically split into parts, so they can't use it.
  • It works only for objects that don't exist yet. When you overwrite an existing object, requests still return the old content until the upload completes.

Notes

[1]: Simultaneous download speed: once download progress catches up with upload progress, the speed of each download thread cannot exceed the upload speed.

[2]: Due to limitations of the S3 protocol, Multipart Uploads are not currently supported.