Thank you so much for uWSGI. I've been using it to serve a django
application and it's been working wonderfully. Now I'm looking at some of
the newer features... I've been looking at the example here
http://projects.unbit.it/uwsgi/wiki/Decorators#Example:aDjangosessioncleanerandvideoencoder
where
the spooler is used for encoding video.

In my application, I'll have a similar situation where I'll want to offload
a long running task, but my servers will be capable of doing many of these
tasks at once.

Using encode video example above, my server could handle encoding 8 videos
at the same time. I'm assuming from the documentation and from my testing
that that is not possible with the spooler. It looks like it's one process
that pulls items from the spool one at a time - is that right?

If that is the case, could I just run 8 mules and pass the work of encoding
the video to them? If that is so, then if I got 10 requests to encode
video, but had only 8 mules running, would the extra 2 be queued up until
there was a free mule?


Frank JANIA
I solve problems.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to