--
You received this message because you are subscribed to the Google Groups "gevent: coroutine-based Python network library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gevent+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Well You can create separate MySQL / Redis gevent worker(s) which are always running and only wait / send / recieve from a shared queue and have all gevent proceses write to the queues. There would be a redis queue and a MySQL queue in your case.
Then you have very fine grained control of the amount of connections you use.
Something to put you on the right path:
gist.github.com/mike820324/8683398
Cheers
Stephan.