i dont know if im doing something wrong or if it is too late right now and im not connecting right any more.
what i have is a tornado app that recieves a json post where it gets a downloadlink of an image or a video which gets processed by a function. what i noticed is that it seems to do the work in serial instead of parallel. which means that if a video takes 10min to encode nothing all other requests wait until this is done.
in prod production i start 4 tornado instances behind nginx but it behaves the same way as on my local machine.
the code is pretty simple:
def post(self):
data = simplejson.loads(self.request.body)
self.process_blob(data)
self.set_status(200)
maybe im doing something wrong.
thx
-Ben