> On 8 Dec 2020, at 3:26 pm, Graham Dumpleton <[email protected]> 
> wrote:
> 
> So if you can change to Celery in the short term, switch to daemon mode 
> instead.

Meant to say "if you can't change" here.

The other to consider when using daemon mode is split out the image processing 
to a separate set of daemon mode processes.

This is discussed in:

    http://blog.dscpl.com.au/2014/02/vertically-partitioning-python-web.html 
<http://blog.dscpl.com.au/2014/02/vertically-partitioning-python-web.html>

In your case you want to send all image processing into a daemon process group 
where have multiple processes and each is single threaded. You can handle 
everything else the application does in a normal multithreaded process.

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/640A7151-E7C5-48EA-BE97-4F184DDFF54A%40gmail.com.

Reply via email to