[pylons-discuss] Re: Global variables when using gunicorn

2014-09-06 Thread Mathieu Drapeau
(worker class is gevent) -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylo

[pylons-discuss] Re: Global variables when using gunicorn

2014-09-09 Thread Mathieu Drapeau
Looking at the gunicorn code it seems that each workers is forked unfortunately even if you specify gevent as worker class. So nothing could be done in a simple manner, need to use a pile of external solutions (redis queue, zmq interprocess communication, Listener, etc) even for a simple shared

[pylons-discuss] Re: Global variables when using gunicorn

2014-09-09 Thread Jonathan Vanasco
Try searching "shared memory gunicorn" While gunicorn doesn't support shared memory, there are a lot of "workarounds" on various lists and stack overflow to solve your exact need. Most of them seem indexed under the "shared memory" concept. -- You received this message because you are subscri