Page MenuHomePhabricator

Split Files 1MB+ for Transfers via Websockets
Closed, ResolvedPublic


Transfers of files via Internet using should not exceed 1-10 MB for performance reasons. Therefore split files bigger than 1MB into blocks of max size 1MB.

Event Timeline

reicht created this task.
reicht created this object with visibility "Public (No Login Required)".

There are two approaches:

  1. Encrypt file and split it into blocks of max size 1MB
  2. Split file into blocks of max size 1MB and then encrypt each block

When dealing with big files, approach 1 can cause out-of-memory issues when dealing with big files. Approach 2 is recommended.

see T26308: Encrypt tranfers