Thankyou Yichun for the response. We are using lua-resty-upload and reading chunk by chunk from network and writing it to local disk. I'll post more detail in openresty fourm as you suggested.by snarapureddy - Nginx Mailing List - English
We are using nginx for file uploads instead of directing to the backend servrs. Used lua openresty module to get the data in chunks in write it to local disk. File size could vary from few KB's to 10MB. We are tuning worker process, connections, accept_mutex off etc, but if we cuncerrently upload files some of the connections were very slow. Chuck size is 4096. CPU utilization is very minimby snarapureddy - Nginx Mailing List - English