Hello!
On Mon, Jun 8, 2015 at 9:05 PM, yahel wrote:
> I was wondering, how do you handle large files uploads, when the requests
> body is written to temp file ?
While reading the data from the wire. Like read chunk A, write it
right away to disk; then read chunk B, write it to disk again, and so
on.
> do you inspect the file in a non-blocking manner ?
I don't understand this question. What do you mean by "inspecting the
file". Should you just flush data into the file?
BTW, there is no such thing as "nonblocking file I/O". File I/O is
always blocking. So be careful.
> if so, how it could be
> achieved ?
>
See above.
Regards,
-agentzh