This is an old question, but I was still worried about the same problem when downloading large files, thinking that the processes are blocked while the file is loading, but it turned out that if I understood correctly that nginx and possibly other servers also buffer the contents of the file when sending it, so the processing of rails are not blocked only when the download is complete, and the rails process it, for example, resizing images or something like that.
source share