Chunked Data Streaming

Large File Transfer Without Cloud Caps

Direct device-to-device streaming eliminates server upload limits. Understand how large file transfers operate within real-world browser environments.

Why Cloud Services Restrict Large Files

Traditional file sharing and cloud storage platforms enforce strict file size caps (such as 2 GB for free accounts, or 25 MB for email attachments) because every gigabyte uploaded consumes costly server disk storage and cloud bandwidth.

Because ShareOnline does not store your files on centralized servers, no application-level file-size limit is imposed by ShareOnline. However, real-world transfers are governed by browser memory and network performance.

How ShareOnline Streams Large Files

To transfer large datasets, videos, and archives smoothly, ShareOnline implements chunked streaming:

  • 32 KB Binary Chunks: The sender browser slices the file into 32 KB segments, aligning with the optimal Maximum Transmission Unit (MTU) for SCTP DataChannels.
  • Backpressure Flow Control: The sender monitors the browser DataChannel buffer threshold to avoid packet flooding or buffer overruns during high-speed transmission.
  • Direct Memory Pipeline: Transferred chunks flow directly across the peer connection rather than waiting for an entire server-side upload.

Real-World Practical Considerations

When transferring large files (such as 1 GB to 5 GB+), consider these technical factors:

  • Browser Memory Limits: The receiving browser accumulates file chunks in memory before creating the final download Blob. On mobile devices with strict RAM constraints (such as mobile Safari or low-memory Android phones), files exceeding 1–2 GB may encounter browser tab memory ceilings.
  • Connection Stability: Both devices must stay awake and connected for the entire duration of the transfer. If a laptop goes to sleep or a phone screen turns off, the WebRTC session may disconnect.
  • Network Throughput: Transfer speed depends on the weakest link between both devices. When both devices share the same local Wi-Fi, transfers achieve high local network throughput. Across the internet, transfers depend on the sender's upstream bandwidth.

Tips for Transferring Very Large Files

  1. Keep browser tabs open and active on both devices until the progress bar reaches 100%.
  2. Disable aggressive sleep or screen-lock timers on mobile devices during large transfers.
  3. Connect both devices to the same high-speed Wi-Fi network when possible for maximum throughput.