I have the nginx upload module handling site uploads, but still need to transfer files (3-20 MB each, let's say) to our CDN, and would rather not delegate that to a background job. what is the best way to do this with Tornado without blocking other requests? Can I do this in an async callback?

link|improve this question

57% accept rate
feedback

1 Answer

Another name for "async callbacks" are background jobs. You've already got the right way to do it, why would you want suggestions on how to do it the wrong way?

link|improve this answer
what do you mean by "background jobs"? i'd rather not have a task queue process this -- if its sane (which is what im asking) i'd prefer do it in the view, possibly using tornado's async callback method, as exemplified in the documentation here: tornadoweb.org/documentation#non-blocking-asynchronous-requests – matt Dec 23 '09 at 1:48
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.