django - Return a http response before actual function is completed -


i have form on site uploads file. upload file amazon s3 before sending response user. there way in django send "success" response user after file saved on local server, before i start saving s3?

you should use distributed task queue.

since using aws already, might want consider alternative: amazon sqs.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -