Вопрос

I want to have my webservice accept large file transfers from customers. To do this, I am planning to use nginx over tornado to take care of limited memory at the server side during file upload. Is this a good plan? Or should I use some other framework/protocol to transfer large file from a user to my server.

Это было полезно?

Решение

Tornado needs some work before it can stream very large uploads, see issue 231. I'd suggest Nginx's HttpUpload module: Nginx uploads user files into server-side temp files, then notifies your application so you can decide what to do with the file.

Другие советы

F*EX needs only a few MBs of memory on server side, see: https:/fex.rus.uni-stuttgart.de

You can install it on any UNIX platform and your users just need a webbrowser.

With F*EX you can send/receive files of ANY size.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top