You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A. A large file upload with minimal memory usage and in such a way that chunks of the file (>500 MB) is written directly to disk (and thus using minimal memory) The client sends the Transfer-Encoding: chunked header.
or
B. Receive a large POST body (containing a 150 MB JSON document) in such a way that each chunk is parsed and handled when received (let's say the chunk size is 1MB) and thus again using minimal memory. It is only the actual receiving of data and "chunking" I would like help with. I've got the JSON part covered (I think)
Can someone share some examples of achieving A and B please ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I receive either:
A. A large file upload with minimal memory usage and in such a way that chunks of the file (>500 MB) is written directly to disk (and thus using minimal memory) The client sends the Transfer-Encoding: chunked header.
or
B. Receive a large POST body (containing a 150 MB JSON document) in such a way that each chunk is parsed and handled when received (let's say the chunk size is 1MB) and thus again using minimal memory. It is only the actual receiving of data and "chunking" I would like help with. I've got the JSON part covered (I think)
Can someone share some examples of achieving A and B please ?
Beta Was this translation helpful? Give feedback.
All reactions