How do Flickr, Youtube and other high traffic websites handle file uploads?
ezmobius: Use this nginx module: http://www.grid.net.ru/nginx/upload.en.htmlIt is highly scalable and spools the uploads to disk and does the mime parsing in efficient nginx C code> then once it finishes it just passes some params to your backend processes with the location of the file on disk and you can process it however you want.